:root {
    --primary-color: #0d3c78;
    --accent-color: #567c9c;
    --bg-color: #f0f2f5;
    --text-dark: #2d3748;
    --text-muted: #595959;
}

body, h1, h2, h3, h4, h5, h6, p, span, a, label, input, button, .form-control {
    font-family: 'Montserrat', sans-serif !important;
}

body {
    background-color: var(--bg-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 450px;
}

.register-container {
    width: 100%;
    max-width: 500px;
}

.auth-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    color: var(--text-dark);
}

.brand-logo {
    width: 90px;
    height: auto;
    margin-bottom: 15px;
}

.register-container .brand-logo {
    width: 80px;
}

.form-control {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: var(--text-dark);
    padding: 10px 16px;
    transition: all 0.2s ease;
}

.form-control:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 60, 120, 0.15);
    color: var(--text-dark);
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.register-container .form-label {
    font-size: 0.85rem;
    margin-bottom: 6px;
}

.input-group-text {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 8px 0 0 8px;
    color: var(--text-muted);
}

.input-group .form-control {
    border-radius: 0;
}

.input-group .form-control:last-child {
    border-radius: 0 8px 8px 0;
}

/* Toggle password eye button */
.toggle-password {
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    padding: 10px 14px;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: var(--primary-color);
    background: #eef1f5;
}

.toggle-password:focus {
    box-shadow: none;
}

.btn-primary {
    background-color: var(--primary-color);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    color: #ffffff;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #0b3162;
    color: #ffffff;
}

.btn-primary:active {
    transform: translateY(1px);
}

.back-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s ease;
    font-size: 0.9rem;
}

.back-link:hover {
    color: var(--primary-color);
}

.alert-custom {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    border-radius: 8px;
}

.register-container .alert-custom {
    font-size: 0.9rem;
}

.alert-success-custom {
    background: #f0fff4;
    border: 1px solid #c6f6d5;
    color: #2f855a;
    border-radius: 8px;
}
