.year-selector-wrapper {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.year-selector-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.year-label {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    white-space: nowrap;
}

.custom-select-wrapper {
    position: relative;
    min-width: 120px;
    flex: 1;
    max-width: 200px;
}

.year-selector {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 100%;
    padding: 10px 35px 10px 15px;
    font-size: 16px;
    font-weight: 500;
    color: #2c3e50;
    background-color: #fff;
    border: 2px solid #3498db;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.year-selector:hover,
.year-selector:focus {
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    outline: none;
}

.select-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #3498db;
    font-size: 14px;
}

/* Style pour mobile */
@media (max-width: 576px) {
    .year-selector-wrapper {
        padding: 8px;
        margin: 0 10px;
        background: #fff;
    }

    .year-selector-container {
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .year-label {
        font-size: 14px;
        margin: 0;
    }

    .custom-select-wrapper {
        min-width: 100px;
    }

    .year-selector {
        padding: 8px 30px 8px 10px;
        font-size: 14px;
        text-align: center;
    }

    .select-icon {
        right: 8px;
        font-size: 12px;
    }
}

/* Style pour tablette */
@media (min-width: 577px) and (max-width: 991px) {
    .year-selector-wrapper {
        padding: 10px;
    }

    .year-selector-container {
        justify-content: flex-start;
    }

    .year-selector {
        font-size: 15px;
        padding: 8px 32px 8px 12px;
    }
}
