/* ============================================
   MODERN AUTH THEME - WHITE THEME
   Clean • Professional • Consistent
   ============================================ */

/* Auth Layout */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    position: relative;
}

/* Auth Card */
.auth-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e9ecef;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-icon {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.auth-icon i {
    color: #495057;
    font-size: 1.5rem;
}

.auth-title {
    color: #212529;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.auth-badge {
    background: #f8f9fa;
    color: #495057;
    border: 1px solid #e9ecef;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Auth Form */
.auth-form {
    margin-bottom: 1.5rem;
}

.auth-input-group {
    margin-bottom: 1rem;
}

.auth-input-group .input-group-text {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-right: none;
    color: #495057;
}

.auth-input-group .form-control {
    border: 1px solid #e9ecef;
    border-left: none;
    background: #ffffff;
    color: #212529;
    padding: 0.75rem;
}

.auth-input-group .form-control:focus {
    border-color: #495057;
    box-shadow: 0 0 0 0.2rem rgba(73, 80, 87, 0.25);
    background: #ffffff;
    color: #212529;
}

.auth-input-group .form-control::placeholder {
    color: #6c757d;
}

/* Auth Button */
.auth-btn {
    width: 100%;
    padding: 0.75rem;
    border-radius: 12px;
    background: #212529;
    border: none;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.auth-btn:hover {
    background: #495057;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 37, 41, 0.4);
    color: white;
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.auth-btn-loading {
    display: none;
}

.auth-btn.loading .auth-btn-content {
    display: none;
}

.auth-btn.loading .auth-btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Auth Footer */
.auth-footer {
    text-align: center;
}

.auth-back-btn {
    color: #6c757d;
    border: 1px solid #e9ecef;
    background: #f8f9fa;
    border-radius: 12px;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.auth-back-btn:hover {
    background: #212529;
    color: white;
    border-color: #212529;
    text-decoration: none;
}

/* Role Selection */
.role-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.role-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    color: inherit;
}

.role-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border-color: #495057;
    background: #ffffff;
    text-decoration: none;
    color: inherit;
}

.role-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.role-icon i {
    color: #495057;
    font-size: 1.2rem;
}

.role-title {
    color: #212529;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.role-desc {
    color: #6c757d;
    font-size: 0.85rem;
    margin: 0;
}

/* Decorative Elements - Minimal */
.auth-decorations {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.auth-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(248, 249, 250, 0.5);
    animation: authFloat 8s ease-in-out infinite;
}

.auth-circle-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation-duration: 8s;
}

.auth-circle-2 {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 10%;
    background: rgba(233, 236, 239, 0.5);
    animation-duration: 10s;
    animation-direction: reverse;
}

.auth-circle-3 {
    width: 100px;
    height: 100px;
    top: 30%;
    left: 20%;
    background: rgba(248, 249, 250, 0.3);
    animation-duration: 12s;
}

@keyframes authFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
    }
    50% { 
        transform: translateY(-30px) rotate(180deg); 
    }
}

/* Responsive */
@media (max-width: 768px) {
    .auth-card {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .role-grid {
        grid-template-columns: 1fr;
    }
    
    .auth-circle-1,
    .auth-circle-2,
    .auth-circle-3 {
        display: none;
    }
}

/* Notification Styles */
.notification-popup {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}