/* Login Card Custom Styles */
.login-card {
    background: #23262b;
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2.5rem 2rem 2rem 2rem;
    max-width: 400px;
    margin: 60px auto 60px auto;
    color: #fff;
}

.login-card .alert {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.login-card .alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.login-card .form-group {
    position: relative;
    margin-bottom: 1rem;
}

.login-card .form-control {
    background: #181a1f;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 0.75rem 0.75rem 2.5rem;
    width: 100%;
    height: 48px;
}

.login-card .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

.login-card .btn-primary {
    background: #3399ff;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: background 0.2s;
}

.login-card .btn-primary:hover {
    background: #2677cc;
}

.login-card .forgot-link {
    color: #b0b0b0;
    font-size: 0.95rem;
    text-decoration: none;
}

.login-card .forgot-link:hover {
    text-decoration: underline;
}

@media (max-width: 500px) {
    .login-card {
        padding: 1.5rem 0.5rem 1.5rem 0.5rem;
    }
}

/* Forgot Password Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: #23262b;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { transform: translateY(-50px) scale(0.9); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    color: #fff;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    color: #888;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #333;
    color: #fff;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid #333;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Modal Alert */
.modal-alert {
    border-radius: 8px;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.modal-alert.alert-success {
    background: rgba(40, 167, 69, 0.1);
    border: 1px solid rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.modal-alert.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Modal Form Styles */
.modal-body .form-group {
    margin-bottom: 1.5rem;
}

.modal-body label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-weight: 500;
}

.modal-body .input-wrapper {
    position: relative;
}

.modal-body .form-control {
    background: #181a1f;
    border: 1px solid #333;
    color: #fff;
    border-radius: 8px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    width: 100%;
    height: 48px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.modal-body .form-control:focus {
    border-color: #3399ff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(51, 153, 255, 0.25);
}

.modal-body .form-control::placeholder {
    color: #888;
}

.modal-body .input-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1rem;
    z-index: 2;
    pointer-events: none;
}

/* Modal Buttons */
.modal-footer .btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.modal-footer .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.modal-footer .btn-primary {
    background: #3399ff;
    color: #fff;
}

.modal-footer .btn-primary:hover:not(:disabled) {
    background: #2280e6;
}

.modal-footer .btn-secondary {
    background: #6c757d;
    color: #fff;
}

.modal-footer .btn-secondary:hover {
    background: #5a6268;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
        justify-content: center;
    }
} 