/* Form feedback styles */
.form-message {
    margin: 20px 0;
    padding: 15px;
    border-radius: 5px;
    animation: fadeIn 0.3s ease-in-out;
}

.form-message.success {
    background-color: rgba(39, 174, 96, 0.1);
    border-left: 4px solid #27ae60;
    color: #27ae60;
}

.form-message.error {
    background-color: rgba(231, 76, 60, 0.1);
    border-left: 4px solid #e74c3c;
    color: #e74c3c;
}

.form-message i {
    margin-right: 8px;
}

/* Form validation styles */
input.error, select.error, textarea.error {
    border-color: #e74c3c !important;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2) !important;
}

input.success, select.success, textarea.success {
    border-color: #28a745 !important;
    box-shadow: 0 0 0 2px rgba(40, 167, 69, 0.2) !important;
}

input.checking, select.checking, textarea.checking {
    border-color: #6c757d !important;
    box-shadow: 0 0 0 2px rgba(108, 117, 125, 0.2) !important;
}

/* Availability feedback styles */
.availability-feedback {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
}

.availability-feedback.available {
    color: #28a745;
}

.availability-feedback.unavailable {
    color: #dc3545;
}

.availability-feedback.checking {
    color: #6c757d;
}

.availability-feedback.error {
    color: #ffc107;
}

.availability-feedback i {
    font-size: 10px;
}

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

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

/* Success check animation */
@keyframes checkmark {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.fa-check-circle {
    animation: checkmark 0.5s ease-in-out;
}

/* Checkbox group styling */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 8px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

/* Terms and conditions checkbox */
.terms-checkbox {
    display: flex;
    align-items: flex-start;
}

.terms-checkbox input {
    width: auto !important;
    margin-top: 5px;
    margin-right: 10px;
}

.terms-checkbox a {
    color: var(--primary-color);
    text-decoration: underline;
}

.terms-checkbox a:hover {
    color: var(--secondary-color);
}

/* Hide honeypot field */
.honeypot-field {
    display: none;
}