/* Contact form specific styles */
.form-field {
    position: relative;
}

.form-field .error-message {
    display: none;
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.form-field.has-error .error-message {
    display: block;
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Custom radio and checkbox styles */
.custom-radio,
.custom-checkbox {
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid #d1d5db;
    border-radius: 50%;
    background-color: white;
    position: relative;
    cursor: pointer;
    transition: all 0.2s;
}

.custom-checkbox {
    border-radius: 0.25rem;
}

.custom-radio:checked,
.custom-checkbox:checked {
    border-color: #2c3e50;
    background-color: #2c3e50;
}

.custom-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0.5rem;
    height: 0.5rem;
    background-color: white;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.custom-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    color: white;
    font-size: 0.75rem;
    transform: translate(-50%, -50%);
    line-height: 1;
}

/* Notification animation */
.notification {
    animation: slideInDown 0.3s ease-out;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -100%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* Loading state */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Focus states */
.custom-radio:focus,
.custom-checkbox:focus {
    outline: 2px solid #2c3e50;
    outline-offset: 2px;
}
