/* 1. Form Container Styling */
.custom-wp-form {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2.5rem;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-sizing: border-box;
}

/* 2. Responsive Grid Layout */
.custom-wp-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Force full width on layout wrappers */
.custom-wp-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.custom-wp-form .full-width {
    grid-column: span 2;
}

/* 3. Label Styling */
.custom-wp-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333333;
    margin-bottom: 0.25rem;
}

/* 4. Input and Textarea Fields Styling */
.custom-wp-form input[type="text"],
.custom-wp-form input[type="email"],
.custom-wp-form input[type="tel"],
.custom-wp-form input[type="date"],
.custom-wp-form input[type="time"],
.custom-wp-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #495057;
    background-color: #f8f9fa;
    border: 1px solid #ced4da;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
}

/* Fixed height for the extra comments field */
.custom-wp-form textarea {
    min-height: 120px;
    resize: vertical;
}

/* Interactive Focus States */
.custom-wp-form input:focus,
.custom-wp-form textarea:focus {
    background-color: #ffffff;
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.15);
}

/* 5. Submit Button Styling */
.custom-wp-form .form-submit {
    margin-top: 1rem;
}

.custom-wp-form button[type="submit"],
.custom-wp-form input[type="submit"] {
    width: 100%;
    padding: 0.85rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #4a90e2;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

/* Submit Button Hover State */
.custom-wp-form button[type="submit"]:hover,
.custom-wp-form input[type="submit"]:hover {
    background-color: #357abd;
}

/* 6. Mobile Responsiveness */
@media (max-width: 576px) {
    .custom-wp-form {
        padding: 1.5rem;
    }
    .custom-wp-form .form-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    .custom-wp-form .full-width {
        grid-column: span 1;
    }
}
/*checkbox styles*/
.checkbox-container {
  display: flex;       /* Forces items onto the same line */
  align-items: center; /* Vertically centers the checkbox and text perfectly */
  gap: 10px;            /* Adds a clean space between the checkbox and label */
}

.checkbox-container label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #800000;
    margin-bottom: 0.25rem;
}
