.years {
    position: relative;
    display: inline-block;
    min-width: 100%;
    margin-bottom: 15px;
}

.custom-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 14px;
    font-size: 12px;
    font-family: inherit;
    color: #4D8DB2;;
    background: #fff;
    border: 1px solid #4D8DB2;
    border-radius: 25px;
    cursor: pointer;
    outline: none;
}

.custom-select-trigger::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #666;
    margin-left: 10px;
    transition: transform 0.2s;
}

.years.open .custom-select-trigger {
    border-bottom: none;
    border-radius: 25px 25px 0 0;
}

.years.open .custom-select-trigger::after {
    transform: rotate(180deg);
}

.custom-select-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 100%;
    background: #fff;
    border: 1px solid #4D8DB2;
    border-top: none;
    border-radius: 0 0 25px 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}

.years.open .custom-select-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.optionsY {
    list-style: none;
    margin: 0;
    padding: 0;
}

.optionYears {
    padding: 10px 14px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.optionYears:hover {
    background: #f0f4ff;
    color: #1a56db;
}

.optionYears:active {
    background: #e0e7ff;
}

[for="sharingYears"],
#sharingYears {
    display: none;
}
