/* Datepicker в стиле neo-input */
.custom-datepicker--native {
    position: relative;
    width: 100%;
}

.custom-datepicker__input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.custom-datepicker__native-input {
    width: 100%;
    height: 40px;
    padding: 4px 44px 4px 16px;
    border-radius: 20px;
    border: 1px solid var(--main-black-80);
    outline: none;
    background-color: var(--main-blue-light);
    color: var(--main-blue-dark__80);
    font-weight: 700;
    font-size: 0.875rem;
    cursor: pointer;
    box-sizing: border-box;
    font-family: inherit;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    position: relative;
}

.custom-datepicker__native-input::-webkit-calendar-picker-indicator {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    color: transparent;
    background: transparent;
    cursor: pointer;
    opacity: 0;
    z-index: 2;
}

.custom-datepicker__native-input::-moz-calendar-picker-indicator {
    opacity: 0;
}

.custom-datepicker__native-input:before {
    content: attr(placeholder);
    color: var(--main-blue-dark__80);
    font-weight: 700;
    opacity: 0.6;
}

.custom-datepicker__native-input:focus:before,
.custom-datepicker__native-input:valid:before {
    content: '';
}

.custom-datepicker__native-input:hover {
    border-color: var(--main-blue);
}

.custom-datepicker__native-input:focus {
    border-color: var(--main-blue);
    box-shadow: 0 0 0 3px rgba(70, 104, 170, 0.15);
}

.custom-datepicker__icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--main-blue-dark__80);
    pointer-events: none;
    z-index: 1;
    transition: color 0.3s ease;
}

.custom-datepicker__native-input:hover ~ .custom-datepicker__icon {
    color: var(--main-blue);
}
