/* Form Styles for AOS Website */

/* reCAPTCHA styling */
.g-recaptcha {
    margin: 20px 0;
    text-align: center;
}

/* Form validation styling */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

/* File input styling */
.custom-file-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
}

/* Form field spacing */
.contact-form .row-holder > div {
    margin-bottom: 15px;
}

/* Submit button styling */
.contact-form .btn.secondary {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.contact-form .btn.secondary:hover {
    background-color: #0056b3;
}

/* Reset button styling */
.contact-form .btn.reset-btn {
    background-color: #1e3a8a;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s;
}

.contact-form .btn.reset-btn:hover {
    background-color: #1e40af;
}

/* Checkbox and radio button styling */
.check-holder, .radio-holder {
    margin: 10px 0;
}

.custom {
    display: inline-block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

.custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #eee;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 3px;
}

.custom:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom input:checked ~ .checkmark {
    background-color: #007bff;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom input:checked ~ .checkmark:after {
    display: block;
}

.custom .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Radio button styling */
.custom.radio .checkmark {
    border-radius: 50%;
}

.custom.radio .checkmark:after {
    left: 6px;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
    border: none;
}

/* Table styling for tier structure and colors */
.quote-form-tier, .quote-form-color {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.quote-form-tier td, .quote-form-color td {
    padding: 10px;
    text-align: center;
    vertical-align: top;
    border: 1px solid #ddd;
}

.form-checkbox-img {
    max-width: 80px;
    height: auto;
    margin-bottom: 10px;
}

/* Responsive design */
@media (max-width: 768px) {
    .quote-form-tier td, .quote-form-color td {
        padding: 5px;
    }
    
    .form-checkbox-img {
        max-width: 60px;
    }
    
    .custom {
        font-size: 12px;
        padding-left: 25px;
    }
    
    .checkmark {
        height: 16px;
        width: 16px;
    }
}
