/* ===== 日历整体 ===== */
.calendar {
    width: 100%;
    background: #E9F6F4;
    border-radius: 12px;
    padding: 10px;
    font-family: Arial, Helvetica, sans-serif;
}

/* ===== 头部 ===== */
.calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #49AFC0;
    color: #fff;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 10px;
}

.calendar-title {
    font-size: 20px;
    font-weight: 600;
}

.calendar-header .nav {
    color: #fff;
    text-decoration: none;
    font-size: 26px;
    line-height: 1;
}

/* ===== 星期 ===== */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 0;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 13px;
    color: #B9AFA3;
    font-weight: 600;
}

/* ===== 日期表格 ===== */
.calendar table {
    width: 100%;
    border-collapse: collapse;
}

.calendar-day {
    width: 14.285%;
    height: 44px;
    text-align: center;
    vertical-align: middle;
    font-size: 14px;
    color: #919090;
}

/* ===== 日期链接 ===== */
.calendar-day a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #919090;
    border-radius: 6px;
    background-color: white;
}

/* hover */
.calendar-day a:hover {
    background: #cbb698;
    color: #ffffff;
}

/* ===== 当前日期 ===== */
.calendar-day.today,
.calendar-day.today a {
    background: #ffffff;
    color: #9aa3a6;
    border-radius: 6px;
}



/* ===== 上月 / 下月日期（28 29 30 31） ===== */
.calendar-day.muted {
    color: #D8D8D8;
}

/* 空白单元格 */
.calendar td:empty {
    background: transparent;
}
