/* ==========================================================================
   StarzMeet — auth: header "Sign Up" button + login/register popup polish.
   Loaded site-wide (the popup exists on every page for logged-out visitors).
   ========================================================================== */

/* Header Sign Up button — sits beside "Sign In" as the viewer/family CTA. */
.sm-signup-btn {
    display: inline-block;
    margin-right: 8px;
    padding: 8px 18px;
    background: #7c3aed;
    color: #fff !important;
    border: 1px solid #7c3aed;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.2;
    text-decoration: none !important;
    cursor: pointer;
    transition: background .15s, border-color .15s;
    vertical-align: middle;
}
.sm-signup-btn:hover { background: #6d28d9; border-color: #6d28d9; color: #fff !important; }

/* ---- Login / Register popup (#modal-3) ------------------------------------ */
#modal-3 .login-form-popup {
    background: #fff;
    border-radius: 16px;
    padding: 30px 30px 26px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .28);
    max-width: 440px;
    margin: 0 auto;
}
#modal-3 .login-form-popup h3 {
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    text-align: center;
}
/* Inputs -> StarzMeet style. */
#modal-3 #login input[type="text"],
#modal-3 #login input[type="email"],
#modal-3 #login input[type="password"],
#modal-3 #register input[type="text"],
#modal-3 #register input[type="email"],
#modal-3 #register input[type="password"] {
    width: 100%;
    padding: 11px 13px;
    border: 1px solid #e5e7eb;
    border-radius: 9px;
    background: #fff;
    font-size: 14.5px;
    color: #0f172a;
    line-height: 1.4;
    box-shadow: none;
    transition: border-color .15s, box-shadow .15s;
}
#modal-3 #login input:focus,
#modal-3 #register input:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(15, 123, 95, .14);
}
#modal-3 .login-form-popup label { font-weight: 600; color: #0f172a; font-size: 13px; }
#modal-3 .login-form-popup label span { color: #7c3aed; }

/* Primary submit buttons -> teal. */
#modal-3 #login input[type="submit"],
#modal-3 #register input[type="submit"],
#modal-3 #login button[type="submit"],
#modal-3 #register button[type="submit"],
#modal-3 .login-form-popup .lp-btn,
#modal-3 .login-form-popup .btn-second-hover {
    width: 100%;
    padding: 12px 20px;
    background: #7c3aed !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(15, 123, 95, .25);
    transition: background .15s;
}
#modal-3 #login input[type="submit"]:hover,
#modal-3 #register input[type="submit"]:hover,
#modal-3 .login-form-popup .lp-btn:hover { background: #6d28d9 !important; }

/* Toggle links (Sign up / Sign in / Forgot). */
#modal-3 .signUpClick,
#modal-3 .signInClick,
#modal-3 .login-form-popup a {
    color: #6d28d9;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
#modal-3 .signUpClick:hover,
#modal-3 .signInClick:hover { text-decoration: underline; }

/* Social-login row spacing. */
#modal-3 .social-login { display: flex; gap: 10px; justify-content: center; margin-top: 14px; }

/* Close button. */
#modal-3 .md-close {
    background: rgba(255, 255, 255, .92);
    color: #0f172a;
    border-radius: 50%;
    width: 32px; height: 32px; line-height: 32px; text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

@media (max-width: 480px) {
    #modal-3 .login-form-popup { padding: 24px 18px; }
    .sm-signup-btn { padding: 7px 13px; font-size: 13px; }
}
