/* Custom Auth Styles */
.btn-spinner {
    display: inline-block;
}

.btn-spinner i {
    margin-right: 5px;
}

.alert {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: none;
    font-weight: 500;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid #28a745;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.alert i {
    margin-right: 8px;
}

.btn-close {
    background: none;
    border: none;
    font-size: 20px;
    line-height: 1;
    opacity: 0.7;
    cursor: pointer;
    color: inherit;
    padding: 0;
    margin-left: 10px;
    float: right;
    font-weight: bold;
}

.btn-close:hover {
    opacity: 1;
    color: inherit;
}

.invalid-feedback {
    display: block;
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

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

.fa-spinner {
    animation: spin 1s linear infinite;
}

/* Button disabled state */
.btn--base:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Alert animations */
.alert {
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Form validation styles */
.form-group {
    position: relative;
}

.invalid-feedback {
    position: absolute;
    bottom: -20px;
    left: 0;
    font-size: 11px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #alertContainer {
        top: 10px;
        right: 10px;
        left: 10px;
    }
    
    .alert {
        min-width: auto !important;
        margin-bottom: 5px !important;
    }
} 