@media (max-width: 992px) {
    .doctor-box {
        order: 1;
    }

    .doctor-detail-box {
        order: 3;
    }

    .doctor-experts-box {
        order: 4;
    }

    .doctor-comment-box {
        order: 5;
    }

    .doctor-sticky-box {
        order: 2;
        position: static;
    }
}

.wrap-slide {
    max-width: 980px;
    margin: 28px 1rem 64px;
    padding-inline: 12px;
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    width: 95%;
}

.day-card {
    width: 116px;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    background: #fff;
    padding: 12px 10px 28px;
    text-align: center;
    position: relative;
    transition: 0.2s;
    cursor: pointer;
}

.day-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.day-card .dow {
    font-size: 14px;
    color: #6b7280;
}

.day-card .num {
    margin-top: 6px;
    font-size: 22px;
    font-weight: 700;
}

.day-card .month {
    font-size: 16px;
    font-weight: 600;
}

.day-card .meta {
    position: absolute;
    inset-inline: 0;
    bottom: 8px;
    font-size: 13px;
    color: #059669;
}

.day-card.is-active {
    border-color: #1e87f0;
    background: rgba(30, 135, 240, 0.04);
    box-shadow: 0 0 0 2px rgba(30, 135, 240, 0.1) inset;
}

.day-card.is-active .num,
.day-card.is-active .month {
    color: #1e87f0;
}

.day-card-btn {
    all: unset;
    display: block;
}

.day-card-btn:focus-visible .day-card {
    outline: 2px solid #1e87f0;
    outline-offset: 2px;
}

.swiper {
    direction: rtl;
}

.swiper-wrapper {
    align-items: stretch;
}

.swiper-slide {
    width: auto !important;
}

.slidenav-circle {
    width: 38px;
    height: 38px;
    border-radius: 9999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    display: grid;
    place-items: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: absolute;
    top: 50%;
    z-index: 10;
    cursor: pointer;
}

.slidenav-circle svg {
    width: 18px;
    height: 18px;
}

.swiper-button-prev.slidenav-circle {
    right: 0;
    left: auto;
}

.swiper-button-next.slidenav-circle {
    left: 0;
    right: auto;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    display: none;
}

#times {
    scroll-margin-top: 80px;
}

.times-title {
    margin: 24px 0 12px;
    font-weight: 700;
}

.times-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(90px, 1fr));
    gap: 10px 6px;
}

.time-btn {
    user-select: none;
    border-radius: 12px;
    padding: 10px 0;
    text-align: center;
    font-weight: 600;
    border: 1px solid #e5e7eb;
    background: #eef2f7;
    color: #9aa3ad;
    cursor: not-allowed;
}

.time-btn[data-available="true"] {
    background: #fff;
    color: #16a34a;
    border-color: #16a34a;
    cursor: pointer;
}

.time-btn[data-available="true"]:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    transform: translateY(-1px);
}

.time-btn.is-selected {
    background: #eaf8ef;
    color: #16a34a;
    border-color: #16a34a;
    box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.12) inset;
}

.popup-time-slider {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    --tw-backdrop-blur: blur(4px);
    backdrop-filter: var(--tw-backdrop-blur) var(--tw-backdrop-brightness)
        var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale)
        var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert)
        var(--tw-backdrop-opacity) var(--tw-backdrop-saturate)
        var(--tw-backdrop-sepia);
    z-index: 1000;
    display: none;
    justify-content: center;
    background-color: #0000ff45;
}

.login-pop {
    align-items: center;
}

.login-pop .wrap-slide {
    max-width: 550px;
}

.login-pop p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.login-pop button {
    font-size: 1rem;
    padding: 1rem;
}

@media (max-width: 992px) {
    .doctor-box {
        order: 1;
    }

    .doctor-detail-box {
        order: 3;
    }

    .doctor-experts-box {
        order: 4;
    }

    .doctor-comment-box {
        order: 5;
    }

    .doctor-sticky-box {
        order: 2;
        position: static;
    }
}
@media (max-width: 960px) {
    .times-grid {
        grid-template-columns: repeat(4, minmax(90px, 1fr));
    }
}

@media (max-width: 640px) {
    .times-grid {
        grid-template-columns: repeat(3, minmax(90px, 1fr));
    }
}
