.form-message {
    padding: 12px 15px;
    margin: 15px 0;
    border-radius: 5px;
    transition: opacity 0.5s ease;
}

.form-message.success {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2e7d32;
    border-left: 4px solid #2e7d32;
}

.form-message.error {
    background-color: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
    border-left: 4px solid #d32f2f;
}

.form-message.info {
    background-color: rgba(33, 150, 243, 0.1);
    color: #1976d2;
    border-left: 4px solid #1976d2;
}

/* Add some animation for form submission */
.submit-btn.submitting {
    position: relative;
    color: transparent;
}

.submit-btn.submitting::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: calc(50% - 10px);
    left: calc(50% - 10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
