/* 清新风格 + 浅色系 */
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(to bottom right, #f0faff, #e6f7ff);
    color: #333;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 整体容器：PC 横向，手机竖向 */
.board-container {
    display: flex;
    flex-direction: row;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* 日历区域 */
.calendar {
    flex: 1;
    padding: 25px;
    background: #ffffff;
    border-right: 1px solid #e6f2ff;
    display: flex;
    flex-direction: column;
}

.calendar header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f7ff;
}

.calendar h2 {
    font-size: 1.8rem;
    color: #0066cc;
    margin: 0;
    font-weight: 600;
}

.calendar button {
    background: #e6f2ff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: #0066cc;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.calendar button:hover {
    background: #cce0ff;
    transform: scale(1.1);
}

.calendar table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 6px;
    text-align: center;
    flex-grow: 1;
    table-layout: fixed;
    height: 100%;
}

.calendar th {
    color: #6699cc;
    padding: 12px 0;
    font-weight: 500;
    font-size: 1rem;
}

.calendar td {
    padding: 0;
    height: 60px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.1rem;
}

/* 日期单元格内容容器 */
.calendar td::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.calendar td:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

.calendar td.selected {
    background: #90e0ef;
    color: #023e8a;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(2, 62, 138, 0.1);
}

.calendar .today {
    background: #0066cc;
    color: #fff;
    font-weight: bold;
}

/* 时间+天气模块 */
.info-panel {
    flex: 1;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f9fbff;
    gap: 30px;
}

.time-date-group {
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

#time {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0052cc;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0, 82, 204, 0.1);
}

#date {
    font-size: 1.6rem;
    color: #6699cc;
    font-weight: 500;
}

.weather-card {
    font-size: 1.4rem;
    background: #ffffff;
    padding: 25px;
    border-radius: 16px;
    color: #336699;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.weather-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* 日期详情样式增强 */
.day-detail {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    background: #f0f7ff;
    font-size: 1.1rem;
    color: #336699;
    text-align: center;
    box-shadow: inset 0 1px 3px rgba(0, 102, 204, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .board-container {
        flex-direction: column;
        height: auto;
        min-height: 100vh;
    }

    .calendar {
        border-right: none;
        border-bottom: 1px solid #e6f2ff;
    }

    .calendar td {
        height: 45px;
    }

    #time {
        font-size: 3rem;
    }

    #date {
        font-size: 1.3rem;
    }

    .weather-card {
        font-size: 1.2rem;
        padding: 20px;
    }

    .info-panel {
        gap: 20px;
        padding: 20px;
    }
}
