.av-contact-form {
    max_width: 600px;
    margin: 20px 0;
    font-family: inherit;
}
.av-group {
    margin-bottom: 15px;
}
.av-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}
.av-req {
    color: #cc0000;
}
.av-group input, 
.av-group textarea {
    font-size: 16px; 
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; 
}
.av-group input:focus,
.av-group textarea:focus {
    border-color: #0073aa;
    outline: none;
    box-shadow: 0 0 0 1px #0073aa;
}

/* Flexbox Checkbox */
.av-checkbox-group label {
    display: flex !important;       
    align-items: center !important; 
    font-weight: normal !important;
    cursor: pointer;
    line-height: 1.4;               
    width: 100%;                    
}
.av-checkbox-group input[type="checkbox"] {
    width: 18px !important;         
    height: 18px !important;        
    min-height: 18px !important;    
    margin: 0 12px 0 0 !important;  
    box-shadow: none !important;
    flex-shrink: 0;                 
    position: static !important;   
    appearance: auto;               
    -webkit-appearance: checkbox;   
}

/* Char Counter */
.char-counter {
    float: right;
    font-weight: normal;
    font-size: 12px;
    color: #666;
}

/* Loading Spinner */
.av-loader {
    display: none; /* JS toggles this */
    margin-left: 10px;
    font-size: 16px;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.av-website-field {
    display: none !important;
    visibility: hidden;
    position: absolute;
    left: -9999px;
}
.av-msg {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}
#av-result-message {
    scroll-margin-top: 100px;
    outline: none;
}
.av-msg.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.av-msg.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.av-gdpr-note {
    margin-top: 15px;
    color: #888;
}

/* Button */
.av-actions input[type="submit"] {
    background-color: #8b5e3b;
    width: 25%;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    color: white;
    border-radius: 2rem;
    border: 1px solid #8b5e3b;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: 600;
}
.av-actions input[type="submit"]:hover {
    background-color: #6d4a2e;
    border-color: #6d4a2e;
}
.av-actions input[type="submit"]:disabled {
    background-color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
}

@media only screen and (max-width: 600px) {
    .av-actions input[type="submit"] {
        width: 100%;
        display: block;
        margin-top: 10px;
    }
    .av-loader {
        display: block;
        text-align: center;
        margin-top: 10px;
        margin-left: 0;
    }
}