.select-custom-wrapper {
    position: relative;
    width: 100%;
}

.select-custom-container {
    position: relative;
    width: 100%;
}

.select-custom-trigger {
    width: 100%;
    padding: 1.25rem 3rem 1.25rem 1.5rem;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.select-custom-trigger:hover {
    border-color: var(--header-primary-gold);
    transform: translateY(-1px);
}

.select-custom-trigger.select-custom-active {
    border-color: var(--header-primary-gold);
    box-shadow: 0 0 0 4px rgba(237, 213, 102, 0.2);
    transform: translateY(-2px);
}

.select-custom-selected {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.select-custom-icon {
    color: var(--header-mid-gold);
    font-size: 1.3rem;
}

.select-custom-text {
    font-size: 1.1rem;
    color: var(--header-text-dark);
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
}

.select-custom-arrow {
    color: var(--header-mid-gold);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.select-custom-trigger.select-custom-active .select-custom-arrow {
    transform: rotate(180deg);
    color: var(--header-primary-gold);
}

.select-custom-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border: 2px solid var(--header-primary-gold);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 4px;
    max-height: 300px;
    overflow: hidden;
}

.select-custom-dropdown.select-custom-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-custom-search {
    padding: 1rem;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.select-custom-search-input {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    font-size: 0.95rem;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.select-custom-search-input:focus {
    outline: none;
    border-color: var(--header-primary-gold);
    background: #ffffff;
}

.select-custom-search i {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--header-neutral-gray);
    font-size: 1.1rem;
}

.select-custom-options {
    max-height: 200px;
    overflow-y: auto;
}

.select-custom-option {
    padding: 0.875rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.select-custom-option:last-child {
    border-bottom: none;
}

.select-custom-option:hover {
    background: rgba(237, 213, 102, 0.1);
    color: var(--header-dark-gold);
}

.select-custom-option.select-custom-selected-option {
    background: rgba(237, 213, 102, 0.15);
    color: var(--header-dark-gold);
    font-weight: 600;
}

.select-custom-option i {
    color: var(--header-mid-gold);
    font-size: 1.2rem;
}

.select-custom-option:hover i,
.select-custom-option.select-custom-selected-option i {
    color: var(--header-dark-gold);
}

.select-custom-option span {
    font-size: 1rem;
    font-family: 'Tajawal', sans-serif;
}

.select-custom-option.select-custom-hidden {
    display: none;
}

@media (max-width: 575.98px) {
    .select-custom-trigger {
        padding: 1rem 2.5rem 1rem 1.25rem;
    }
    
    .select-custom-text {
        font-size: 1rem;
    }
    
    .select-custom-dropdown {
        max-height: 250px;
    }
    
    .select-custom-options {
        max-height: 150px;
    }
}