:root {
    --kdp-primary: #232F3E;
    --kdp-secondary: #FF9500;
    --kdp-accent: #146EB4;
    --kdp-success: #067D62;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(35, 47, 62, 0.1);
    overflow: hidden;
    max-width: 1000px;
    width: 100%;
}

.auth-left {
    background: linear-gradient(135deg, var(--kdp-primary) 0%, var(--kdp-accent) 100%);
    color: white;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    position: relative;
}

.auth-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.auth-right {
    padding: 60px 50px;
}

.logo-section {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 2;
}

.logo-header {
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
}

.form-section {
    max-width: 400px;
    margin: 0 auto;
}

.form-floating {
    margin-bottom: 20px;
}

.form-floating > .form-control {
    border: 2px solid #e9ecef;
    border-radius: 12px;
    padding: 12px 16px;
    height: auto;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--kdp-secondary);
    box-shadow: 0 0 0 0.2rem rgba(255, 149, 0, 0.25);
}

.form-floating > label {
    color: #6c757d;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, var(--kdp-primary) 0%, var(--kdp-accent) 100%);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(35, 47, 62, 0.3);
}

.btn-secondary {
    background: var(--kdp-secondary);
    border: none;
    border-radius: 12px;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #e6860a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 149, 0, 0.3);
}

.auth-link {
    color: var(--kdp-accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: var(--kdp-primary);
}

.forgot-password {
    color: var(--kdp-accent);
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    margin-top: 10px;
}

.forgot-password:hover {
    color: var(--kdp-primary);
}

.divider {
    text-align: center;
    margin: 30px 0;
    position: relative;
}

.divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #e9ecef;
}

.divider span {
    background: white;
    padding: 0 20px;
    color: #6c757d;
    font-size: 14px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.feature-list li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.feature-list i {
    color: var(--kdp-secondary);
    margin-right: 15px;
    width: 20px;
}

.alert {
    border-radius: 12px;
    border: none;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .auth-left {
        padding: 40px 30px;
    }
    
    .auth-right {
        padding: 40px 30px;
    }
    
    .auth-card {
        margin: 20px;
    }
}

.auth-card {
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}