* { font-family: 'Inter', sans-serif; }
body { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; }
.navbar { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); height: 70px; display: flex; align-items: center; padding: 0; border-bottom: 1px solid rgba(139, 92, 246, 0.15); }
.navbar .container { height: 100%; display: flex; align-items: center; justify-content: space-between; max-width: 1200px; }
.navbar-brand { display: flex; align-items: center; padding: 0; margin: 0; line-height: 1; height: 100%; }
.navbar-brand img { height: 70px; width: auto; object-fit: contain; display: block; filter: brightness(0.6) contrast(1.8); }
.nav-buttons { display: flex; align-items: center; gap: 12px; }
.nav-buttons .btn { display: flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 22px; font-size: 14px; font-weight: 500; border-radius: 8px; transition: all 0.3s ease; text-decoration: none; }
.nav-buttons .btn-outline-primary { border: 1.5px solid #667eea; color: #667eea; background: transparent; }
.nav-buttons .btn-outline-primary:hover { background: #667eea; color: white; transform: translateY(-2px); }
.nav-buttons .btn-primary { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; }
.auth-wrapper { min-height: calc(100vh - 80px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.auth-card { background: white; border-radius: 30px; box-shadow: 0 30px 60px rgba(0,0,0,0.2); width: 100%; max-width: 480px; overflow: hidden; animation: slideUp 0.5s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.nav-tabs { border-bottom: 2px solid #f0f0f0; padding: 0; background: #fafafa; }
.nav-tabs .nav-link { border: none; padding: 18px 25px; font-weight: 700; color: #6c757d; transition: all 0.3s; font-size: 1rem; text-decoration: none; }
.nav-tabs .nav-link.active { color: #667eea; background: white; border-bottom: 3px solid #667eea; }
.form-section { padding: 40px; }
.login-title { font-size: 1.8rem; margin-bottom: 10px; color: #333; font-weight: 700; }
.login-title span { font-size: 0.9rem; color: #6c757d; display: block; margin-top: 8px; font-weight: 400; }
.input-group { border-radius: 15px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.input-group-text { background: white; border-right: none; padding: 12px 18px; font-weight: 600; }
.form-control { border-left: none; padding: 12px; font-size: 1rem; }
.form-control:focus { box-shadow: none; border-color: #dee2e6; }
.input-group:focus-within { box-shadow: 0 0 0 3px rgba(102,126,234,0.2); border-radius: 15px; }
.help-text { text-align: center; margin-top: 25px; font-size: 0.9rem; }
.help-text a { color: #667eea; text-decoration: none; font-weight: 600; }
.secure-note { text-align: center; margin-top: 15px; font-size: 0.8rem; color: #6c757d; }
.role-selector-container { display: flex; background: #f1f3f9; padding: 5px; border-radius: 15px; margin-bottom: 25px; }
.role-btn { flex: 1; border: none; background: transparent; padding: 10px; border-radius: 12px; font-weight: 600; font-size: 0.9rem; color: #6c757d; transition: all 0.3s ease; }
.role-btn.active { background: white; color: #667eea; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.role-btn i { margin-right: 6px; }
.trainer-section { display: none; animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.btn-login-trainer { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 12px; border-radius: 12px; font-weight: 600; width: 100%; margin-top: 10px; transition: all 0.3s; cursor: pointer; }
.btn-login-trainer:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(102,126,234,0.3); color: white; }
.modal-content { border-radius: 25px; border: none; overflow: hidden; }
.modal-header { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; padding: 25px; }
.modal-title { font-weight: 700; font-size: 1.5rem; }
.btn-close { filter: brightness(0) invert(1); }
.modal-body { padding: 35px; }
.otp-icon { width: 70px; height: 70px; background: linear-gradient(135deg, #667eea20 0%, #764ba220 100%); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.otp-icon i { font-size: 35px; color: #667eea; }
.mobile-display { background: #f8f9fa; padding: 10px 20px; border-radius: 50px; display: inline-block; font-weight: 600; font-size: 1.1rem; }
.modal-otp-container { display: flex; justify-content: center; gap: 12px; margin: 30px 0; }
.modal-otp-box { width: 55px; height: 65px; text-align: center; font-size: 28px; font-weight: 700; border: 2px solid #e0e0e0; border-radius: 15px; background: white; transition: all 0.2s; }
.modal-otp-box:focus { border-color: #667eea; outline: none; box-shadow: 0 0 0 3px rgba(102,126,234,0.1); transform: scale(1.05); }
.modal-otp-box.is-invalid { border-color: #dc3545; animation: shake 0.5s ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }
.demo-badge { background: #f8f9fa; padding: 8px 15px; border-radius: 50px; font-size: 0.85rem; display: inline-block; margin-top: 15px; }
.btn-verify { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 1rem; width: 100%; transition: all 0.3s; color: white; cursor: pointer; }
.btn-verify:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(102,126,234,0.4); }
.resend-link { color: #667eea; text-decoration: none; font-size: 0.9rem; cursor: pointer; }
.resend-link:hover { text-decoration: underline; }
@media (max-width: 576px) { .form-section { padding: 30px 25px; } .login-title { font-size: 1.5rem; } .navbar { height: 70px; } .navbar-brand img { height: 80px; } .auth-wrapper { min-height: calc(100vh - 70px); } .modal-otp-box { width: 45px; height: 55px; font-size: 24px; } }
@media (max-width: 380px) { .modal-otp-box { width: 38px; height: 48px; font-size: 20px; } .modal-otp-container { gap: 6px; } }

/* Custom styles migrated from inline HTML attributes */
.alert-danger-custom {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}
.alert-success-custom {
    background: rgba(40, 167, 69, 0.1) !important;
    color: #28a745 !important;
}