/* =========================================================
   ANU TECH SOFT - LEAD GENERATION POPUP
   Master Popup CSS
   Scoped to #atsLeadPopup
========================================================= */

:root {
    --ats-blue: #162072;
    --ats-blue-dark: #0c154f;
    --ats-blue-light: #20358f;
    --ats-yellow: #ffca00;

    --ats-text: #162072;
    --ats-dark: #17213f;
    --ats-muted: #71809d;
    --ats-border: #dce2ee;
    --ats-bg: #f7f9fc;

    --ats-danger: #df4444;
    --ats-success: #16845b;

    --ats-radius: 8px;
    --ats-popup-radius: 20px;
}


/* =========================================================
   GLOBAL POPUP ISOLATION
========================================================= */

#atsLeadPopup,
#atsLeadPopup *,
#atsLeadPopup *::before,
#atsLeadPopup *::after {
    box-sizing: border-box;
}

#atsLeadPopup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    isolation: isolate;

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    line-height: 1.4;
}

#atsLeadPopup button,
#atsLeadPopup input,
#atsLeadPopup select,
#atsLeadPopup textarea {
    font-family: inherit;
}

#atsLeadPopup svg {
    max-width: none !important;
    max-height: none !important;
}


/* =========================================================
   OVERLAY
========================================================= */

#atsLeadPopup.ats-popup {
    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;
}

#atsLeadPopup.ats-popup.is-visible {
    display: flex;
}

#atsLeadPopup .ats-popup-overlay {
    position: absolute;
    inset: 0;

    background: rgba(4, 10, 34, 0.78);

    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}


/* =========================================================
   MODAL
========================================================= */

#atsLeadPopup .ats-popup-modal {
    position: relative;
    z-index: 2;

    width: min(900px, calc(100vw - 30px));
    max-height: 92vh;

    display: grid;
    grid-template-columns: 41% 59%;

    overflow: hidden;

    border-radius: var(--ats-popup-radius);

    background: #fff;

    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.28);

    animation: atsPopupIn 0.35s ease both;
}

@keyframes atsPopupIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}


/* =========================================================
   CLOSE BUTTON
========================================================= */

#atsLeadPopup .ats-popup-close {
    position: absolute;
    z-index: 30;

    top: 16px;
    right: 16px;

    width: 38px;
    min-width: 38px;
    max-width: 38px;

    height: 38px;
    min-height: 38px;
    max-height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 !important;

    border: 0;
    border-radius: 50%;

    background: rgba(255, 255, 255, 0.95);

    color: var(--ats-blue);

    font-size: 27px;
    font-weight: 400;
    line-height: 1;

    cursor: pointer;

    box-shadow:
        0 8px 25px rgba(0, 0, 0, 0.12);

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#atsLeadPopup .ats-popup-close:hover {
    transform: rotate(90deg);
    background: #fff;
}

#atsLeadPopup .ats-popup-close:focus-visible {
    outline: 3px solid rgba(255, 202, 0, 0.5);
    outline-offset: 2px;
}


/* =========================================================
   LEFT PANEL
========================================================= */

#atsLeadPopup .ats-popup-left {
    position: relative;

    min-width: 0;

    overflow: hidden;

    padding: 32px 34px 24px;

    background:
        radial-gradient(
            circle at 10% 90%,
            rgba(255, 202, 0, 0.10),
            transparent 35%
        ),
        linear-gradient(
            145deg,
            #10195d 0%,
            #162072 52%,
            #20358f 100%
        );

    color: #fff;

    display: flex;
    flex-direction: column;
}


/* Decorative circles */

#atsLeadPopup .ats-popup-left::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -160px;
    bottom: -150px;

    border-radius: 50%;

    background:
        rgba(255, 202, 0, 0.10);

    pointer-events: none;
}

#atsLeadPopup .ats-popup-left::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    left: -150px;
    top: 180px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.035);

    pointer-events: none;
}


