.date-micker-wrap {
    position: relative;
    display: inline-block;
}

.date-micker {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;

    width: 258px;
    height: 336px;

    background: #2E3135;
    border-radius: 0px 10px 10px 10px;

    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
    z-index: 0;

    overflow: hidden;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    box-shadow: 0 18px 44px rgba(26, 32, 44, 0.18);
}

.date-micker.hidden {
    display: none;
}

.date-micker .years {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    isolation: isolate;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
    overflow-x: scroll;
}


.date-micker .years::-webkit-scrollbar {
  height: 4px; /* horizontal scrollbar height */
}

.date-micker .years::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 900px;
}

.date-micker .years::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 900px;
}

/* Optional: hover effect */
.date-micker .years::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 1);
}

.date-micker .years {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.8) rgba(255,255,255,0.05);
}

.date-micker .year {
    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px;
    gap: 10px;

    width: 46px;
    height: 29px;

    border-radius: 8px;

    /* Text, 13px/Regular */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    /* identical to box height, or 17px */

    /* White */
    color: #FFFFFF;


    margin-bottom: 5px;
    cursor: pointer;
    user-select: none;
}

.date-micker .year.active {
    /* Frame 1000006913 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 6px;
    gap: 10px;

    width: 46px;
    height: 29px;

    /* Green Dark */
    background: #2E8E5D;
    border-radius: 8px;

    /* Text, 13px/SemiBold */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 130%;
    /* identical to box height, or 17px */

    /* White */
    color: #FFFFFF;
}

.date-micker .yearmonth-panel {
    /* Frame 1000006919 */

    /* Auto layout */
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0px;

    width: 238px;
    height: 22px;


    /* Inside auto layout */
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
}

.date-micker .yearmonth-text {
    /* Ноябрь 1996 */
    width: 92px;
    height: 22px;

    /* --Text, 15px/Medium */
    font-family: 'Onest';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    line-height: 144%;
    /* identical to box height, or 22px */
    text-align: center;

    /* White */
    color: #FFFFFF;


    /* Inside auto layout */
    flex: none;
    order: 0;
    flex-grow: 0;
}

.date-micker .yearmonth-panel .btns {
    display: flex;
    align-items: center;
    gap: 4px;
}

.date-micker .yearmonth-panel .btns > div {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.date-micker .days-grid {
    display: flex;
    flex-direction: column;
    margin-top: 5px;
}

.date-micker .days-row {
    display: flex;
    align-items: center;
}

.date-micker .days-row > div {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.date-micker .day-title {
    /* Пн */
    width: 26px;
    height: 18px;

    /* Text, 14px/Medium */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    /* or 18px */
    text-align: center;

    /* White */
    color: #FFFFFF;
}

.date-micker .off-month {
    /* Text, 13px/Regular */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    /* identical to box height, or 17px */
    text-align: center;

    /* Secondary \ UI/Dark Grey */
    color: #7D7E88;
}

.date-micker .day {
    /* Text, 13px/Regular */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 130%;
    /* identical to box height, or 17px */
    text-align: center;

    /* White */
    color: #FFFFFF;
    cursor: pointer;
    user-select: none;
}

.date-micker .day.active {
    /* Green Light */
    background: #0AAF60;
    border-radius: 8px;

    /* Text, 13px/SemiBold */
    font-family: 'Manrope';
    font-style: normal;
    font-weight: 600;
    font-size: 13px;
    line-height: 130%;
    /* identical to box height, or 17px */
    text-align: center;

    /* Secondary \ UI/White */
    color: #FFFFFF;
}

.date-micker .picker-wrap {
    align-self: center;
    padding-bottom: 10px;
    margin-top: 5px;
}

.date-micker .years-wrap {
    padding-top: 10px;
    padding-left: 14px;
    width: calc(100% - 17px);
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .date-micker {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9999999;
        border-radius: 10px;
    }
}
