/* Fullscreen Login Container */
.fullscreen-login {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #eeedef 100%);
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 400px;
}

.login-box {
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.login-title {
    text-align: center;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 28px;
    font-weight: 700;
}

.login-subtitle {
    text-align: center;
    margin-bottom: 30px;
    color: #7f8c8d;
    font-size: 16px;
    font-weight: 400;
}

.login-form .form-group {
    margin-bottom: 20px;
}

.login-form label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 600;
    font-size: 14px;
}

.login-form .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 16px;
    color: #495057;
    transition: all 0.3s;
    background-color: white;
}

.login-form .form-control:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.login-form .form-control:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    opacity: 0.7;
}

.error-message {
    padding: 12px;
    margin-bottom: 20px;
    background-color: #fdf2f2;
    color: #e74c3c;
    border-radius: 6px;
    font-size: 14px;
    border: 1px solid #f5c6cb;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-actions {
    margin-top: 30px;
}

.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-login:hover:not(:disabled) {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(52, 152, 219, 0.2);
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.login-hint {
    margin-top: 25px;
    text-align: center;
    color: #7f8c8d;
    font-size: 14px;
    line-height: 1.5;
}

.login-hint .small-hint {
    font-size: 12px;
    margin-top: 5px;
    color: #95a5a6;
    font-style: italic;
}

/* Spinner for loading state */
.btn-login .spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive styles */
@media (max-width: 480px) {
    .login-box {
        padding: 30px 20px;
    }
    
    .login-title {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 14px;
    }
}
