/* ===== AUTHENTICATION STYLES ===== */
.auth-body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #0a0a0f 0%, #12121f 100%);
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    width: 95%;
    min-height: 800px;
    background: rgba(18, 18, 31, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

@media (max-width: 992px) {
    .auth-container {
        grid-template-columns: 1fr;
        min-height: auto;
        margin: 20px;
    }
}

/* Left Side - Branding */
.auth-left {
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1) 0%, rgba(255, 0, 255, 0.05) 100%);
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.1); opacity: 0.8; }
}

.auth-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 60px;
    z-index: 1;
    position: relative;
}

.auth-logo i {
    font-size: 2.5rem;
    color: #00ffff;
}

.auth-logo h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.auth-quote {
    margin-bottom: 60px;
    z-index: 1;
    position: relative;
}

.auth-quote h2 {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
    color: #ffffff;
}

.auth-quote h2 span {
    background: linear-gradient(90deg, #00ffff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.auth-quote p {
    font-size: 1.1rem;
    color: #b0b0d0;
    line-height: 1.6;
}

.auth-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
    z-index: 1;
    position: relative;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature i {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.05));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #00ffff;
}

.feature span {
    font-size: 1.1rem;
    font-weight: 500;
    color: #ffffff;
}

/* Right Side - Form */
.auth-right {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.auth-header p {
    color: #b0b0d0;
    font-size: 1rem;
}

.auth-form {
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #ffffff;
    font-size: 0.95rem;
}

.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #b0b0d0;
    font-size: 1rem;
}

.input-with-icon input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.input-with-icon input:focus {
    outline: none;
    border-color: #00ffff;
    box-shadow: 0 0 0 2px rgba(0, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.07);
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #b0b0d0;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px;
    transition: color 0.3s ease;
}

.password-toggle:hover {
    color: #ffffff;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    color: #b0b0d0;
}

.checkbox input {
    display: none;
}

.checkbox span {
    position: relative;
    padding-left: 28px;
}

.checkbox span::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.checkbox input:checked + span::before {
    background: #00ffff;
    border-color: #00ffff;
}

.checkbox input:checked + span::after {
    content: '✓';
    position: absolute;
    left: 4px;
    top: 50%;
    transform: translateY(-50%);
    color: #000000;
    font-size: 0.8rem;
    font-weight: bold;
}

.forgot-link {
    color: #00ffff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.forgot-link:hover {
    color: #00e6e6;
}

.auth-btn {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-btn.primary {
    background: linear-gradient(135deg, #00ffff, #0080ff);
    color: #000000;
}

.auth-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: #b0b0d0;
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.divider span {
    padding: 0 15px;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.social-btn {
    padding: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 255, 255, 0.3);
}

.social-btn.google:hover {
    background: rgba(219, 68, 55, 0.1);
    border-color: rgba(219, 68, 55, 0.3);
}

.social-btn.github:hover {
    background: rgba(24, 23, 23, 0.1);
    border-color: rgba(24, 23, 23, 0.3);
}

.auth-footer {
    text-align: center;
    color: #b0b0d0;
    font-size: 0.9rem;
}

.auth-footer p {
    margin-bottom: 10px;
}

.auth-footer a {
    color: #00ffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-footer a:hover {
    color: #00e6e6;
}

.terms {
    font-size: 0.8rem;
    color: #8080a0;
    line-height: 1.4;
}

.demo-login {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.demo-login p {
    color: #b0b0d0;
    margin-bottom: 15px;
    font-size: 0.95rem;
}

.demo-btn {
    padding: 12px 25px;
    background: transparent;
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 10px;
    color: #00ffff;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.demo-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Forgot Password & Reset Password */
.forgot-instructions {
    background: rgba(0, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
}

.forgot-instructions p {
    color: #b0b0d0;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.success-message {
    background: rgba(0, 255, 128, 0.1);
    border: 1px solid rgba(0, 255, 128, 0.2);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.success-message i {
    color: #00ff88;
    font-size: 1.5rem;
}

.success-message p {
    color: #ffffff;
    font-size: 0.95rem;
    margin: 0;
    flex: 1;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-left, .auth-right {
        padding: 40px 30px;
    }
    
    .auth-quote h2 {
        font-size: 1.8rem;
    }
    
    .auth-header h2 {
        font-size: 1.8rem;
    }
    
    .social-auth {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .auth-left, .auth-right {
        padding: 30px 20px;
    }
    
    .auth-logo {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .auth-quote h2 {
        font-size: 1.5rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
}