/* Form Messages */
.form-message {
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.form-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.fa-spin {
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

/* Form button states */
button[type="submit"]:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Form group focus states */
.form-group:focus-within {
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-message {
        margin: 0 1rem 1.5rem;
    }
}