/* =========================================================
   BRAND
========================================================= */

#atsLeadPopup .ats-popup-brand {
    position: relative;
    z-index: 2;

    margin-bottom: 30px;
}

#atsLeadPopup .ats-popup-brand img {
    display: block !important;

    width: 185px !important;
    max-width: 185px !important;

    height: auto !important;
}


/* =========================================================
   LEFT CONTENT
========================================================= */

#atsLeadPopup .ats-popup-left-content {
    position: relative;
    z-index: 2;
}

#atsLeadPopup .ats-popup-eyebrow {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--ats-yellow);

    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
    line-height: 1.2;
}

#atsLeadPopup .ats-popup-left h2 {
    max-width: 330px !important;

    margin: 0;

    color: #fff;

    font-size: clamp(31px, 3vw, 43px);
    font-weight: 800;
    line-height: 1.05;

    letter-spacing: -1.5px;
}

#atsLeadPopup .ats-popup-left h2 span {
    color: var(--ats-yellow);
}

#atsLeadPopup .ats-popup-left-content > p {
    max-width: 330px !important;

    margin: 16px 0 22px;

    color: rgba(255, 255, 255, 0.76);

    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   SERVICES
========================================================= */

#atsLeadPopup .ats-popup-services {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap: 10px 14px;

    width: 100%;
}

#atsLeadPopup .ats-service {
    min-width: 0;

    display: flex;
    align-items: center;

    gap: 9px;

    color: rgba(255, 255, 255, 0.92);

    font-size: 11px;
    font-weight: 600;

    line-height: 1.3;
}

#atsLeadPopup .ats-service-icon {
    flex: 0 0 30px;

    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.10);
}

#atsLeadPopup .ats-service-icon svg {
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;

    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;

    display: block !important;

    fill: none !important;

    stroke: var(--ats-yellow) !important;
    stroke-width: 1.7 !important;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   TRUST / STATS
========================================================= */

#atsLeadPopup .ats-popup-trust {
    position: relative;
    z-index: 2;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    margin-top: auto;
    padding-top: 22px;
}

#atsLeadPopup .ats-popup-trust div {
    min-width: 0;

    text-align: center;

    border-right:
        1px solid rgba(255, 255, 255, 0.13);
}

#atsLeadPopup .ats-popup-trust div:last-child {
    border-right: 0;
}

#atsLeadPopup .ats-popup-trust strong {
    display: block;

    color: var(--ats-yellow);

    font-size: 21px;
    font-weight: 800;
    line-height: 1;
}

#atsLeadPopup .ats-popup-trust span {
    display: block;

    margin-top: 5px;

    color:
        rgba(255, 255, 255, 0.62);

    font-size: 9px;
    line-height: 1.3;
}


/* =========================================================
   SOCIAL ICONS
   HEARTBEAT ANIMATION
========================================================= */

#atsLeadPopup .ats-socials {
    position: relative;
    z-index: 3;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 18px;
}

#atsLeadPopup .ats-social {
    width: 31px !important;
    min-width: 31px !important;
    max-width: 31px !important;

    height: 31px !important;
    min-height: 31px !important;
    max-height: 31px !important;

    display: flex !important;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(255, 255, 255, 0.20);

    border-radius: 50%;

    color: #fff;

    transform-origin: center;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

#atsLeadPopup .ats-social svg {
    width: 15px !important;
    min-width: 15px !important;
    max-width: 15px !important;

    height: 15px !important;
    min-height: 15px !important;
    max-height: 15px !important;

    display: block !important;

    fill: none !important;

    stroke: currentColor !important;
    stroke-width: 1.7 !important;

    stroke-linecap: round;
    stroke-linejoin: round;
}

#atsLeadPopup .ats-social.facebook svg {
    fill: currentColor !important;
    stroke: none !important;
}


/* Heartbeat */

