/* Form Input Fixes - Remove white backgrounds and fix validation */
.cs-form-input {
    color: #28aa98 !important; /* Teal color for better readability */
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important; /* Remove white background */
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width calculation */
    height: 60px; /* Fixed height for all inputs */
    line-height: 1.2; /* Better text alignment */
}

/* Focus state - keep teal color */
.cs-form-input:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

.cs-form-input::placeholder {
    color: #28aa98 !important; /* Teal placeholder text */
    -webkit-text-fill-color: #28aa98 !important;
    opacity: 0.7;
}

/* Prevent autofill from changing background color */
.cs-form-input:-webkit-autofill,
.cs-form-input:-webkit-autofill:hover,
.cs-form-input:-webkit-autofill:focus,
.cs-form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Hours per week input - teal text */
.cs-hours-input-group input {
    color: #28aa98 !important; /* Teal color for visibility */
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

.cs-hours-input-group input:focus {
    color: #28aa98 !important; /* Maintain teal on focus */
    -webkit-text-fill-color: #28aa98 !important;
    outline: none;
    border-color: #2dc0a8;
    box-shadow: 0 0 0 3px rgba(45, 192, 168, 0.1);
}

/* Prevent autofill from changing background color for hours inputs */
.cs-hours-input-group input:-webkit-autofill,
.cs-hours-input-group input:-webkit-autofill:hover,
.cs-hours-input-group input:-webkit-autofill:focus,
.cs-hours-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    background-clip: content-box !important;
    transition: background-color 5000s ease-in-out 0s;
}

.cs-form-textarea {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    resize: vertical;
    line-height: 1.4;
}

.cs-form-textarea:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

.cs-form-textarea::placeholder {
    color: #28aa98 !important; /* Teal placeholder text */
    -webkit-text-fill-color: #28aa98 !important;
    opacity: 0.7;
}

.cs-form-select {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 60px;
    cursor: pointer;
    appearance: none;
    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='%2328aa98' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.cs-form-select:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

/* Date input specific styling - teal text and calendar icon */
input[type="date"].cs-form-input {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    width: 100%; /* Ensure full width */
    box-sizing: border-box; /* Include padding in width calculation */
}

input[type="date"].cs-form-input:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
}

/* Prevent autofill from changing background color for date inputs */
input[type="date"].cs-form-input:-webkit-autofill,
input[type="date"].cs-form-input:-webkit-autofill:hover,
input[type="date"].cs-form-input:-webkit-autofill:focus,
input[type="date"].cs-form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    background-clip: content-box !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Calendar icon color - change from green to teal */
input[type="date"].cs-form-input::-webkit-calendar-picker-indicator {
    filter: hue-rotate(180deg) saturate(1.5) brightness(0.8);
    cursor: pointer;
}

input[type="date"].cs-form-input::-webkit-calendar-picker-indicator:hover {
    filter: hue-rotate(180deg) saturate(2) brightness(1);
}

/* Form layout fixes */
.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cs-form-row .cs-form-group {
    flex: 1;
}

/* Date and training hours on same line - make them equal size */
.cs-date-training-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.cs-date-training-row .cs-form-group {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink */
}

/* Ensure date and training inputs are the same size */
.cs-date-group,
.cs-training-group {
    flex: 1;
    min-width: 0; /* Allow flex items to shrink */
}

.cs-date-group input,
.cs-training-group input {
    width: 100%;
    box-sizing: border-box;
}

/* Submit button - reset to original design */
.cs-form-submit {
    background: linear-gradient(135deg, #28aa98 0%, #1a7a6b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 170, 152, 0.3);
}

.cs-form-submit:hover {
    background: linear-gradient(135deg, #1a7a6b 0%, #28aa98 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 170, 152, 0.4);
}

.cs-form-submit:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 170, 152, 0.3);
}

