.solicitud-fecha-wrap {
    max-width: 100%;
    position: relative;
    width: 100%;
}

.solicitud-fecha-wrap .solicitud-fecha-moderna {
    cursor: pointer;
    padding-right: 48px !important;
}

.solicitud-fecha-boton {
    align-items: center;
    background: transparent;
    border: 0;
    color: #246a8c;
    display: flex;
    height: 42px;
    justify-content: center;
    padding: 0;
    position: absolute;
    right: 2px;
    top: 2px;
    width: 44px;
    z-index: 2;
}

.solicitud-fecha-boton::before {
    content: "\1F4C5";
    font-size: 20px;
    line-height: 1;
}

.solicitud-fecha-panel {
    background: #fff;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    box-shadow: 0 14px 34px rgba(40, 55, 70, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    max-width: calc(100vw - 30px);
    padding: 14px;
    position: absolute;
    top: calc(100% + 8px);
    width: 360px;
    z-index: 10050;
}

.solicitud-fecha-panel.is-open {
    display: block;
}

.solicitud-fecha-cabecera {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: 38px minmax(92px, 1fr) minmax(82px, 0.9fr) 38px;
    margin-bottom: 12px;
}

.solicitud-fecha-nav {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 7px;
    color: #263746;
    display: flex;
    font-size: 25px;
    height: 38px;
    justify-content: center;
    padding: 0;
}

.solicitud-fecha-nav:hover,
.solicitud-fecha-nav:focus {
    background: #eef6fb;
    color: #1978a4;
}

.solicitud-fecha-nav:disabled {
    color: #c9d1d7;
    cursor: not-allowed;
}

.solicitud-fecha-mes,
.solicitud-fecha-anio {
    appearance: auto;
    background: #fff;
    border: 1px solid #d3dce4;
    border-radius: 8px;
    color: #263746;
    font-size: 16px;
    font-weight: 600;
    height: 42px;
    min-width: 0;
    padding: 7px 9px;
    width: 100%;
}

.solicitud-fecha-semana,
.solicitud-fecha-dias {
    display: grid;
    gap: 3px;
    grid-template-columns: repeat(7, minmax(32px, 1fr));
    text-align: center;
}

.solicitud-fecha-semana {
    color: #65758b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.solicitud-fecha-semana span {
    align-items: center;
    display: flex;
    height: 34px;
    justify-content: center;
}

.solicitud-fecha-dia {
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 9px;
    color: #2f3439;
    display: flex;
    font-size: 16px;
    height: 40px;
    justify-content: center;
    padding: 0;
}

.solicitud-fecha-dia:hover,
.solicitud-fecha-dia:focus {
    background: #eef6fb;
    color: #145f80;
}

.solicitud-fecha-dia.is-outside {
    color: #c6cbd0;
}

.solicitud-fecha-dia.is-today {
    box-shadow: inset 0 0 0 1px #7fb6d0;
}

.solicitud-fecha-dia.is-selected {
    background: #e6f2ff;
    color: #15354a;
    font-weight: 700;
}

.solicitud-fecha-dia:disabled {
    color: #d8dde1;
    cursor: not-allowed;
}

@media screen and (max-width: 767px) {
    .solicitud-fecha-panel {
        left: 50%;
        padding: 12px;
        transform: translateX(-50%);
        width: min(360px, calc(100vw - 30px));
    }

    .solicitud-fecha-cabecera {
        grid-template-columns: 36px minmax(88px, 1fr) minmax(78px, 0.85fr) 36px;
    }

    .solicitud-fecha-semana,
    .solicitud-fecha-dias {
        gap: 2px;
        grid-template-columns: repeat(7, minmax(30px, 1fr));
    }

    .solicitud-fecha-dia {
        height: 42px;
    }
}