#atsLeadPopup .ats-social.instagram {
    animation:
        atsSocialHeartbeat
        2.2s
        ease-in-out
        infinite;
}

#atsLeadPopup .ats-social.facebook {
    animation:
        atsSocialHeartbeat
        2.2s
        ease-in-out
        0.15s
        infinite;
}

#atsLeadPopup .ats-social.linkedin {
    animation:
        atsSocialHeartbeat
        2.2s
        ease-in-out
        0.30s
        infinite;
}

#atsLeadPopup .ats-social.xsocial {
    animation:
        atsSocialHeartbeat
        2.2s
        ease-in-out
        0.45s
        infinite;
}

@keyframes atsSocialHeartbeat {

    0%,
    35%,
    100% {
        transform: scale(1);
    }

    10% {
        transform: scale(1.08);
    }

    20% {
        transform: scale(0.98);
    }

    25% {
        transform: scale(1.06);
    }
}

#atsLeadPopup .ats-social:hover {
    animation-play-state: paused !important;

    transform:
        translateY(-3px)
        scale(1.08);

    background:
        rgba(255, 255, 255, 0.13);

    border-color:
        rgba(255, 255, 255, 0.55);
}


/* =========================================================
   RIGHT PANEL
========================================================= */

#atsLeadPopup .ats-popup-right {
    position: relative;

    min-width: 0;

    overflow-y: auto;

    padding: 34px 42px 28px;

    background: #fff;

    scrollbar-width: thin;
    scrollbar-color:
        rgba(22, 32, 114, 0.25)
        transparent;
}

#atsLeadPopup .ats-popup-right::-webkit-scrollbar {
    width: 5px;
}

#atsLeadPopup .ats-popup-right::-webkit-scrollbar-track {
    background: transparent;
}

#atsLeadPopup .ats-popup-right::-webkit-scrollbar-thumb {
    background:
        rgba(22, 32, 114, 0.25);

    border-radius: 10px;
}


/* =========================================================
   FORM HEADER
========================================================= */

#atsLeadPopup .ats-form-tag {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--ats-blue);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.7px;
    line-height: 1.2;
}

#atsLeadPopup .ats-form-header h3 {
    margin: 0;

    color: var(--ats-text);

    font-size: 29px;
    font-weight: 800;

    line-height: 1.15;

    letter-spacing: -0.8px;
}

#atsLeadPopup .ats-form-header p {
    margin: 8px 0 21px;

    color: var(--ats-muted);

    font-size: 12px;
    line-height: 1.5;
}


/* =========================================================
   FORM FIELD
========================================================= */

#atsLeadPopup .ats-field {
    margin-bottom: 13px;
}

#atsLeadPopup .ats-field label {
    display: flex;
    align-items: center;

    gap: 5px;

    margin-bottom: 6px;

    color: var(--ats-text);

    font-size: 11px;
    font-weight: 700;

    line-height: 1.3;
}

#atsLeadPopup .ats-field label span {
    color: var(--ats-danger);
}

#atsLeadPopup .ats-field label small {
    color: #9aa4b7;

    font-size: 10px;
    font-weight: 500;
}


/* =========================================================
   INPUT WRAPPER
========================================================= */

#atsLeadPopup .ats-input-wrap {
    position: relative;

    width: 100%;
}

#atsLeadPopup .ats-input-wrap > svg {
    position: absolute;

    left: 13px;
    top: 50%;

    width: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;

    height: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;

    transform:
        translateY(-50%);

    display: block !important;

    fill: none !important;

    stroke: #8490a8 !important;
    stroke-width: 1.6 !important;

    stroke-linecap: round;
    stroke-linejoin: round;

    pointer-events: none;
}


/* =========================================================
   INPUTS / SELECTS
========================================================= */

