/* This file is used to style the week calendar */
/*==============*/
/*==============*/
/*==============*/
/*==============*/
.calendar {
    border-radius: 22px;
    width: 617px;
    height: 309px;
    background-color: #fff;
    border: 1px solid #ddd;
    -webkit-box-shadow: 1px 2px 4px #747474;
}

.header-calendar {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.year-calendar, .week-calendar {
    font-size: 14px;
    font-weight: 400;
}
.year-calendar-month {
    font-size: 21px;
    font-weight: 300;
    color: #0066fe;
}

.header-calendar button {
    background-color: #ffffff;
    border: none;
    padding: 4px 12px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 4px;
}
.header-calendar button:hover {
    background-color: #ddd;
}
.btn-today {
    background-color: #4CAF50 !important;
    color: white;
    border: none;
    padding: 8px 12px;
    margin-left: 10px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
}
.btn-today:hover {
    background-color: #4551a0 !important;
}
.header-calendar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 19px;
    flex-wrap: wrap;
}

.content-calendar {
    display: flex;
}

.image-container-calendar {
    width: 228px;
    padding: 5px;
    border-right: 1px solid #ddd;
}

.image-container-calendar img {
    width: 100%;
    border-radius: 7px;
}

.jie-qi-name {
    font-size: 24px;
    font-weight: 200;
}

.days-container-calendar {
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 1px);
}


.today-highlight {
    background-color: #ffe082; /* 浅黄色背景 */
    font-weight: bold;
    color: #d75e00; /* 橙色字体 */
    position: relative;
}

.today-highlight::after {
    content: "今天";
    display: block;
    font-size: 10px;
    color: white;
    background-color: #ff9800;
    border-radius: 2px;
    padding: 2px 4px;
    margin-top: 4px;
    width: fit-content;
}
.day-calendar {
    width: calc(100% / 11);
    padding: 0 10px;
    text-align: center;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 259px;
}

.day-calendar:last-child {
    border-right: none;
}

.date-container-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/*background-color: #dfede0;*/
.date-calendar {
    font-size: 34px;
    font-weight: 100;
    /*margin-bottom: 10px;*/
}

.weekday-calendar {
    font-size: 16px;
    color: #666;
}

.lunar-date {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.festival-calendar {
    font-size: 11px;
    color: red;
    margin-top: 5px;
}

.festival-calendar-ganzhi {
    font-size: 11px;
    color: #0033ff;
    margin-top: 5px;
}

.festival-calendar-work {
    font-size: 12px;
    color: #706c6c;
    margin-top: 5px;
    font-weight: bold;
}

.lunar-date-container-calendar {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 7px;
    margin-bottom: 4px;
}

.lunar-date-part {
    font-size: 11px;
    color: #666;
}