:root {
    --primary-color: #4B49AC; 
    --secondary-color: #98BDFF;
    --bg-gradient: linear-gradient(135deg, #1e283d 0%, #0d1117 100%);
}

body, html {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    background-color: #f4f5f7;
}

.auth-container {
    min-height: 100vh;
    display: flex;
}

.auth-brand-side {
    background: var(--bg-gradient);
    color: white;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.auth-brand-side::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(0,0,0,0) 70%);
    top: -25%;
    left: -25%;
    animation: pulse 15s infinite;
}

.brand-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 500px;
}

.brand-logo-img {
    width: 250px;
    height: 250px;
    background: #17161fff;
    border-radius: 50%;
    padding: 5px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.brand-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.brand-subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 300;
}

.auth-form-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: white;
    padding: 40px;
    position: relative;
    min-width: 500px; 
}

.auth-card {
    width: 100%;
    max-width: 450px;
    animation: slideUp 0.6s ease-out;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: #3f3e91;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(75, 73, 172, 0.3);
}

.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e1e5eb;
    background-color: #f8f9fa;
}

.form-control:focus {
    background-color: white;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(75, 73, 172, 0.1);
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@media (max-width: 992px) {
    .auth-brand-side { display: none; }
    .auth-form-side { min-width: 100%; background: #f4f5f7; }
    .auth-card { 
        background: white; 
        padding: 30px; 
        border-radius: 15px; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    }
}