/* =========================================================
   ROMANTIC DATING
   MOBILE REGISTRATION MODAL
   Same glass style as mobile menu
   ========================================================= */

.mobile-register-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2098;

    background: rgba(0, 0, 0, .14);

    opacity: 0;
    visibility: hidden;

    transition:
        opacity .20s ease,
        visibility .20s ease;
}

.mobile-register-backdrop.open {
    opacity: 1;
    visibility: visible;
}


.mobile-register-modal {
    position: fixed;

    top: 50%;
    left: 50%;

    width: calc(100% - 28px);
    max-width: 420px;
    max-height: calc(100dvh - 28px);

    z-index: 2099;

    box-sizing: border-box;

    padding: 25px 20px 20px;

    overflow-y: auto;
    overscroll-behavior: contain;

    background:
        linear-gradient(
            145deg,
            rgba(12, 10, 14, .46),
            rgba(28, 18, 25, .38)
        );

    border: 1px solid rgba(255,255,255,.13);
    border-radius: 16px;

    box-shadow:
        5px 8px 18px rgba(0,0,0,.13),
        inset 0 1px 0 rgba(255,255,255,.07);

    backdrop-filter:
        blur(14px)
        saturate(120%);

    -webkit-backdrop-filter:
        blur(14px)
        saturate(120%);

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;

    transform:
        translate(-50%, -46%)
        scale(.97);

    opacity: 0;
    visibility: hidden;

    transition:
        transform .23s cubic-bezier(.22,.61,.36,1),
        opacity .18s ease,
        visibility .18s ease;
}


.mobile-register-modal.open {
    transform:
        translate(-50%, -50%)
        scale(1);

    opacity: 1;
    visibility: visible;
}


/* CLOSE */

.mobile-register-close {
    position: absolute;

    top: 10px;
    right: 12px;

    width: 34px;
    height: 34px;

    padding: 0;

    border: 0;
    background: transparent;

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

    color: rgba(255,255,255,.95);

    font-size: 32px;
    font-weight: 200;
    line-height: 1;

    cursor: pointer;
}

.mobile-register-close:active {
    color: #ff1682;
    transform: scale(.92);
}


/* HEADER */

.mobile-register-head {
    text-align: center;

    padding: 6px 32px 17px;
}

.mobile-register-head h2 {
    margin: 0;

    color: #fff;

    font-size: 25px;
    line-height: 1.1;
    font-weight: 700;
}

.mobile-register-head p {
    margin: 7px 0 0;

    color: rgba(255,255,255,.82);

    font-size: 14px;
    line-height: 1.25;
}


/* FORM */

.mobile-register-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}


/* INPUT */

.mobile-register-field {
    position: relative;

    width: 100%;
    height: 50px;

    margin: 0;

    display: flex;
    align-items: center;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 10px;

    background: rgba(10,10,12,.25);

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.04);
}

.mobile-register-field-icon {
    width: 48px;
    height: 100%;

    flex: 0 0 48px;

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

    color: rgba(255,255,255,.90);
}

