.srs-form-container {
    max-width: 600px;
    margin: 30px auto;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.srs-form-title {
    font-size: 20px;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.4;
}

.srs-free {
    color: #009900;
    font-weight: 500;
}

.srs-form .form-group {
    margin-bottom: 28px;
    position: relative;
}

.srs-form label {
    display: block;
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 15px;
    font-weight: 600;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.srs-form label:has(+ .srs-searchable-select) {
    margin-bottom: 12px;
}

/* Styled Select Dropdowns */
.srs-form select {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
    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='%236c757d' 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;
    line-height: 1.4;
    font-weight: 400;
    min-height: 48px;
    box-sizing: border-box;
}

.srs-form select:hover {
    border-color: #009900;
    background-color: #fafbfc;
}

.srs-form select:focus {
    border-color: #009900;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.12);
    background-color: #fff;
}

.srs-form select:disabled {
    background-color: #f8f9fa;
    cursor: not-allowed;
    color: #6c757d;
    border-color: #dee2e6;
}

.srs-form select[disabled] option {
    color: #6c757d;
}

/* Loading state for Vehicle Model select */
.srs-form select.loading {
    color: #6c757d;
    background-color: #f8f9fa;
    border-color: #009900;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 50 50'%3e%3cpath fill='%23009900' d='M25,5A20.14,20.14,0,0,1,45,22.88a2.51,2.51,0,0,0,2.49,2.26h0A2.52,2.52,0,0,0,50,22.33a25.14,25.14,0,0,0-50,0,2.52,2.52,0,0,0,2.5,2.81h0A2.51,2.51,0,0,0,5,22.88,20.14,20.14,0,0,1,25,5Z'%3e%3canimateTransform attributeName='transform' type='rotate' dur='1s' repeatCount='indefinite' values='0 25 25;360 25 25'/%3e%3c/path%3e%3c/svg%3e"), url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236c757d' 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-position: right 45px center, right 15px center;
    background-size: 16px, 16px;
    padding-right: 75px;
}

/* Enhanced loading state with pulsing effect */
.srs-form select.loading {
    animation: loadingPulse 1.5s ease-in-out infinite;
}

@keyframes loadingPulse {
    0%, 100% { 
        background-color: #f8f9fa;
        border-color: #009900;
    }
    50% { 
        background-color: #f0f8f0;
        border-color: #00bb00;
    }
}

/* Searchable Select Dropdown - Enhanced Styling */
.srs-searchable-select {
    position: relative;
    width: 100%;
    display: block;
}

.srs-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    line-height: 1.4;
    font-weight: 400;
    min-height: 48px;
}

.srs-search-input::placeholder {
    color: #8b95a1;
    font-weight: 400;
}

.srs-search-input:hover {
    border-color: #009900;
    background-color: #fafbfc;
}

.srs-search-input:focus {
    border-color: #009900;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.12);
    cursor: text;
    background-color: #fff;
}

.srs-dropdown-arrow {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    pointer-events: none;
    transition: all 0.3s ease;
    font-size: 16px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.srs-searchable-select.open .srs-dropdown-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #009900;
}

.srs-dropdown-list {
    position: absolute;
    top: calc(100% + 2px);
    left: 0;
    right: 0;
    background: #fff;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    max-height: 240px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    margin-top: 4px;
}

.srs-dropdown-option {
    padding: 12px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f1f3f4;
    font-size: 14px;
    color: #2c3e50;
    line-height: 1.4;
    position: relative;
}

.srs-dropdown-option:first-child {
    border-radius: 6px 6px 0 0;
}

.srs-dropdown-option:last-child {
    border-bottom: none;
    border-radius: 0 0 6px 6px;
}

.srs-dropdown-option:hover {
    background-color: #f8f9fa;
    color: #1a1a1a;
}

.srs-dropdown-option.selected {
    background-color: #009900;
    color: #fff;
    font-weight: 500;
}

.srs-dropdown-option.highlighted {
    background-color: #e8f5e9;
    color: #2e7d32;
}

.srs-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.srs-dropdown-list::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 4px;
}

