/* ==========================================
   DESKTOP SIGNIN/SIGNUP STYLES (PURE MODAL MIRROR)
   ========================================== */

main:has(.auth-body) {
    max-width: none !important;
    padding: 0 !important;
    width: 100% !important;
}

.auth-body {
    background: radial-gradient(circle at center, var(--magic-plum) 0%, var(--magic-purple) 100%);
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
    position: relative; /* For stars positioning */
    overflow: hidden; /* Keep stars inside */
}

/* Restoring Magic Background Stars Visibility */
.auth-body .magic-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1; /* Above background but behind content */
}

.auth-body .floating-star {
    position: absolute;
    color: #ffcc33;
    filter: drop-shadow(0 0 15px rgba(255, 204, 51, 0.6));
    animation: float 4s ease-in-out infinite;
    opacity: 0.6;
    z-index: 1;
    user-select: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(20deg); }
}

/* Base Chassis - Absolute 1:1 Mirror of .neo-modal-content in info-modal.css */
.neo-modal-content.auth-page-container {
    display: flex !important;
    width: 900px !important;  /* info-modal.css:36 */
    height: 600px !important; /* info-modal.css:37 */
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 30px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
    overflow: hidden !important;
    position: relative !important;
    z-index: 5; /* Sit in front of magic stars */
    transform: scale(1) translateY(0) !important;
}

/* Close Icon - Exact Placement */
.neo-modal-close-icon {
    position: absolute !important;
    top: 2rem !important;
    left: 3rem !important; /* info-modal.css:139 */
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #94a3b8 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    font-size: 1.2rem !important;
    line-height: 1 !important;
    text-decoration: none !important;
    z-index: 100 !important;
}

.neo-modal-close-icon:hover {
    background: rgba(239, 68, 68, 0.15) !important;
    color: #ef4444 !important;
    border-color: rgba(239, 68, 68, 0.2) !important;
    transform: rotate(90deg) !important;
}

/* PROMO PANEL (LEFT SIDE) - Exact 1:1 Sync */
.neo-modal-promo {
    flex: 1 !important; /* info-modal.css:55 */
    background: rgba(0, 0, 0, 0.2) !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 3rem !important; /* info-modal.css:61 */
    position: relative !important;
}

.neo-modal-promo .promo-tag {
    display: inline-flex !important;
    padding: 0.4rem 1.2rem !important;
    border-radius: 100px !important;
    font-size: 0.7rem !important;
    font-weight: 850 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.12em !important;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    overflow: hidden !important;
    width: fit-content !important;
    margin-bottom: 2rem !important;
    
    /* Pure Gold Mirror */
    background: linear-gradient(135deg, rgba(255, 204, 51, 0.4) 0%, rgba(204, 153, 0, 0.3) 100%) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 204, 51, 0.4) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
}

/* Restoring the flare/dot for absolute premium parity */
.neo-modal-promo .promo-tag::before {
    content: ''; position: absolute; top: 15%; left: 10%; width: 45%; height: 30%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.35) 0%, transparent 100%);
    filter: blur(2px); border-radius: 100px; z-index: 2;
}
.neo-modal-promo .promo-tag::after {
    content: ''; position: absolute; bottom: -2px; right: 15%; width: 12px; height: 12px;
    background: #ffcc33; border-radius: 50%; filter: blur(4px); opacity: 0.8; box-shadow: 0 0 15px #ffcc33;
}

.neo-modal-promo h1 {
    font-size: 3rem !important; /* info-modal.css:118 */
    font-weight: 800 !important;
    line-height: 1.1 !important;
    margin-bottom: 1.5rem !important; /* info-modal.css:121 */
    background: linear-gradient(to bottom, #ffffff, #a78bfa) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.desktop-br { display: inline; }

.promo-desc-desktop {
    font-size: 1rem !important; /* info-modal.css:130 */
    color: rgba(255, 255, 255, 0.7) !important;
    line-height: 1.6 !important;
    display: block !important;
}
.promo-desc-mobile { display: none !important; }

/* CONTENT PANEL (RIGHT SIDE / FORM) - Ultra Tight Spacing */
.neo-modal-info-side {
    flex: 1.2 !important; 
    padding: 1.5rem 1.75rem !important; /* Ultra-Tight Padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(45, 11, 74, 0.3) !important;
}



.neo-modal-info-side h2 {
    font-size: 1.9rem; 
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: #fff;
}

.neo-modal-info-side p.subtitle {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1.5rem; /* Reduced Gap */
}


.form-group {
    margin-bottom: 0.65rem; /* Ultra Tight margins */
}



.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px;
    padding: 0.85rem 1.25rem;
    color: #fff;
    font-size: 1rem;
}

.btn-auth {
    width: 100%;
    background: linear-gradient(135deg, var(--gold) 0%, #b8860b 100%) !important;
    color: #000 !important;
    padding: 1rem !important;
    border-radius: 12px !important;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1.5rem;
}

.auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 0.85rem 0 !important;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.75rem;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-divider span {
    padding: 0 0.75rem;
}

.btn-google {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0.75rem !important;
    border-radius: 12px !important;
    font-size: 0.95rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.auth-footer {
    margin-top: 1.25rem;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

.auth-footer a {
    color: var(--gold);
    font-weight: 700;
}

