
/* Кастомный стиль для select */
.custom-select {
    position: relative;
    width: 100%;
    margin-bottom: 1.5rem;
}

.minimal-select {
    width: 150px;
    padding: 1rem 1.25rem;
    font-size: 15px;
    font-family: "Roboto";
    color: #656877;
    color: #1f2937;
    background: white;
    border-radius: 16px;
    border:none;
    background-color: #EEF0F3;
    cursor: pointer;
    transition: all 0.2s ease;
}

.minimal-select:hover {
    border-color: #9ca3af;
}

.minimal-select:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.minimal-select option {
    padding: 12px;
    font-size: 1rem;
}

.minimal-select option:checked {
    background: #3b82f6 linear-gradient(0deg, #3b82f6 0%, #3b82f6 100%);
    color: white;
}

.minimal-select option:hover {
    background: #f3f4f6;
}

/* Кастомная стрелка */
.select-arrow {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 0.875rem;
    transition: transform 0.2s ease;
}

.minimal-select:focus + .select-arrow {
    transform: translateY(-50%) rotate(180deg);
    color: #3b82f6;
}

/* Отображение выбранного значения */
.selected-value {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 12px;
    color: #9ca3af;
    font-size: 0.95rem;
    text-align: center;
    border: 1px dashed #d1d5db;
    transition: all 0.2s ease;
}

.selected-value.has-value {
    color: #1f2937;
    background: #f3f4f6;
    border-style: solid;
    border-color: #3b82f6;
    font-weight: 500;
}

/* Футер с кнопкой */
.select-footer {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.select-button {
    width: 100%;
    padding: 1rem;
    background: #1f2937;
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-button:hover {
    background: #111827;
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.select-button:active {
    transform: translateY(0);
}

/* Стили для мобильных устройств */
@media (max-width: 480px) {
    .select-container {
        padding: 1.5rem;
        min-height: 100vh;
    }
    
    .minimal-select {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }
    
    .select-label {
        font-size: 0.75rem;
    }
}

/* Для очень маленьких экранов */
@media (max-height: 600px) {
    .select-wrapper {
        justify-content: flex-start;
        margin-top: 2rem;
    }
}

/* Стилизация скроллбара для списка опций */
.minimal-select option {
    padding: 12px 16px;
}

.minimal-select::-webkit-scrollbar {
    width: 8px;
}

.minimal-select::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.minimal-select::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.minimal-select::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}