.bm-popup-overlay {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    background-color: rgb(0 0 0 / .6);
    backdrop-filter: blur(8px);
    animation: bmPopupFadeIn 0.2s ease-in
}

@keyframes bmPopupFadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.bm-popup-container {
    position: relative;
    width: 100%;
    max-width: 1100px;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 25px 50px -12px rgb(0 0 0 / .25);
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

.bm-popup-container * {
    font-family: inherit;
}

.bm-popup-close {
    position: absolute;
    right: 1rem;
    top: 1rem;
    z-index: 10001;
    border-radius: 9999px;
    background: rgb(0 0 0 / .1);
    padding: .5rem;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center
}

.bm-popup-close:hover {
    background: rgb(0 0 0 / .2)
}

.bm-popup-grid {
    display: grid;
    grid-template-columns: 1fr;
    flex: 1;
    overflow-y: auto;

    &::-webkit-scrollbar {
        display: none
    }

    -ms-overflow-style:none;
    scrollbar-width:none
}

@media (min-width:1024px) {
    .bm-popup-grid {
        grid-template-columns: 1fr 1fr;
        overflow-y: hidden
    }
}

.bm-popup-testimonials-side {
    display: none;
    position: relative;
    overflow: hidden;
    padding: 1.25rem;
    background: linear-gradient(135deg, #b1c900 0%, #258c49 100%);
    color: #fff
}

@media (min-width:1024px) {
    .bm-popup-testimonials-side {
        display: block;
        padding: 2rem
    }
}

.bm-popup-testimonials-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between
}

.bm-popup-testimonials-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2
}

.bm-popup-testimonials-header p {
    margin-top: .75rem;
    font-size: .875rem;
    color: rgb(255 255 255 / .9)
}

.bm-popup-slider-section {
    margin-top: 1.5rem;
    position: relative
}

.bm-popup-slider-viewport {
    overflow: hidden;
    border-radius: 1rem;
    background: rgb(255 255 255 / .1)
}

.bm-popup-slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out
}

.bm-popup-slider-item {
    flex-shrink: 0;
    padding: 1.5rem
}

.bm-popup-testimonial-card {
    background: #fff;
    border-radius: .5rem;
    padding: 1rem;
    color: #1f2937;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1)
}

.bm-popup-testimonial-text {
    font-size: .875rem;
    line-height: 1.6
}

.bm-popup-testimonial-author {
    margin-top: 1rem;
    font-size: .875rem;
    font-weight: 600
}

.bm-popup-slider-controls {
    position: absolute;
    inset: 0;
    pointer-events: none
}

.bm-popup-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: auto;
    background: rgb(255 255 255 / .9);
    border: none;
    border-radius: 9999px;
    padding: .5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / .1);
    cursor: pointer;
    transition: background 0.3s
}

.bm-popup-slider-btn:hover {
    background: #fff
}

.bm-popup-slider-btn-prev {
    left: 1rem
}

.bm-popup-slider-btn-next {
    right: 1rem
}

.bm-popup-slider-dots {
    display: flex;
    align-items: center;
    gap: .5rem;
    justify-content: center;
    margin-top: .5rem
}

.bm-popup-slider-dot {
    width: .625rem;
    height: .625rem;
    border-radius: 9999px;
    background: rgb(255 255 255 / .4);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s
}

.bm-popup-slider-dot.active {
    background: #fff
}

.bm-popup-logos-section {
    margin-top: 1rem
}

@media (max-width:767px) {
    .bm-popup-logos-section {
        display: none
    }
}

.bm-popup-logos-label {
    font-size: .75rem;
    color: rgb(255 255 255 / .8);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem
}

.bm-popup-logos-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap
}

.bm-popup-logo-img {
    height: 1.5rem;
    max-width: 80px;
    opacity: .9;
    object-fit: contain;
    filter: brightness(0) invert(1)
}

.bm-popup-form-side {
    padding: 1.5rem;
    background: #fff;
    position: relative
}

@media (min-width:1024px) {
    .bm-popup-form-side {
        padding: 2.5rem;
        overflow-y: auto;
        max-height: calc(95vh);

        &::-webkit-scrollbar {
            display: none
        }

        -ms-overflow-style:none;
        scrollbar-width:none
    }
}