#atsLeadPopup .ats-input-wrap input,
#atsLeadPopup .ats-input-wrap select,
#atsLeadPopup .ats-mobile-row select {
    width: 100% !important;
    max-width: 100% !important;

    height: 45px !important;
    min-height: 45px !important;

    border:
        1px solid var(--ats-border);

    border-radius: var(--ats-radius);

    background: #fff;

    color: #1d2b57;

    font-family: inherit;

    font-size: 12px !important;
    font-weight: 500;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

#atsLeadPopup .ats-input-wrap input {
    padding:
        0 13px 0 39px;
}

#atsLeadPopup .ats-input-wrap select {
    appearance: none;
    -webkit-appearance: none;

    padding:
        0 34px 0 39px;

    cursor: pointer;
}

#atsLeadPopup .ats-input-wrap input::placeholder {
    color: #a4aec0;
}

#atsLeadPopup .ats-input-wrap input:hover,
#atsLeadPopup .ats-input-wrap select:hover {
    border-color:
        #c5cddd;
}

#atsLeadPopup .ats-input-wrap input:focus,
#atsLeadPopup .ats-input-wrap select:focus,
#atsLeadPopup .ats-mobile-row select:focus {
    border-color:
        var(--ats-blue);

    box-shadow:
        0 0 0 3px
        rgba(22, 32, 114, 0.07);

    background: #fff;
}

#atsLeadPopup .ats-input-wrap input:disabled,
#atsLeadPopup .ats-input-wrap select:disabled {
    background: #f4f6fa;
    cursor: not-allowed;
}


/* =========================================================
   TEXTAREA
========================================================= */

#atsLeadPopup textarea {
    width: 100% !important;
    max-width: 100% !important;

    min-height: 90px;

    padding:
        12px 13px;

    border:
        1px solid var(--ats-border);

    border-radius: var(--ats-radius);

    background: #fff;

    color: #1d2b57;

    font-family: inherit;
    font-size: 12px;

    line-height: 1.5;

    outline: none;

    resize: vertical;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

#atsLeadPopup textarea::placeholder {
    color: #a4aec0;
}

#atsLeadPopup textarea:focus {
    border-color:
        var(--ats-blue);

    box-shadow:
        0 0 0 3px
        rgba(22, 32, 114, 0.07);
}


/* =========================================================
   MOBILE NUMBER ROW
========================================================= */

#atsLeadPopup .ats-mobile-row {
    width: 100%;

    display: grid !important;

    grid-template-columns:
        110px
        minmax(0, 1fr) !important;

    gap: 8px !important;
}

#atsLeadPopup .ats-mobile-row select {
    padding:
        0 7px;

    cursor: pointer;
}


/* =========================================================
   SELECT ARROW
========================================================= */

#atsLeadPopup .ats-input-wrap:has(select)::after {
    content: "";

    position: absolute;

    right: 14px;
    top: 50%;

    width: 7px;
    height: 7px;

    border-right:
        1.5px solid #7f8ba2;

    border-bottom:
        1.5px solid #7f8ba2;

    transform:
        translateY(-65%)
        rotate(45deg);

    pointer-events: none;
}


/* =========================================================
   BUTTON
========================================================= */

#atsLeadPopup .ats-popup-submit {
    width: 100% !important;
    max-width: 100% !important;

    height: 48px !important;
    min-height: 48px !important;

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    margin-top: 6px;

    padding:
        0 16px !important;

    border: 0;

    border-radius: var(--ats-radius);

    background:
        var(--ats-blue);

    color: #fff;

    font-family: inherit;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px
        rgba(22, 32, 114, 0.16);

    transition:
        transform 0.2s ease,
        background 0.2s ease,
        box-shadow 0.2s ease,
        opacity 0.2s ease;
}

#atsLeadPopup .ats-popup-submit:hover {
    transform:
        translateY(-1px);

    background:
        #101963;

    box-shadow:
        0 12px 26px
        rgba(22, 32, 114, 0.23);
}

#atsLeadPopup .ats-popup-submit:active {
    transform:
        translateY(0);
}