.mobile-register-field-icon svg {
    width: 23px;
    height: 23px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


.mobile-register-field input {
    min-width: 0;
    width: 100%;
    height: 100%;

    padding: 0 42px 0 0;

    border: 0 !important;
    outline: 0 !important;

    background: transparent !important;

    color: #fff !important;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;

    box-shadow: none !important;
}

.mobile-register-field input::placeholder {
    color: rgba(255,255,255,.72);
    opacity: 1;
}


/* DATE */

.mobile-register-birth-label {
    margin: 1px 2px -3px;

    color: rgba(255,255,255,.74);

    font-size: 12px;
}

.mobile-register-birth {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 10px;
}

.mobile-register-birth select {
    width: 100%;
    height: 48px;

    padding: 0 12px;

    border: 1px solid rgba(255,255,255,.55);
    border-radius: 10px;

    outline: 0;

    background: rgba(10,10,12,.32);

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
}


/* PASSWORD EYE */

.mobile-register-eye {
    position: absolute;

    right: 6px;
    top: 50%;

    width: 38px;
    height: 38px;

    transform: translateY(-50%);

    padding: 0;

    border: 0;
    background: transparent;

    color: rgba(255,255,255,.80);

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

    cursor: pointer;
}

.mobile-register-eye svg {
    width: 22px;
    height: 22px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TERMS */

.mobile-register-agree {
    position: relative;

    display: flex;
    align-items: flex-start;

    gap: 9px;

    margin: 4px 2px 2px;

    color: rgba(255,255,255,.90);

    font-size: 12px;
    line-height: 1.35;

    cursor: pointer;
}

.mobile-register-agree input {
    position: absolute;

    opacity: 0;
    pointer-events: none;
}

.mobile-register-check {
    width: 25px;
    height: 25px;

    flex: 0 0 25px;

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

    margin-top: -3px;

    border-radius: 5px;

    background: #ff1682;

    color: #fff;

    font-size: 18px;
    font-weight: 700;
}

.mobile-register-agree input:not(:checked) + .mobile-register-check {
    background: rgba(255,255,255,.10);

    border: 1px solid rgba(255,255,255,.50);

    color: transparent;
}

.mobile-register-agree a {
    color: #fff !important;

    text-decoration: underline !important;
}


/* SUBMIT */

.mobile-register-submit {
    width: 100%;
    height: 52px;

    margin-top: 4px;

    border: 0;
    border-radius: 999px;

    background:
        linear-gradient(
            135deg,
            #ff2a91,
            #ff0c78
        );

    color: #fff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 700;

    cursor: pointer;
}

.mobile-register-submit:active {
    transform: scale(.985);
}


/* LOGIN */

.mobile-register-login {
    display: flex;
    align-items: center;

    gap: 10px;

    margin-top: 7px;

    color: rgba(255,255,255,.86);

    font-size: 12px;
    white-space: nowrap;
}

.mobile-register-login::before,
.mobile-register-login::after {
    content: "";

    height: 1px;
    flex: 1;

    background: rgba(255,255,255,.22);
}

.mobile-register-login a {
    color: #fff !important;
    text-decoration: underline !important;
}


/* SMALL PHONES */

@media (max-width: 370px) {

    .mobile-register-modal {
        width: calc(100% - 18px);
        padding: 20px 14px 16px;
    }

    .mobile-register-head h2 {
        font-size: 22px;
    }

    .mobile-register-field {
        height: 46px;
    }

    .mobile-register-birth select {
        height: 44px;
    }

    .mobile-register-submit {
        height: 48px;
    }
}


/* LANDSCAPE PHONE */

@media (orientation: landscape) and (max-height: 500px) {

    .mobile-register-modal {
        top: 8px;
        bottom: 8px;

        transform: translateX(-50%) scale(.98);

        max-height: none;

        width: min(420px, calc(100% - 30px));
    }

    .mobile-register-modal.open {
        transform: translateX(-50%) scale(1);
    }
}
/* =========================================================
   COMPACT REGISTER — FINAL OVERRIDE
   ========================================================= */

.mobile-register-modal {
    width: 330px;
    max-width: calc(100% - 34px);
    padding: 14px 14px 13px;
    border-radius: 13px;
}

.mobile-register-head {
    padding: 0 25px 10px;
}

.mobile-register-head h2 {
    font-size: 19px;
}

.mobile-register-head p {
    margin-top: 4px;
    font-size: 11px;
}

.mobile-register-form {
    gap: 6px;
}

.mobile-register-field {
    height: 39px;
    border-radius: 8px;
}

.mobile-register-field-icon {
    width: 38px;
    flex: 0 0 38px;
}

.mobile-register-field-icon svg {
    width: 18px;
    height: 18px;
}

.mobile-register-field input {
    font-size: 12px;
}

.mobile-register-birth-label {
    font-size: 10px;
    margin-top: 0;
}

.mobile-register-birth {
    gap: 6px;
}

.mobile-register-birth select {
    height: 39px;
    padding: 0 8px;
    font-size: 12px;
    border-radius: 8px;
}

.mobile-register-eye {
    width: 34px;
    height: 34px;
}

.mobile-register-eye svg {
    width: 19px;
    height: 19px;
}

.mobile-register-agree {
    gap: 7px;
    margin: 2px 1px 0;
    font-size: 10px;
    line-height: 1.3;
}

.mobile-register-check {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    font-size: 14px;
}

.mobile-register-submit {
    height: 41px;
    margin-top: 2px;
    font-size: 12px;
}

.mobile-register-login {
    margin-top: 2px;
    font-size: 10px;
}