.srs-dropdown-list::-webkit-scrollbar-thumb {
    background: #dee2e6;
    border-radius: 4px;
    border: 2px solid #f8f9fa;
}

.srs-dropdown-list::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

.srs-no-results {
    padding: 20px 16px;
    text-align: center;
    color: #6c757d;
    font-style: italic;
    font-size: 14px;
}

/* Enhanced focus state for better accessibility */
.srs-searchable-select:focus-within .srs-search-input {
    border-color: #009900;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.12);
}

/* Disabled state for searchable select */
.srs-search-input:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: not-allowed;
}

.srs-search-input:disabled::placeholder {
    color: #adb5bd;
}

.srs-searchable-select:has(.srs-search-input:disabled) .srs-dropdown-arrow {
    color: #adb5bd;
}

/* Loading state */
.srs-searchable-select.loading .srs-dropdown-arrow::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid #e1e5e9;
    border-top: 2px solid #009900;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* File Upload Styling */
.srs-form .form-group:has(input[type="file"]) {
    position: relative;
}

.srs-form input[type="file"] {
    width: 100%;
    padding: 15px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    background: #fafbfc;
    font-size: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    color: #2c3e50;
    min-height: 48px;
    box-sizing: border-box;
    line-height: 1.4;
}

.srs-form input[type="file"]:hover {
    border-color: #009900;
    background: #f0f8f0;
    border-style: solid;
}

.srs-form input[type="file"]:focus {
    outline: none;
    border-color: #009900;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.12);
    background: #fff;
    border-style: solid;
}

#dump_file_label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
    font-weight: 500;
}

.file-text {
    flex: 1;
    padding: 12px 15px;
    border: 2px dashed #e0e0e0;
    border-radius: 6px 0 0 6px;
    background: #f8f9fa;
    color: #666;
    font-size: 14px;
}

.browse-btn {
    padding: 12px 20px;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-left: none;
    border-radius: 0 6px 6px 0;
    color: #333;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.browse-btn:hover {
    background: #e9ecef;
}

/* Text and Email Input Styling */
.srs-form input[type="email"],
.srs-form input[type="text"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    background-color: #fff;
    font-size: 15px;
    color: #2c3e50;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.4;
    font-weight: 400;
    min-height: 48px;
}

.srs-form input[type="email"]:hover,
.srs-form input[type="text"]:hover {
    border-color: #009900;
    background-color: #fafbfc;
}

.srs-form input[type="email"]:focus,
.srs-form input[type="text"]:focus {
    border-color: #009900;
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 153, 0, 0.12);
    background-color: #fff;
}

.srs-form input[type="email"]::placeholder,
.srs-form input[type="text"]::placeholder {
    color: #8b95a1;
    font-weight: 400;
}

.email-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 18px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 14px 20px;
    background: #009900;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #007700;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 153, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.submit-btn:disabled {
    background: #cccccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-icon {
    font-size: 20px;
}

/* Success Message */
.srs-success {
    background-color: #4caf50;
    color: white;
    padding: 15px 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* reCAPTCHA Section */
.srs-recaptcha-section {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
}

.srs-recaptcha-divider {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

.srs-recaptcha-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e0e0;
    z-index: 1;
}

.srs-divider-text {
    background: #fff;
    padding: 0 15px;
    color: #666;
    font-size: 14px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.srs-recaptcha-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 78px;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.srs-recaptcha-container .g-recaptcha {
    transform: scale(0.9);
    transform-origin: center;
}

/* Submit Section */
.srs-submit-section {
    margin-top: 25px;
    padding-top: 15px;
    text-align: center;
}

/* Chip Type Styling */
#dump_file_label span.chip-type {
    display: inline-block;
    background: #e8f5e9;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-size: 13px;
    color: #2e7d32;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 480px) {
    .srs-form-container {
        padding: 15px;
        margin: 15px;
    }

    .srs-form-title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .file-label {
        flex-direction: column;
    }

    .file-text,
    .browse-btn {
        width: 100%;
        border-radius: 6px;
        border: 2px solid #e0e0e0;
    }

    .browse-btn {
        border-top: none;
        border-radius: 0 0 6px 6px;
    }
}