#atsLeadPopup .ats-popup-submit:focus-visible {
    outline:
        3px solid
        rgba(255, 202, 0, 0.55);

    outline-offset: 3px;
}

#atsLeadPopup .ats-popup-submit:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}


/* =========================================================
   SUBMIT ARROW
========================================================= */

#atsLeadPopup .ats-submit-arrow {
    font-size: 20px;
    line-height: 1;

    transition:
        transform 0.2s ease;
}

#atsLeadPopup .ats-popup-submit:hover
.ats-submit-arrow {
    transform:
        translateX(4px);
}


/* =========================================================
   LOADING STATE
========================================================= */

#atsLeadPopup .ats-popup-submit.is-loading {
    pointer-events: none;

    opacity: 0.82;
}

#atsLeadPopup .ats-popup-submit.is-loading
.ats-submit-text,
#atsLeadPopup .ats-popup-submit.is-loading
.ats-submit-arrow {
    display: none;
}

#atsLeadPopup .ats-submit-loader {
    display: none;

    width: 17px;
    height: 17px;

    border:
        2px solid
        rgba(255, 255, 255, 0.35);

    border-top-color:
        #fff;

    border-radius: 50%;

    animation:
        atsSpin
        0.7s
        linear
        infinite;
}

#atsLeadPopup .ats-popup-submit.is-loading
.ats-submit-loader {
    display: block;
}

@keyframes atsSpin {
    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   SECURITY MESSAGE
========================================================= */

#atsLeadPopup .ats-security {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 5px;

    margin-top: 9px;

    color: #99a3b7;

    font-size: 9px;
    line-height: 1.3;
}

#atsLeadPopup .ats-security svg {
    width: 12px !important;
    min-width: 12px !important;
    max-width: 12px !important;

    height: 12px !important;
    min-height: 12px !important;
    max-height: 12px !important;

    display: block !important;

    fill: none !important;

    stroke: #8f9aae !important;
    stroke-width: 1.7 !important;

    stroke-linecap: round;
    stroke-linejoin: round;
}


/* =========================================================
   SUCCESS SCREEN
========================================================= */

#atsLeadPopup .ats-popup-success {
    display: none;

    min-height: 380px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    text-align: center;
}

#atsLeadPopup .ats-popup-success.is-visible {
    display: flex;
}

#atsLeadPopup .ats-success-icon {
    width: 64px !important;
    min-width: 64px !important;
    max-width: 64px !important;

    height: 64px !important;
    min-height: 64px !important;
    max-height: 64px !important;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background:
        rgba(22, 32, 114, 0.08);

    animation:
        atsSuccessPop
        0.5s
        ease;
}

#atsLeadPopup .ats-success-icon svg {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;

    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;

    display: block !important;

    fill: none !important;

    stroke:
        var(--ats-blue) !important;

    stroke-width: 2.5 !important;

    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes atsSuccessPop {

    0% {
        transform: scale(0.6);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

#atsLeadPopup .ats-popup-success h3 {
    margin: 16px 0 7px;

    color:
        var(--ats-blue);

    font-size: 26px;
    font-weight: 800;

    line-height: 1.2;
}

#atsLeadPopup .ats-popup-success p {
    max-width: 330px;

    margin: 0;

    color:
        var(--ats-muted);

    font-size: 13px;

    line-height: 1.6;
}

#atsLeadPopup .ats-popup-success button {
    margin-top: 22px;

    padding:
        10px 28px;

    border: 0;

    border-radius: 7px;

    background:
        var(--ats-blue);

    color: #fff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

#atsLeadPopup .ats-popup-success button:hover {
    transform:
        translateY(-1px);

    background:
        var(--ats-blue-dark);
}


/* =========================================================
   VALIDATION ERROR STATE
========================================================= */

