/* =================================================================
   CLAUT - PREMIUM SIGN-IN STYLES (ULTRA-PROFESSIONAL CLARITY)
   Refinamiento estético avanzado para una experiencia de élite
   ================================================================= */

:root {
    /* Primary Colors - Elite Light Theme */
    --porsche-black: #0f172a;
    --porsche-slate-900: #0f172a;
    --porsche-slate-500: #64748b;
    --porsche-accent: #C7252B; /* Clúster red */
    --porsche-accent-hover: #a31e23;
    --porsche-bg: #fdfdfd; 
    
    /* UI Elevations */
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.02);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 8px 10px -6px rgba(0, 0, 0, 0.03);
    
    --porsche-font: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    background: var(--porsche-bg);
    color: var(--porsche-slate-900);
    font-family: var(--porsche-font);
    overflow: hidden;
    margin: 0;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.w-40 { width: 10rem !important; }
.tracking-ultra { letter-spacing: 0.15em !important; }
.text-shadow-xs { text-shadow: 0 1px 2px rgba(0,0,0,0.1); }

/* LAYOUT SECTION */
.login-section { display: flex; min-height: 100vh; }

/* LEFT: FORM SIDE */
.login-form-container {
    background: #ffffff;
    width: 45% !important;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.login-form-content {
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
}

/* FORM ELEMENTS */
.form-input {
    background: #fbfbfc !important;
    border: 1px solid #eef0f3 !important;
    color: var(--porsche-slate-900) !important;
    padding: 1.1rem 1.25rem !important;
    border-radius: 12px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.95rem !important;
}

.form-input:focus {
    background: #fff !important;
    border-color: var(--porsche-accent) !important;
    box-shadow: 0 0 0 4px rgba(199, 37, 43, 0.06) !important;
    transform: translateY(-1px);
}

.form-button {
    background: var(--porsche-accent);
    color: white;
    padding: 1.1rem !important;
    border-radius: 12px !important;
    font-weight: 700;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 30px rgba(199, 37, 43, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-button:hover {
    background: var(--porsche-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(199, 37, 43, 0.3);
}

.visitante-btn {
    background: #ffffff;
    border: 1px solid #eef0f3;
    color: var(--porsche-slate-500);
    padding: 0.9rem !important;
    border-radius: 12px !important;
    font-weight: 600;
}

.visitante-btn:hover {
    background: #fdfdfd;
    border-color: #cbd5e1;
    color: var(--porsche-slate-900);
}

/* RIGHT: BANNER SIDE */
.login-banner-container {
    width: 55% !important;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 6s ease-in-out;
}

.carousel-slide.active { transform: scale(1.05); }

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, transparent 60%, rgba(0,0,0,0.1) 100%);
    z-index: 10;
}

.banner-glass-card {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    right: 4rem;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    padding: 3rem;
    border-radius: 2rem;
    z-index: 20;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .login-form-container { width: 50% !important; }
    .login-banner-container { width: 50% !important; }
}

@media (max-width: 767px) {
    .login-section { flex-direction: column; }
    .login-banner-container { height: 30vh; width: 100% !important; order: -1; }
    .login-form-container { width: 100% !important; min-height: 70vh; padding: 3rem 1.5rem; }
    .banner-glass-card { display: none; }
}

/* Animations */
.reveal-anim { opacity: 0; transform: translateY(15px); }

/* Shimmer utility */
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.animate-shimmer { background: linear-gradient(90deg, transparent, rgba(199, 37, 43, 0.1), transparent); background-size: 200% 100%; animation: shimmer 2s infinite linear; }



@media (max-width: 480px) {
    .login-form-content {
        padding: 0.5rem;
    }
    .carousel-content h4 {
        font-size: 1.25rem;
    }
}

/* Entrance Animation Utilities */
.reveal-anim {
    opacity: 0;
    transform: translateY(15px);
}