@media (max-width:768px) {
    .bm-popup-form-side {
        padding: 1.25rem;
        padding-top: 2.5rem
    }

    .bm-popup-container {
        max-height: 90vh;
        width: 95%
    }
}

.bm-popup-form-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: .25rem;
    color: #111827
}

@media (max-width:640px) {
    .bm-popup-form-header h3 {
        font-size: 1.125rem
    }
}

.bm-popup-form-header p {
    font-size: .8125rem;
    color: #6b7280;
    margin-bottom: 1rem
}

.bm-popup-form-group {
    margin-bottom: .75rem
}

.bm-popup-form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem
}

@media (min-width:640px) {
    .bm-popup-form-row {
        grid-template-columns: 1fr 1fr
    }
}

.bm-popup-form-side label {
    display: block;
    font-size: .8125rem;
    font-weight: 500;
    margin-bottom: .25rem;
    color: #374151
}

.bm-popup-form-side input,
.bm-popup-form-side textarea,
.bm-popup-form-side select {
    width: 100%;
    padding: .5rem .75rem;
    border: 1px solid #d1d5db;
    border-radius: .375rem;
    font-size: .875rem;
    transition: border-color 0.15s, box-shadow 0.15s
}

@media (max-width:640px) {

    .bm-popup-form-side input,
    .bm-popup-form-side textarea,
    .bm-popup-form-side select {
        padding: .4rem .6rem;
        font-size: .8125rem
    }
}

.bm-popup-form-side input:focus,
.bm-popup-form-side textarea:focus,
.bm-popup-form-side select:focus {
    outline: none;
    border-color: #b1c900;
    box-shadow: 0 0 0 3px rgb(177 201 0 / .1)
}

.bm-popup-form-side textarea {
    min-height: 80px;
    resize: vertical
}

@media (max-width:768px) {
    .bm-popup-form-side textarea {
        min-height: 60px
    }
}

.bm-popup-phone-group {
    display: flex;
    gap: .5rem
}

.bm-popup-form-side .bm-popup-country-code-select {
    width: 110px;
    flex-shrink: 0
}

.bm-popup-phone-input {
    flex: 1
}

.bm-popup-helper-text {
    font-size: .7rem;
    color: #6b7280;
    margin-top: .2rem
}

.bm-popup-nda-text {
    font-size: .7rem;
    color: #6b7280;
    margin-bottom: 1rem
}

.bm-popup-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #b1c900 0%, #258c49 100%);
    color: #fff;
    padding: .75rem 1.25rem;
    border: none;
    border-radius: .375rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    transition: opacity 0.3s
}

@media (max-width:640px) {
    .bm-popup-submit-btn {
        padding: .6rem 1.25rem;
        font-size: .9375rem
    }
}

.bm-popup-submit-btn:hover:not(:disabled) {
    opacity: .95
}

.bm-popup-submit-btn:disabled {
    opacity: .7;
    cursor: not-allowed
}

.bm-popup-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, .5);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bm-popup-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: .5rem
}

@keyframes bm-popup-spin {
    to {
        transform: rotate(360deg)
    }
}

.bm-popup-spinner {
    animation: bmPopupSpin 1s linear infinite;
    width: 1rem;
    height: 1rem
}

@keyframes bmPopupSpin {
    from {
        transform: rotate(0deg)
    }

    to {
        transform: rotate(360deg)
    }
}

.bm-popup-icon-close::before {
    content: "✕"
}

.bm-popup-icon-arrow-left::before {
    content: "←"
}

.bm-popup-icon-arrow-right::before {
    content: "→"
}

.bm-popup-icon-send::before {
    content: "➤"
}

.bm-popup-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #ef4444;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: .5rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / .1);
    z-index: 10005;
    animation: bmPopupSlideIn 0.3s ease-out
}

@media (max-width:640px) {
    .bm-popup-toast {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        text-align: center
    }
}

.bm-popup-toast.success {
    background: #b1c900
}

@keyframes bmPopupSlideIn {
    from {
        transform: translateX(100%);
        opacity: 0
    }

    to {
        transform: translateX(0);
        opacity: 1
    }
}