.spr-form-wrapper {
    max-width: 500px;
    padding: 30px 10px;
    border-radius: 16px;
}

.spr-form-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--bs-gray-300);
}

.spr-form-header h3 {
    margin-bottom: 10px;
    font-size: 24px;
    font-weight: 700;
}

.spr-form-header p {
    color: var(--bs-gray-700);
    font-size: 16px;
    margin: 0;
}

.spr-field {
    margin-bottom: 24px;
    position: relative;
}

.spr-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 16px;
}

/* Hide ALL native selects */
.spr-custom-select select.native-select {
    display: none !important;
}

/* Custom Select Container */
.spr-custom-select {
    position: relative;
    width: 100%;
}

.spr-select-trigger {
    width: 100%;
    padding: 16px 20px;
    border:1px solid var(--bs-gray-300);
    border-radius: 12px;
    background: var(--bs-gray-200);
    font-size: 16px;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 54px;
}

.spr-select-trigger:after {
    content: "";
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--bs-gray-500);
    border-bottom: 2px solid var(--bs-gray-500);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    margin-left: 10px;
}

.spr-select-trigger.active:after {
    transform: rotate(-135deg);
}

.spr-select-trigger:hover {
    border-color: var(--bs-primary);
}

.spr-select-trigger.placeholder {
    color: var(--bs-gray-400);
    background: none;
    display: flex;
}

/* FULL SCREEN MODAL STYLING - Like your screenshots */
.spr-select-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.spr-select-modal.active {
    opacity: 1;
    visibility: visible;
}

.spr-select-container {
    width: 100%;
    max-height: 80vh;
    border-radius: 20px 20px 0 0;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
}

.spr-select-modal.active .spr-select-container {
    transform: translateY(0);
}

.spr-select-header {
    padding: 20px;
    border-bottom: 1px solid var(--bs-gray-200);
    text-align: center;
    position: relative;
    background: var(--bs-gray-100);
    border-radius: 20px 20px 0 0;
}

.spr-select-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
}

.spr-select-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: var(--bs-gray-400);
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Vertical Scroller Options */
.spr-select-options {
    flex: 1;
    overflow-y: auto;
    max-height: 60vh;
    padding: 10px 0;
    background-color: var(--bs-gray-100);
}

/* Vertical Scroller Styling - EXACTLY like your screenshots */
.spr-select-options {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: #673de6 #f8f9fa;
}

.spr-select-options::-webkit-scrollbar {
    width: 6px;
}

.spr-select-options::-webkit-scrollbar-track {
    background: #f8f9fa;
    border-radius: 3px;
    margin: 10px 0;
}

.spr-select-options::-webkit-scrollbar-thumb {
    background: #673de6;
    border-radius: 3px;
}

.spr-select-options::-webkit-scrollbar-thumb:hover {
    background: #7b53f5;
}

/* Select Option Items - Mobile-like styling */
.spr-select-option {
    padding: 18px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--bs-gray-200);
    font-size: 16px;
    position: relative;
    background: var(--bs-gray-100);
    margin: 0 10px;
    border-radius: 0;
    text-align: center;
    transition: 0.3s all; 
}

.spr-select-option:last-child {
    border-bottom: none;
}

.spr-select-option:hover {
    background: #f8f9fa;
}

.spr-select-option.selected {
    background: linear-gradient(135deg, #7b53f5 0%, #673de6 100%);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 124, 186, 0.3);
    font-size: 20px;
}

.spr-select-option.selected:before {
    content: "✓";
    position: absolute;
    right: 20px;
    color: white;
    font-weight: bold;
    font-size: 16px;
}

/* Form Submit Button */
.spr-form-submit {
    margin-top: 30px;
    text-align: center;
}

.spr-submit-btn {
    background: #673de6;
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 100%;
}

.spr-submit-btn:hover {
    background: #5732c9;
    transform: translateY(-2px);
}

.spr-submit-btn:active {
    transform: translateY(0);
}

.spr-dependent-field {
    transition: all 0.3s ease;
}

/* Animation for dependent fields */
.spr-dependent-field.show {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Desktop-specific: Show as dropdown */
@media (min-width: 769px) {
    .spr-select-modal {
        align-items: center;
        justify-content: center;
    }
    
    .spr-select-container {
        width: 400px;
        max-height: 500px;
        border-radius: 20px;
        transform: scale(0.9) translateY(20px);
    }
    
    .spr-select-modal.active .spr-select-container {
        transform: scale(1) translateY(0);
    }
    
    .spr-select-header {
        border-radius: 20px 20px 0 0;
    }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
    .spr-form-wrapper {
    }
    
    .spr-select-trigger, .spr-select-option {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .spr-select-option {
        margin: 0;
    }
}

/* Ensure no native select is visible */
select.native-select {
    display: none !important;
}