#atsLeadPopup .ats-field.is-error
.ats-input-wrap input,
#atsLeadPopup .ats-field.is-error
.ats-input-wrap select,
#atsLeadPopup .ats-field.is-error
textarea {
    border-color:
        var(--ats-danger) !important;

    box-shadow:
        0 0 0 3px
        rgba(223, 68, 68, 0.07);
}

#atsLeadPopup .ats-field-error {
    display: none;

    margin-top: 5px;

    color:
        var(--ats-danger);

    font-size: 10px;
    line-height: 1.4;
}

#atsLeadPopup .ats-field.is-error
.ats-field-error {
    display: block;
}


/* =========================================================
   SUCCESS / ERROR MESSAGE
========================================================= */

#atsLeadPopup .ats-popup-message {
    display: none;

    margin-top: 10px;

    padding: 9px 11px;

    border-radius: 7px;

    font-size: 11px;
    line-height: 1.45;
}

#atsLeadPopup .ats-popup-message.is-visible {
    display: block;
}

#atsLeadPopup .ats-popup-message.error {
    background:
        rgba(223, 68, 68, 0.07);

    color:
        var(--ats-danger);

    border:
        1px solid
        rgba(223, 68, 68, 0.15);
}

#atsLeadPopup .ats-popup-message.success {
    background:
        rgba(22, 132, 91, 0.07);

    color:
        var(--ats-success);

    border:
        1px solid
        rgba(22, 132, 91, 0.15);
}


/* =========================================================
   AUTOFILL FIX
========================================================= */

#atsLeadPopup input:-webkit-autofill,
#atsLeadPopup input:-webkit-autofill:hover,
#atsLeadPopup input:-webkit-autofill:focus,
#atsLeadPopup textarea:-webkit-autofill,
#atsLeadPopup textarea:-webkit-autofill:hover,
#atsLeadPopup textarea:-webkit-autofill:focus,
#atsLeadPopup select:-webkit-autofill,
#atsLeadPopup select:-webkit-autofill:hover,
#atsLeadPopup select:-webkit-autofill:focus {
    -webkit-text-fill-color:
        #1d2b57;

    -webkit-box-shadow:
        0 0 0 1000px #fff inset;

    transition:
        background-color
        9999s
        ease-in-out
        0s;
}


/* =========================================================
   DESKTOP HEIGHT PROTECTION
========================================================= */

