/* auth-style.css - Full Updated Version */

/* 1. Global Reset & Wrapper */
.split-auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #f1f5f9;
    padding: 20px;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
}

.auth-card {
    display: flex;
    width: 100%;
    max-width: 1000px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    min-height: 650px;
}

/* 2. LEFT PANEL (Branding & Animation) */
.auth-left {
    flex: 1.2;
    background: #0f172a; /* Dark Slate */
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 40px;
}

/* Subtle Grid Background */
.auth-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(59, 130, 246, 0.15) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.hero-visual {
    position: relative;
    z-index: 5;
    /* Spacing around the badge */
    margin: 40px;
}

.engineer-badge {
    font-family: 'Inter', sans-serif;
    font-size: 45px;
    font-weight: 900;
    line-height: 0.9;
    color: #ffffff;
    border: 8px solid #3b82f6; /* Blue border */
    padding: 30px;
    text-align: center;
    text-transform: uppercase;
    background: #3b82f6; /* Blue background like index badge */
    border-radius: 50%; /* Circle shape */
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.3);
    
    /* UPDATED: Horizontal Floating Animation */
    animation: authFloatLeftRight 5s ease-in-out infinite;
    cursor: default;
}

/* Nayi Left-Right Animation */
@keyframes authFloatLeftRight {
    0% { transform: translateX(0px) rotate(-8deg); }
    50% { transform: translateX(30px) rotate(-4deg); } /* Right move */
    100% { transform: translateX(0px) rotate(-8deg); }
}

.engineer-badge:hover {
    box-shadow: 0px 0px 40px rgba(59, 130, 246, 0.6);
}

/* 3. RIGHT PANEL (Login Form) */
.auth-right {
    flex: 1;
    padding: 60px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #ffffff;
}

.auth-header {
    margin-bottom: 35px;
    margin-top: 10px; /* Top spacing */
}

.auth-header h2 {
    font-size: 30px;
    color: #1e293b;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Form Elements Styling */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.input-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    outline: none;
}

.btn-primary {
    width: 100%;
    padding: 16px;
    background-color: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
}

/* 8. Responsive Fixes */
@media (max-width: 1099px) {
    .auth-card {
        flex-direction: column;
        max-width: 450px;
        min-height: auto;
    }
    .auth-left {
        padding: 50px 20px;
    }
    .engineer-badge {
        width: 150px;
        height: 150px;
        font-size: 30px;
    }
}