/* Form container styling */
.forms-field form {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.5rem !important;
}

/* Grid layout for form fields */
.forms-field .grid {
    display: grid !important;
    gap: 1.5rem !important;
}

@media (min-width: 768px) {
    .forms-field .md\:grid-cols-2 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Space between elements */
.forms-field .space-y-2>*+* {
    margin-top: 0.5rem !important;
}

.forms-field .space-y-6>*+* {
    margin-top: 1.5rem !important;
}

/* Label styling */
.forms-field label {
    display: block !important;
    font-size: 0.875rem !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

.forms-field .text-red-500 {
    color: #ef4444 !important;
}

/* Input and textarea styling */
.forms-field input[type="text"],
.forms-field input[type="email"],
.forms-field input[type="tel"],
.forms-field textarea {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
}

.forms-field input[type="text"]:hover,
.forms-field input[type="email"]:hover,
.forms-field input[type="tel"]:hover,
.forms-field textarea:hover {
    background-color: #ffffff !important;
}

.forms-field input[type="text"]:focus,
.forms-field input[type="email"]:focus,
.forms-field input[type="tel"]:focus,
.forms-field textarea:focus {
    outline: none !important;
    ring: 2px solid #f97316 !important;
    border-color: transparent !important;
    background-color: #ffffff !important;
}

/* Textarea specific styling */
.forms-field textarea {
    resize: none !important;
    min-height: 100px !important;
}

/* Checkbox styling */
.forms-field input[type="checkbox"] {
    width: 1rem !important;
    height: 1rem !important;
    color: #ea580c !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.25rem !important;
    margin-top: 0.25rem !important;
    flex-shrink: 0 !important;
}

.forms-field input[type="checkbox"]:focus {
    ring: 2px solid #f97316 !important;
}

/* Checkbox container */
.forms-field .flex {
    display: flex !important;
}

.forms-field .items-start {
    align-items: flex-start !important;
}

.forms-field .space-x-3>*+* {
    margin-left: 0.75rem !important;
}

.forms-field .flex-shrink-0 {
    flex-shrink: 0 !important;
}

/* Checkbox label styling */
.forms-field .text-sm {
    font-size: 0.875rem !important;
}

.forms-field .text-gray-600 {
    color: #4b5563 !important;
}

.forms-field .leading-relaxed {
    line-height: 1.625 !important;
}

/* Links in labels */
.forms-field a {
    color: #ea580c !important;
    text-decoration: underline !important;
    transition: color 0.3s ease !important;
}

.forms-field a:hover {
    color: #c2410c !important;
}

/* Button styling */
.forms-field button[type="submit"] {
    width: 100% !important;
    background: linear-gradient(to right, #f97316, #ea580c) !important;
    color: white !important;
    padding: 1.5rem 2rem !important;
    border-radius: 0.75rem !important;
    font-size: 1.125rem !important;
    font-weight: 700 !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    transform: scale(1) !important;
    text-align: center !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.forms-field button[type="submit"]:hover {
    background: linear-gradient(to right, #ea580c, #c2410c) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
    transform: scale(1.05) !important;
}

/* Padding and margin utilities */
.forms-field .pt-4 {
    padding-top: 1rem !important;
}

.forms-field .pt-6 {
    padding-top: 1.5rem !important;
}

.forms-field .mb-2 {
    margin-bottom: 0.5rem !important;
}

.forms-field .ml-1 {
    margin-left: 0.25rem !important;
}

.forms-field .mr-2 {
    margin-right: 0.5rem !important;
}

/* Text center utility */
.forms-field .text-center {
    text-align: center !important;
}

.forms-field .text-gray-500 {
    color: #6b7280 !important;
}

/* Security message styling */
.forms-field .text-green-500 {
    color: #10b981 !important;
}

.forms-field .inline {
    display: inline !important;
}

/* SVG icon styling */
.forms-field svg {
    width: 1rem !important;
    height: 1rem !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Placeholder styling */
.forms-field input::placeholder,
.forms-field textarea::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* Focus ring utility */
.forms-field *:focus {
    outline: 2px solid transparent !important;
    outline-offset: 2px !important;
}

/* WPForms labels */
.forms-field .wpforms-field-label {
    display: block !important;
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #374151 !important;
    margin-bottom: 0.5rem !important;
}

/* WPForms select dropdown styling */
.forms-field select.wpforms-field-large {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") !important;
    background-position: right 0.5rem center !important;
    background-repeat: no-repeat !important;
    background-size: 1.5em 1.5em !important;
    padding-right: 2.5rem !important;
    display: flex !important;
    align-items: center !important;
    height: 3rem !important;
    line-height: 1.5 !important;
}

.forms-field select.wpforms-field-large:hover {
    background-color: #ffffff !important;
}

.forms-field select.wpforms-field-large:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #f97316 !important;
    border-color: transparent !important;
    background-color: #ffffff !important;
}

/* WPForms number input styling */
.forms-field input.wpforms-field-large[type="number"] {
    width: 100% !important;
    padding: 0.75rem 1rem !important;
    border: 1px solid #d1d5db !important;
    border-radius: 0.75rem !important;
    background-color: #f9fafb !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
}

.forms-field input.wpforms-field-large[type="number"]:hover {
    background-color: #ffffff !important;
}

.forms-field input.wpforms-field-large[type="number"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px #f97316 !important;
    border-color: transparent !important;
    background-color: #ffffff !important;
}

/* WPForms placeholder styling */
.forms-field select.wpforms-field-large option.placeholder {
    color: #9ca3af !important;
}

.forms-field input.wpforms-field-large::placeholder {
    color: #9ca3af !important;
    opacity: 1 !important;
}

/* WPForms select options styling */
.forms-field select.wpforms-field-large option {
    padding: 0.5rem !important;
    background-color: #ffffff !important;
    color: #374151 !important;
}

.forms-field select.wpforms-field-large option:hover {
    background-color: #f9fafb !important;
}