/* Triangle Auth - Styles */
:root {
    --bg: #0B0B0B;
    --gold: #FFD658;
    --gold-deep: #D9A500;
    --gold-soft: #FFE6A6;
    --text: #F5F5F5;
    --muted: #B8B8B8;
    --border: #232323;
    --gradient: linear-gradient(180deg, #FFD658 0%, #D9A500 100%);
}

body { 
    background-color: var(--bg); 
    min-height: 100vh; 
    color: var(--text); 
}

.auth-container { 
    max-width: 400px; 
    margin: 50px auto; 
}

/* Register form gets wider container */
.auth-container.register { 
    max-width: 800px; 
}

.auth-card { 
    background: rgba(255,255,255,0.95); 
    border-radius: 15px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); 
}

.auth-header { 
    background: var(--gradient); 
    color: #1a1a1a; 
    border-radius: 15px 15px 0 0; 
    padding: 20px; 
    text-align: center; 
}

.auth-body { 
    padding: 30px; 
}

.form-control { 
    border-radius: 10px; 
    border: 2px solid #e0e0e0; 
    padding: 12px 15px; 
}

.form-control:focus { 
    border-color: var(--gold); 
    box-shadow: 0 0 0 0.2rem rgba(255, 214, 88, 0.25); 
}

.btn-primary { 
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%); 
    border: none; 
    border-radius: 10px; 
    padding: 12px; 
    font-weight: 600; 
}

.btn-link { 
    color: #007bff; 
    text-decoration: none; 
}

.btn-link:hover { 
    color: #0056b3; 
    text-decoration: underline; 
}

.alert { 
    border-radius: 10px; 
    margin-bottom: 20px; 
}

.logo { 
    max-height: 40px; 
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--bg);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    color: var(--text);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-text h5 {
    color: var(--gold);
    margin: 0 0 0.25rem 0;
    font-weight: 600;
}

.cookie-text p {
    margin: 0;
    color: var(--text);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    flex-shrink: 0;
    gap: 0.5rem;
}

.text-gold { 
    color: var(--gold); 
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1rem;
    }
    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }
}

/* Make labels inside auth-body black for better readability */
.auth-body .triangle-form-label {
    color: #000000 !important;
}

/* Auto-selected institution styling */
.institution-checkbox.auto-selected:disabled + label {
    opacity: 0.7;
    background-color: #e8f4f8;
    padding: 2px 6px;
    border-radius: 4px;
    border-left: 3px solid #17a2b8;
}
