
.required-note {
    text-align: center;
    margin-bottom: 0;
    margin-top: 50px;
}

.required-note span {
    color: #c02b0a;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 8px;
    gap: 12px;
}

.form-column {
    flex: 1;
    min-width: 250px;
}

.form-field {
    margin-bottom: 6px;
}

.field-row {
    display: flex;
    gap: 10px;
}

.field-row span {
    flex: 1;
}

.form-row.justified .form-column {
    flex: unset;
}

.form label,
.form .label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #112337;
    font-family: "Panama", sans-serif;
}

.form label .required,
.form .label .required {
    color: #d83600;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field input[type="number"],
.form-field input[type="date"],
.form-field textarea,
.form-field select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #686e77;
    border-radius: 3px;
    background-color: #fff;
    font-size: 14px;
    line-height: 1.3;
    font-family: 'Inter', Helvetica, sans-serif;
    transition: .15s;
    min-height: 41.6px;
}

.form-field input[type="text"]:focus,
.form-field input[type="email"]:focus,
.form-field input[type="tel"]:focus,
.form-field input[type="number"]:focus,
.form-field input[type="date"]:focus,
.form-field textarea:focus,
.form-field select:focus {
    outline-color: rgb(32 76 229 / 65%);
    outline-offset: 1px;
    outline-style: solid;
    outline-width: 3px;
}

.form-field textarea {
    height: 80px;
    resize: vertical;
    display: block;
}

.form-field select {
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6"><path d="M0,0 L12,0 L6,6 Z" fill="%23333"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
}

.checkbox-group {
    margin-bottom: 4px;
}

.checkbox-group__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.checkbox-group legend {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 500;
}

.checkbox-group label {
    cursor: pointer;
    display: flex;
    align-items: center;
    margin: 0;
}

.checkbox-group label a {
    font-family: inherit;
    text-decoration: underline;
}

.checkbox-group label a:hover {
    text-decoration: none;
}

.checkbox-group input[type="checkbox"] {
    cursor: pointer;
    margin: 0 6px 0 0;
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
}

.radio-item,
.form label.radio-item,
.form .label.radio-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.4;
}

.radio-item input[type="radio"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    margin-top: 0;
}

.radio-item span {
    user-select: none;
}


.form-field input[type="date"] {
    max-width: 235px;
}

.checkbox-group .wpcf7-list-item {
    margin-bottom: 0;
}

.checkbox-group .wpcf7-list-item label {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0;
}

.time-field {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.time-field input[type="number"] {
    -moz-appearance: textfield; /* Firefox */
    width: 100%;
    min-width: 0; /* Prevents flexbox issues */
}

.time-field input[type="number"]:focus {
    border-color: #81f249;
    outline: none;
    box-shadow: 0 0 0 1px rgba(129, 242, 73, 0.3);
}

.time-field input[type="number"]::-webkit-outer-spin-button,
.time-field input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.time-field .ampm {
    width: 80px;
    flex-shrink: 0;
}

/* Helper text for time fields */
.time-helper {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
    display: block;
}

.number-field {
    position: relative;
}

.form-field .number-field {
    width: 50% !important;
    min-width: 180px;
}

.helper-text {
    font-family: 'Inter', Helvetica, sans-serif;
    font-weight: 300;
    font-size: 13px;
    line-height: 18px;
    color: #112337;
    margin-top: 8px;
}

.form-submit {
    position: relative;
    display: inline-block;
    margin-top: 30px;
    width: 100%;
    height: 42px;
  }
  
.form-submit .loader {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 8px;
    text-align: center;
    line-height: 0;
}
  
.form-submit .loader::before,
.form-submit .loader::after,
.form-submit .loader span {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    margin: 0 2px;
    background-color: #0d0d0d;
    border-radius: 50%;
    animation: loader-dots 1.2s infinite ease-in-out;
    vertical-align: middle;
}
  
.form-submit .loader::before { animation-delay: -0.24s; }
.form-submit .loader span { animation-delay: -0.12s; }
  
@keyframes loader-dots {
    0%, 80%, 100% { transform: scale(0); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}
  
/* When loading */
.form-submit.loading input[type="submit"] {
    color: transparent;
    pointer-events: none;
}
  
.form-submit.loading .loader {
    display: inline-block;
}
  
.form-submit input[type="submit"] {
    background-color: #81f249;
    border: none;
    color: #0d0d0d;
    padding: 12px 40px;
    font-size: 16px;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s ease;
    font-weight: 500;
    letter-spacing: 1px;
    width: 100%;
    height: 100%;
}
  
.form-submit input[type="submit"]:disabled {
    background-color: transparent;
    pointer-events: none;
    border: 1px solid #0d0d0d;
}

.form-submit input[type="submit"]:not(:disabled):hover {
    background-color: #6ad53a;
}

.form-field input[aria-invalid="true"] {
    border-color: #c02b0a;
}

.wpcf7-not-valid-tip,
.not-valid-tip {
    font-weight: normal;
    display: none;
    font-size: 13px;
    color: #c02b0a;
    margin-top: 5px;
}

.response {
    margin: 20px 0 0;
    padding: 10px;
    border: none;
    font-size: 14px;
    text-align: center;
    display: none;
}

div.wpcf7-validation-errors {
    background-color: #fff3cd;
    color: #856404;
}

div.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    color: #155724;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row.justified {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .form-column {
        width: 100%;
    }

    .form-row.justified .form-column {
        min-width: unset;
    }

    .form-field input[type="date"] {
        max-width: 100%;
    }
} 