/* Disabled button state */
.cs-form-submit:disabled {
    background: #cccccc;
    color: #666666;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cs-form-submit:disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Completely disable all browser validation popups and tooltips */
.cs-contact-form,
.cs-contact-form-duplicate,
.cs-contact-form-third {
    -webkit-appearance: none;
}

.cs-contact-form input,
.cs-contact-form textarea,
.cs-contact-form select,
.cs-contact-form-duplicate input,
.cs-contact-form-duplicate textarea,
.cs-contact-form-duplicate select,
.cs-contact-form-third input,
.cs-contact-form-third textarea,
.cs-contact-form-third select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

/* Disable validation tooltips */
.cs-contact-form input::-webkit-validation-bubble-message,
.cs-contact-form textarea::-webkit-validation-bubble-message,
.cs-contact-form select::-webkit-validation-bubble-message,
.cs-contact-form-duplicate input::-webkit-validation-bubble-message,
.cs-contact-form-duplicate textarea::-webkit-validation-bubble-message,
.cs-contact-form-duplicate select::-webkit-validation-bubble-message,
.cs-contact-form-third input::-webkit-validation-bubble-message,
.cs-contact-form-third textarea::-webkit-validation-bubble-message,
.cs-contact-form-third select::-webkit-validation-bubble-message {
    display: none !important;
}

/* Disable HTML5 validation messages */
.cs-contact-form input:invalid,
.cs-contact-form textarea:invalid,
.cs-contact-form select:invalid,
.cs-contact-form-duplicate input:invalid,
.cs-contact-form-duplicate textarea:invalid,
.cs-contact-form-duplicate select:invalid,
.cs-contact-form-third input:invalid,
.cs-contact-form-third textarea:invalid,
.cs-contact-form-third select:invalid {
    box-shadow: none !important;
}

/* Remove any browser default validation styling */
.cs-contact-form input:required,
.cs-contact-form textarea:required,
.cs-contact-form select:required,
.cs-contact-form-duplicate input:required,
.cs-contact-form-duplicate textarea:required,
.cs-contact-form-duplicate select:required,
.cs-contact-form-third input:required,
.cs-contact-form-third textarea:required,
.cs-contact-form-third select:required {
    box-shadow: none !important;
}

/* Disable autocomplete suggestions */
.cs-contact-form input,
.cs-contact-form-duplicate input,
.cs-contact-form-third input {
    -webkit-autofill: none;
    -webkit-autofill-color: transparent;
    -webkit-autofill-background-color: transparent;
}

/* Remove any browser default focus indicators that might show validation */
.cs-contact-form input:focus,
.cs-contact-form textarea:focus,
.cs-contact-form select:focus,
.cs-contact-form-duplicate input:focus,
.cs-contact-form-duplicate textarea:focus,
.cs-contact-form-duplicate select:focus,
.cs-contact-form-third input:focus,
.cs-contact-form-third textarea:focus,
.cs-contact-form-third select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2) !important;
}