@media (min-width: 761px) {

    #atsLeadPopup .ats-popup-left,
    #atsLeadPopup .ats-popup-right {
        max-height: 92vh;
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) and (min-width: 761px) {

    #atsLeadPopup .ats-popup-modal {
        grid-template-columns:
            38% 62%;
    }

    #atsLeadPopup .ats-popup-left {
        padding:
            28px 25px 22px;
    }

    #atsLeadPopup .ats-popup-right {
        padding:
            30px 30px 25px;
    }

    #atsLeadPopup .ats-popup-left h2 {
        font-size: 32px;
    }

    #atsLeadPopup .ats-popup-services {
        gap:
            8px 10px;
    }

    #atsLeadPopup .ats-service {
        font-size: 10px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 760px) {

    #atsLeadPopup.ats-popup {
        align-items: flex-start;

        padding: 10px;
    }

    #atsLeadPopup .ats-popup-modal {
        width: 100%;
        max-width: 100%;

        max-height: 96vh;

        display: block;

        overflow-y: auto;

        border-radius: 16px;
    }

    #atsLeadPopup .ats-popup-left {
        padding:
            24px 22px 20px;
    }

    #atsLeadPopup .ats-popup-brand {
        margin-bottom: 23px;
    }

    #atsLeadPopup .ats-popup-brand img {
        width: 150px !important;
        max-width: 150px !important;
    }

    #atsLeadPopup .ats-popup-left h2 {
        max-width: 100% !important;

        font-size: 30px;
        letter-spacing: -1px;
    }

    #atsLeadPopup .ats-popup-left-content > p {
        max-width: 100% !important;

        margin-bottom: 16px;
    }

    #atsLeadPopup .ats-popup-services {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap:
            9px 10px;
    }

    #atsLeadPopup .ats-service {
        font-size: 10.5px;
    }

    #atsLeadPopup .ats-popup-trust {
        margin-top: 20px;
        padding-top: 18px;
    }

    #atsLeadPopup .ats-popup-right {
        padding:
            27px 22px 24px;

        overflow: visible;
    }

    #atsLeadPopup .ats-form-header h3 {
        font-size: 25px;
    }

    #atsLeadPopup .ats-form-header p {
        margin-bottom: 18px;
    }

    #atsLeadPopup .ats-popup-close {
        top: 10px;
        right: 10px;

        width: 36px !important;
        min-width: 36px !important;
        max-width: 36px !important;

        height: 36px !important;
        min-height: 36px !important;
        max-height: 36px !important;
    }

    #atsLeadPopup .ats-popup-success {
        min-height: 300px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    #atsLeadPopup .ats-popup-left {
        padding:
            22px 18px 18px;
    }

    #atsLeadPopup .ats-popup-right {
        padding:
            24px 18px 21px;
    }

    #atsLeadPopup .ats-popup-services {
        gap:
            8px;
    }

    #atsLeadPopup .ats-service-icon {
        flex-basis: 28px;

        width: 28px !important;
        min-width: 28px !important;
        max-width: 28px !important;

        height: 28px !important;
        min-height: 28px !important;
        max-height: 28px !important;
    }

    #atsLeadPopup .ats-service-icon svg {
        width: 14px !important;
        min-width: 14px !important;
        max-width: 14px !important;

        height: 14px !important;
        min-height: 14px !important;
        max-height: 14px !important;
    }

    #atsLeadPopup .ats-service {
        gap: 7px;

        font-size: 10px;
    }

    #atsLeadPopup .ats-mobile-row {
        grid-template-columns:
            90px
            minmax(0, 1fr) !important;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

    #atsLeadPopup.ats-popup {
        padding: 6px;
    }

    #atsLeadPopup .ats-popup-modal {
        border-radius: 14px;
    }

    #atsLeadPopup .ats-popup-services {
        grid-template-columns:
            1fr;
    }

    #atsLeadPopup .ats-popup-left h2 {
        font-size: 28px;
    }

    #atsLeadPopup .ats-popup-trust strong {
        font-size: 18px;
    }

    #atsLeadPopup .ats-popup-trust span {
        font-size: 8px;
    }

    #atsLeadPopup .ats-socials {
        margin-top: 15px;
    }

    #atsLeadPopup .ats-form-header h3 {
        font-size: 23px;
    }

    #atsLeadPopup .ats-mobile-row {
        grid-template-columns:
            85px
            minmax(0, 1fr) !important;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    #atsLeadPopup *,
    #atsLeadPopup *::before,
    #atsLeadPopup *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    #atsLeadPopup .ats-social {
        animation: none !important;
    }

}


/* =========================================================
   FINAL SVG PROTECTION
========================================================= */

#atsLeadPopup .ats-social svg,
#atsLeadPopup .ats-service-icon svg,
#atsLeadPopup .ats-input-wrap > svg,
#atsLeadPopup .ats-security svg,
#atsLeadPopup .ats-success-icon svg {
    display: block !important;

    overflow: visible !important;
}


/* =========================================================
   FINAL FORM WIDTH PROTECTION
========================================================= */

#atsLeadPopup input,
#atsLeadPopup select,
#atsLeadPopup textarea,
#atsLeadPopup button {
    max-width: 100%;
}

#atsLeadPopup .ats-popup-right,
#atsLeadPopup .ats-field,
#atsLeadPopup .ats-input-wrap {
    min-width: 0;
}


/* =========================================================
   END
   ANU TECH SOFT - LEAD POPUP
========================================================= */