/* ================== 顶部时间卡片结构 ================== */

/* Desktop + Mobile 时间卡片外框 */
.time-page .time-card-desktop,
.time-page .time-card-mobile {
    width: 100%;
    min-height: 300px;
    background-color: #fff;
    padding: 10px;
    border-radius: 30px;
}

/* 顶部菜单链接样式 */
.time-page .time-menu-link p {
    text-align: center;
    margin-bottom: 20px;
    padding-top: 10px;
    font-size: 19px;
    font-weight: bold;
    color: rgba(49, 49, 49, 0.67);
}

.time-page .time-menu-link a {
    color: #002fff;
}

/* 时间按钮区域 */
.time-page .time-slot-row {
    margin-top: 10px;
}

.time-page .time-slot {
    cursor: pointer;
}

/* ================== 原 reservation.css 内容加作用域（配合 theme.css） ================== */

.time-page {
    background-color: var(--hw-bg, #f5f5f5);
    color: var(--hw-text-main, #222);
}

/* 顶部月份切换条 */
.time-page .nav {
    display: flex;
    align-items: center;
    padding: 20px 0;
}

.time-page .icon {
    font-size: 20px;
    padding: 0 20px;
    color: var(--hw-text-main, #222);
    cursor: pointer;
}

.time-page #selectId {
    flex: 1;
    height: 34px;
    padding: 6px 12px;
    background-color: #fff;
    border: 0;
    color: #222;
    font-weight: 500;
}

.time-page #selectId:focus {
    border: 0;
    outline: none;
}

/* 日历主体 */
.time-page .calendar {
    position: relative;
}

.time-page .weeks {
    width: 100%;
    min-width: 300px;
    background-color: #fff;
    padding: 10px;
    border-radius: 30px;
    border-collapse: separate;
}

/* 星期标题行 */
.time-page .weeks th {
    height: 30px;
    line-height: 30px;
    font-size: 15px;
    text-align: center;
    font-weight: 600;
    color:#222;
}

/* 日期单元格（默认态） */
.time-page .cell {
    text-align: center;
    color: #313131;
    font-weight: 600;
    cursor: pointer;
    height: 44px;
    line-height: 44px;
    font-size: 18px;
    border-top: 1px solid #e4e4e4;
    border-left: 1px solid #e4e4e4;
    border-right: 0;
    background: #fff;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        border-radius 0.18s ease,
        transform 0.12s ease;
}

.time-page .cell:nth-child(1) {
    border-left: 0;
}

/* 不可选日期 */
.time-page .cell.disabled {
    color: #b5b5b5;
    cursor: default;
}

/* hover 态：品牌橙色块 */
.time-page .cell.active:hover {
    background-color: var(--hw-orange, #ff4f00);
    color: #ffffff;
    border-radius: 14px;
    transform: translateY(-1px);
}

/* 选中日期：淡橙色 + 深橙字体 + 柔光阴影（JS 会给 td 加 .choose） */
.time-page .weeks .choose {
    background: var(--hw-orange-tint, #ffe7d4);
    color: var(--hw-orange, #ff4f00);
    border-radius: 14px;
    border-top-color: transparent;
    border-left-color: transparent;
    position: relative;
    z-index: 1;
}

/* 时间弹窗（桌面） */
.time-page #times {
    position: absolute;
    left: calc(50% - 80px);
    top: 60px;
    width: 480px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--hw-orange, #ff4f00);
    display: none;
    cursor: pointer;
    font-size: 17px;
}

.time-page #day {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 20px;
}

/* 时间按钮（弹窗里的） */
.time-page .time {
    height: 30px;
    line-height: 30px;
    border-radius: 40px;
    padding: 0 10px;
    margin: 5px 0;
    float: left;
    width: 110px;
}

/* 弹窗中已选时间 */
.time-page .time.choose {
    color: #fff;
    background-color: var(--hw-orange, #ff4f00);
}

/* 为 JS 保留空 class */
.time-page .time2 {
    /* JS/HTML 在用，不动 */
}

/* 弹窗确认按钮（桌面） */
.time-page #sure {
    color: #fff;
    background-color: var(--hw-orange, #ff4f00);
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 5px;
    display: none;
    position: absolute;
    width: 100px;
}

/* 时间弹窗（手机） */
.time-page #times2 {
    position: absolute;
    left: calc(50% - 80px);
    top: 60px;
    width: 245px;
    padding: 10px;
    border-radius: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: var(--hw-orange, #ff4f00);
    display: none;
    cursor: pointer;
    font-size: 17px;
}

/* 弹窗确认按钮（手机） */
.time-page #sure2 {
    color: #fff;
    background-color: var(--hw-orange, #ff4f00);
    height: 32px;
    line-height: 32px;
    text-align: center;
    border-radius: 5px;
    display: none;
    position: absolute;
    width: 100px;
}

/* 手机时间按钮卡片 */
.time-page .mbtext {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 46%;
    float: left;
    border: 1px solid #e2e2e2;
    margin-bottom: 11px;
    margin-right: 2%;
    margin-left: 2%;
    color: #313131;
    border-radius: 16px;
    background: #fff;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.12s ease;
}

/* 桌面时间按钮卡片 */
.time-page .pctext {
    text-align: center;
    padding-top: 10px;
    padding-bottom: 10px;
    width: 23%;
    float: left;
    border: 1px solid #e2e2e2;
    margin-bottom: 11px;
    margin-right: 1%;
    margin-left: 1%;
    border-radius: 16px;
    background: #fff;
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.12s ease;
}

/* 时间卡片 hover */
.time-page .time2:hover {
    background-color: var(--hw-orange-tint, #ffe7d4);
    color: var(--hw-orange, #ff4f00);
    border-radius: 16px;
    transform: translateY(-1px);
}

/* “Fully booked” 文案 */
.time-page .afd .fd {
    visibility: hidden;
}

.time-page .fd {
    color: #e53935;
}

/* 加粗样式（原样保留） */
.time-page .bod {
    font-weight: bold;
}

/* 标题与价格说明（旧结构需要时用） */
.time-page h1 {
    font-size: 21px;
    font-weight: 600;
    color: #443a3ae6;
    margin-bottom: 5px;
    margin-top: 5px;
}

.time-page .price-list p {
    font-size: 19px;
    color: #333;
    line-height: 1.6;
}
