.auth-split-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    background: #eef1f6;
}
@media (max-width: 900px) {
    .auth-split-shell { flex-direction: column; }
}
@media (min-width: 901px) {
    .auth-split-shell {
        height: 100vh;
        max-height: 100vh;
        padding: 40px;
        overflow: hidden;
    }
}

.auth-visual-panel {
    position: relative;
    overflow: hidden;
    background-image: var(--auth-bg-image);
    background-size: cover;
    background-position: center;
}
@media (min-width: 901px) {
    .auth-visual-panel {
        flex: 0 0 44%;
        height: 100%;
        max-height: 100%;
        border-radius: 32px;
        transform: rotate(-2.5deg);
        box-shadow: 0 30px 70px rgba(10,15,30,0.35);
        z-index: 2;
    }
}
@media (max-width: 900px) {
    .auth-visual-panel { width: 100%; height: 220px; flex: none; }
    .auth-visual-panel::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(5,10,20,0.15), rgba(5,10,20,0.68));
    }
}

.auth-visual-topnav {
    position: absolute;
    top: 22px; left: 22px; right: 22px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.auth-visual-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
}
.auth-visual-nav-pills { display: flex; gap: 8px; }
.auth-visual-nav-pills a {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    transition: all 0.2s ease;
}
.auth-visual-nav-pills a.active { background: #fff; color: #111; border-color: #fff; }

.auth-visual-tagline {
    position: absolute;
    left: 22px; right: 22px; bottom: 22px;
    z-index: 2;
    color: #fff;
}
.auth-visual-tagline h2 { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.auth-visual-tagline p { font-size: 12px; opacity: 0.75; max-width: 320px; }
@media (max-width: 900px) {
    .auth-visual-tagline h2 { font-size: 22px; }
    .auth-visual-tagline p { display: none; }
}

.auth-form-panel {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    position: relative;
}
@media (min-width: 901px) {
    .auth-form-panel {
        margin-left: -60px;
        padding-left: 100px;
        border-radius: 32px;
        box-shadow: 0 20px 50px rgba(20,30,60,0.10);
        z-index: 1;
        height: 100%;
        max-height: 100%;
        overflow-y: auto;
        align-items: flex-start;
        padding-top: 48px;
        padding-bottom: 48px;
    }
    .auth-form-panel::-webkit-scrollbar { width: 6px; }
    .auth-form-panel::-webkit-scrollbar-thumb { background: #e5e7eb; border-radius: 999px; }
}
@media (max-width: 900px) {
    .auth-form-panel {
        margin-top: -40px;
        border-radius: 60px 0 0 0;
        box-shadow: 0 -14px 34px rgba(20,30,60,0.12);
        padding: 36px 20px 40px;
        min-height: calc(100vh - 180px);
        position: relative;
        z-index: 3;
    }
}

.auth-form-card { width: 100%; max-width: 400px; margin: 0 auto; }

/* Force readable dark text regardless of any global dark-theme rules,
   since this panel is always a light/white surface. */
.auth-form-panel,
.auth-form-panel h1,
.auth-form-panel p,
.auth-form-panel label,
.auth-form-panel span {
    color: #111827 !important;
}
.auth-form-panel .text-gray-400,
.auth-form-panel [style*="opacity:0.5"],
.auth-form-panel [style*="opacity:0.55"] {
    color: #9ca3af !important;
}
.auth-form-panel input::placeholder { color: #9ca3af !important; opacity: 1; }

/* Restyle existing shared form controls (login.blade.php + register.blade.php) */
.auth-form-panel input[type="email"],
.auth-form-panel input[type="password"],
.auth-form-panel input[type="text"],
.auth-form-panel input.glass-input,
.auth-form-panel select.glass-input,
.auth-form-panel select {
    border-radius: 14px !important;
    border: 1.5px solid #e5e7eb !important;
    background: #f9fafb !important;
}
.auth-form-panel input:focus,
.auth-form-panel select:focus {
    border-color: var(--color-accent, #38D9E8) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-accent, #38D9E8) 15%, transparent) !important;
    outline: none !important;
}
.auth-form-panel a[href*="auth/google"] { border-radius: 14px !important; }
.auth-form-panel button[type="submit"],
.auth-form-panel .glass-btn {
    border-radius: 14px !important;
    background: #111111 !important;
    border-color: transparent !important;
    color: #fff !important;
}
.auth-google-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: border-color 0.2s ease, transform 0.15s ease;
}
.auth-google-circle:hover { border-color: #111827; transform: translateY(-1px); }
.auth-form-panel h1 { font-size: 26px !important; font-weight: 800 !important; }

.auth-form-float {
    position: absolute;
    border-radius: 50%;
    background: color-mix(in srgb, var(--color-accent, #38D9E8) 55%, transparent);
    filter: blur(1px);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
    animation: auth-form-float-move 7s ease-in-out infinite;
}
@keyframes auth-form-float-move {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0.3; }
    50% { transform: translateY(-16px) translateX(6px) scale(1.2); opacity: 0.55; }
}