/* Teal gradient text for all form labels and text */
.cs-form-group label,
.cs-form-section h4,
.cs-form-header h3 {
    background: linear-gradient(135deg, #428180 0%, #28aa98 35%, #2dc0a8 65%, #1c4244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

/* Select dropdown options styling */
.cs-form-select option {
    background: white;
    color: #1c4244;
    padding: 10px;
}

/* Mobile responsive fixes */
@media (max-width: 768px) {
    .cs-form-row,
    .cs-date-training-row,
    .cs-role-row,
    .cs-selection-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cs-form-input,
    .cs-form-textarea,
    .cs-form-select,
    .cs-hours-input {
        height: 55px;
        font-size: 0.95rem;
    }
    
    .cs-form-textarea {
        min-height: 100px;
    }
    
    .cs-form-submit,
    .cs-form-submit-third {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* Remove any remaining white backgrounds */
.cs-form-input,
.cs-form-textarea,
.cs-form-select,
.cs-hours-input {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Fix form layout - prevent squashing */
.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.cs-form-row .cs-form-input {
    flex: 1;
    min-width: 200px;
}

/* Fix date and training hours layout to fit on one line */
.cs-form-row .cs-date-group,
.cs-form-row .cs-training-group {
    flex: 1;
    min-width: 200px;
}

/* Ensure all form elements maintain teal color consistently */
.cs-form-input,
.cs-form-textarea,
.cs-form-select,
.cs-hours-input {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
}

.cs-form-input:focus,
.cs-form-textarea:focus,
.cs-form-select:focus,
.cs-hours-input:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
}

/* Override any conflicting styles from main.css */
.cs-form-input,
.cs-form-textarea,
.cs-form-select,
.cs-hours-input {
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    background-size: unset !important;
    animation: none !important;
}

/* Ensure select dropdown text stays teal when options are selected */
.cs-form-select:not([value=""]) {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
}

/* Fix for Firefox and other browsers */
.cs-form-select option:checked {
    background: linear-gradient(135deg, #428180 0%, #28aa98 35%, #2dc0a8 65%, #1c4244 100%);
    color: white;
}

.cs-form-select option:hover {
    background: #28aa98;
    color: white;
}

/* Apply teal gradient to all text elements */
.cs-form-header h3,
.cs-form-header p,
.cs-form-section h4,
.cs-role-input-group label,
.cs-textarea-group label,
.cs-selection-group label,
.cs-date-group label,
.cs-training-group label {
    background: linear-gradient(135deg, #428180 0%, #28aa98 35%, #2dc0a8 65%, #1c4244 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Remove browser validation popup text completely */
/* .cs-form-input:invalid,
.cs-form-textarea:invalid,
.cs-form-select:invalid,
.cs-hours-input:invalid {
    box-shadow: none;
} */

/* Remove browser validation tooltips */
/* .cs-form-input::-webkit-validation-bubble-message,
.cs-form-textarea::-webkit-validation-bubble-message,
.cs-form-select::-webkit-validation-bubble-message {
    display: none;
} */

/* Remove Firefox validation styling */
/* .cs-form-input:invalid,
.cs-form-textarea:invalid,
.cs-form-select:invalid,
.cs-hours-input:invalid {
    box-shadow: none !important;
} */

/* Remove IE/Edge validation styling */
/* .cs-form-input:-ms-input-placeholder,
.cs-form-textarea:-ms-input-placeholder,
.cs-form-select:-ms-input-placeholder {
    color: #28aa98 !important;
} */

/* Required field indicator styling */
/* .cs-role-input-group label:contains("*"),
.cs-hours-input-group label:contains("*") {
    color: #e74c3c !important;
    -webkit-text-fill-color: #e74c3c !important;
} */

/* Hours per week inputs - specific styling */
.cs-hours-input {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 60px; /* Same height as other inputs */
    line-height: 1.2;
}

.cs-hours-input:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

/* Prevent autofill for hours inputs */
.cs-hours-input:-webkit-autofill,
.cs-hours-input:-webkit-autofill:hover,
.cs-hours-input:-webkit-autofill:focus,
.cs-hours-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Date inputs - specific styling */
.cs-form-input[type="date"] {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 60px; /* Same height as other inputs */
    line-height: 1.2;
}

.cs-form-input[type="date"]:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

/* Calendar icon color for date inputs */
.cs-form-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(130deg) brightness(118%) contrast(119%);
    cursor: pointer;
}

/* Prevent autofill for date inputs */
.cs-form-input[type="date"]:-webkit-autofill,
.cs-form-input[type="date"]:-webkit-autofill:hover,
.cs-form-input[type="date"]:-webkit-autofill:focus,
.cs-form-input[type="date"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Select dropdowns */
.cs-form-select {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    height: 60px; /* Same height as other inputs */
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2328aa98' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.cs-form-select:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

/* Select dropdown options */
.cs-form-select option {
    background: white;
    color: #1a5f5a;
    font-weight: 600;
    padding: 10px;
}

/* Large text areas - remove resize functionality */
.cs-form-textarea {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    -webkit-background-clip: unset !important;
    background-clip: unset !important;
    border: 1.5px solid var(--color-primary-mid1);
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
    min-height: 120px;
    resize: none; /* Remove resize functionality */
    line-height: 1.5;
    font-family: inherit;
}

.cs-form-textarea:focus {
    color: #28aa98 !important;
    -webkit-text-fill-color: #28aa98 !important;
    border-color: #28aa98;
    outline: none;
    box-shadow: 0 0 0 2px rgba(40, 170, 152, 0.2);
}

/* Prevent autofill for textareas */
.cs-form-textarea:-webkit-autofill,
.cs-form-textarea:-webkit-autofill:hover,
.cs-form-textarea:-webkit-autofill:focus,
.cs-form-textarea:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    background: transparent !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Form groups for equal sizing */
.cs-date-group,
.cs-training-group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cs-date-group label,
.cs-training-group label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #28aa98;
}

/* Validation styles */
/* .cs-form-input.error,
.cs-hours-input.error,
.cs-form-select.error,
.cs-form-textarea.error,
.cs-form-input[type="date"].error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
} */

/* Remove browser validation popups */
/* .cs-form-input:invalid,
.cs-hours-input:invalid,
.cs-form-select:invalid,
.cs-form-textarea:invalid,
.cs-form-input[type="date"]:invalid {
    box-shadow: none;
} */

/* Required field indicator */
/* .cs-required {
    color: #e74c3c;
    font-weight: bold;
    margin-left: 4px;
} */

/* Prevent autofill styling */
/* .cs-form-input:-webkit-autofill,
.cs-form-input:-webkit-autofill:hover,
.cs-form-input:-webkit-autofill:focus,
.cs-form-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    transition: background-color 5000s ease-in-out 0s;
} */

/* .cs-hours-input:-webkit-autofill,
.cs-hours-input:-webkit-autofill:hover,
.cs-hours-input:-webkit-autofill:focus,
.cs-hours-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    transition: background-color 5000s ease-in-out 0s;
} */

/* .cs-form-input[type="date"]:-webkit-autofill,
.cs-form-input[type="date"]:-webkit-autofill:hover,
.cs-form-input[type="date"]:-webkit-autofill:focus,
.cs-form-input[type="date"]:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px transparent inset !important;
    -webkit-text-fill-color: #28aa98 !important;
    transition: background-color 5000s ease-in-out 0s;
} */

/* Form group layout fixes */
.cs-date-group,
.cs-training-group {
    flex: 1;
    min-width: 0;
}

/* Disable browser validation popups */
.cs-contact-form {
    novalidate: true;
}

/* Remove browser validation styling */
/* .cs-form-input:invalid,
.cs-hours-input:invalid,
.cs-form-input[type="date"]:invalid,
.cs-form-select:invalid,
.cs-form-textarea:invalid {
    box-shadow: none;
} */

/* Required field asterisk styling */
label:has(+ input[required]),
label:has(+ textarea[required]),
label:has(+ select[required]) {
    position: relative;
}

/* Ensure asterisks are visible */
.cs-role-input-group label,
.cs-selection-group label,
.cs-date-group label,
.cs-training-group label,
.cs-textarea-group label {
    color: #28aa98;
    font-weight: 600;
}

/* Form layout improvements */
.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cs-role-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.cs-selection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.cs-form-section {
    margin-bottom: 30px;
}

.cs-form-section h4 {
    color: #28aa98;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Third form submit button with teal gradient */
.cs-form-submit-third {
    background: linear-gradient(135deg, #28aa98 0%, #1a7a6b 100%);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(40, 170, 152, 0.3);
}

.cs-form-submit-third:hover {
    background: linear-gradient(135deg, #1a7a6b 0%, #28aa98 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 170, 152, 0.4);
}

.cs-form-submit-third:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(40, 170, 152, 0.3);
}

/* Date input calendar icon styling */
input[type="date"] {
    position: relative;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(130deg) brightness(118%) contrast(119%);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    filter: invert(48%) sepia(79%) saturate(2476%) hue-rotate(130deg) brightness(90%) contrast(119%);
    transform: scale(1.1);
}

/* Validation error styling - REMOVED - no red outlines */
/* .cs-form-input.error,
.cs-form-textarea.error,
.cs-form-select.error,
.cs-hours-input.error {
    border-color: #ff4444 !important;
    box-shadow: 0 0 0 2px rgba(255, 68, 68, 0.2) !important;
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
} */

/* Remove browser validation popups */
.cs-contact-form-duplicate,
.cs-contact-form-third {
    novalidate: true;
}

/* Required field asterisk styling */
label:has(+ input[required]),
label:has(+ textarea[required]),
label:has(+ select[required]) {
    position: relative;
}

/* Ensure asterisks are visible */
.cs-role-input-group label,
.cs-selection-group label,
.cs-date-group label,
.cs-training-group label,
.cs-textarea-group label {
    color: #28aa98;
    font-weight: 600;
}

/* Form layout improvements */
.cs-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.cs-role-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.cs-selection-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 15px;
}

.cs-form-section {
    margin-bottom: 30px;
}

.cs-form-section h4 {
    color: #28aa98;
    margin-bottom: 15px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .cs-form-row,
    .cs-role-row,
    .cs-selection-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .cs-form-input,
    .cs-form-textarea,
    .cs-form-select,
    .cs-hours-input {
        height: 55px;
        font-size: 0.95rem;
    }
    
    .cs-form-textarea {
        min-height: 100px;
    }
    
    .cs-form-submit,
    .cs-form-submit-third {
        padding: 16px 30px;
        font-size: 1rem;
    }
}

/* Form Stage Management */
.form-stage {
    width: 100%;
    transition: opacity 0.3s ease-in-out;
}

.form-stage.hidden {
    display: none !important;
}

.form-stage.visible {
    display: block !important;
}

/* Calendly Widget Styling */
.calendly-inline-widget {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
}

/* Ensure form container maintains consistent spacing */
.cs-final-form {
    position: relative;
    min-height: 800px; /* Increased height to accommodate calendar */
}

/* Stage 2 specific styling */
#stage-2 {
    width: 100%;
    padding: 20px 0;
}

#stage-2 .cs-form-header {
    margin-bottom: 30px;
}

/* Center input group and extend to full width */
.cs-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cs-input-group label {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #24cfb4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

/* Ensure form rows are single column for this form */
.cs-contact-form-third .cs-form-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

/* Ensure input fills the group */
.cs-input-group .cs-form-input {
    width: 90%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* Move Next Stage button down */
.cs-form-submit-third {
    margin-top: 50px !important;
    align-self: center;
}

@media (max-width: 600px) {
  .cs-input-group .cs-form-input {
    width: 100%;
    min-width: 0;
  }
  .cs-contact-form-third .cs-form-section {
    min-height: 0;
  }
}

/* --- FORM VARIANTS FOR STAGE 1 --- */

/* Gradient Title Styling */
.cs-form-title-gradient {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #24cfb4 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    letter-spacing: -1px;
}

.cs-form-header p {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 32px;
    color: #333;
}

/* Table Action Buttons */
.cs-table-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.cs-table-actions .cs-button-solid {
    background: linear-gradient(135deg, #24cfb4 0%, #10b981 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.cs-table-actions .cs-button-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.cs-table-actions .cs-button-outline {
    background: transparent;
    color: #24cfb4;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid #24cfb4;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    min-width: 160px;
}

.cs-table-actions .cs-button-outline:hover {
    background: #24cfb4;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(36, 207, 180, 0.3);
}

/* Form container styling - no background or container effects */
.cs-contact-form-third {
    margin: 0 auto;
    max-width: 480px;
    width: 100%;
}

/* Form rows styling */
.cs-contact-form-third .cs-form-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 24px;
    width: 100%;
}

/* Input group styling */
.cs-input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.cs-input-group label {
    text-align: center;
    width: 100%;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #24cfb4, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.cs-input-group .cs-form-input {
    width: 100%;
    margin: 0;
    display: block;
}

/* Button styling */
.cs-contact-form-third .cs-button-solid {
    background: linear-gradient(135deg, #24cfb4 0%, #10b981 100%);
    color: white;
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 50px;
}

.cs-contact-form-third .cs-button-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .cs-form-title-gradient {
        font-size: 1.8rem;
    }
    
    .cs-table-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cs-table-actions .cs-button-solid,
    .cs-table-actions .cs-button-outline {
        width: 100%;
        max-width: 280px;
    }
}

/* FAQ Enhancements */
.cs-faq-item .cs-faq-answer {
    padding: 24px 32px 32px 32px;
    line-height: 1.7;
}

/* Roles Comparison Table */
.cs-roles-header {
    text-align: center;
    margin-bottom: 40px;
}

.cs-roles-headline {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cs-roles-subtext {
    font-size: 1.2rem;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cs-roles-headline {
        font-size: 2rem;
    }
    
    .cs-roles-subtext {
        font-size: 1.1rem;
    }
}

.cs-roles-table {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Rate and check styling */
.rate-our {
    color: #24cfb4;
    font-weight: bold;
    font-size: 1.1rem;
}

.check {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.cs-roles-table th,
.cs-roles-table td {
    padding: 16px 12px;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.cs-roles-table th {
    background: linear-gradient(135deg, #24cfb4 0%, #10b981 100%);
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.cs-roles-table td {
    font-size: 0.9rem;
    color: #333;
}

.cs-roles-table tr:last-child td {
    border-bottom: none;
}

.cs-roles-table .tick {
    color: #10b981;
    font-weight: bold;
    font-size: 1.1rem;
}

.cs-roles-table .cross {
    color: #ef4444;
    font-weight: bold;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .cs-roles-table {
        font-size: 0.8rem;
    }
    
    .cs-roles-table th,
    .cs-roles-table td {
        padding: 12px 8px;
    }
}

/* Hero CTA Button Symmetry */
.cs-hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}

.cs-hero-cta .cs-btn-primary,
.cs-hero-cta .cs-btn-secondary {
    min-width: 140px;
    text-align: center;
    flex: 1;
    max-width: 160px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cs-hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    
    .cs-hero-cta .cs-btn-primary,
    .cs-hero-cta .cs-btn-secondary {
        width: 100%;
        max-width: 280px;
        height: 56px;
    }
}

/* Extended Button Styling for "Get started now" */
.cs-btn-primary.extended {
    min-width: 200px;
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .cs-btn-primary.extended {
        min-width: 220px;
        width: 100%;
        max-width: 320px;
        padding: 16px 32px;
        height: 56px;
    }
}

/* General button centering and height consistency */
.cs-btn-primary,
.cs-btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 56px;
    line-height: 1.2;
    padding: 16px 24px;
    font-size: 1.1rem;
    font-weight: 600;
} 