﻿        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 10px;
        }
        
        /* 标题样式 */
        header {
            background-color: #1a5e7a;
            color: white;
            padding: 15px 0;
            margin-bottom: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .header-content {
            text-align: center;
        }
        
        .header-content h1 {
            font-size: 1.8rem;
            margin-bottom: 8px;
        }
        
        /* 日期选择栏 */
        .date-selector {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            text-align: center;
        }
        
        .date-selector select {
            padding: 8px 12px;
            margin: 0 5px;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            background-color: white;
        }
        
        .date-info {
            margin-top: 10px;
            color: #666;
            font-size: 0.9rem;
        }
        
        /* 日历样式 */
        .calendar-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .calendar {
            background-color: white;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
            width: 100%;
        }
        
        .calendar-header {
            background-color: #1a5e7a;
            color: white;
        }
        
        .calendar-header table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .calendar-header td {
            padding: 12px 5px;
            text-align: center;
            font-weight: bold;
            font-size: 1rem;
        }
        
        .calendar-body {
            width: 100%;
            border-collapse: collapse;
        }
        
        .calendar-body tr {
            border-bottom: 1px solid #f0f0f0;
        }
        
        .calendar-body tr:last-child {
            border-bottom: none;
        }
        
        .calendar-body td {
            padding: 8px 5px;
            text-align: center;
            vertical-align: middle;
            font-size: 0.9rem;
            min-height: 60px;
        }
        
        .solar-day {
            font-weight: 500;
            margin-bottom: 4px;
        }
        
        .lunar-day {
            font-size: 0.8rem;
            color: #666;
        }
        
        /* 星期样式 */
        .sunday {
            color: #e74c3c;
        }
        
        .saturday {
            color: #3498db;
        }
        
        /* 节日和特殊日期样式 */
        .festival {
            color: #e67e22 !important;
            font-weight: bold;
        }
        
        .term {
            color: #2ecc71 !important;
        }
        
        .today {
            background-color: #e8f4f8;
            border-radius: 4px;
            font-weight: bold;
        }
        
        /* 操作面板 */
        .control-panel {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            justify-content: center;
        }
        
        .control-btn {
            padding: 10px 15px;
            background-color: #1a5e7a;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 0.9rem;
            flex: 1;
            min-width: 100px;
            max-width: 150px;
            text-align: center;
            transition: background-color 0.3s;
			line-height:44px;
        }
        
        .control-btn:hover {
            background-color: #247a9c;
        }
        
        /* 详情弹窗 */
        #detail {
            position: absolute;
            background-color: white;
            border-radius: 6px;
            box-shadow: 0 3px 15px rgba(0,0,0,0.2);
            padding: 10px;
            z-index: 100;
            width: 280px;
            max-width: 90vw;
			visibility:hidden
        }
        
        #datedetail {
            background-color: #f0f7fa;
            padding: 8px;
            border-radius: 4px 4px 0 0;
            text-align: right;
            font-size: 0.9rem;
        }
        
        #datedetail span {
            color: #2c3e50;
        }
        
        #festival {
            background-color: #1a5e7a;
            color: white;
            padding: 8px;
            border-radius: 0 0 4px 4px;
            font-size: 0.9rem;
        }
        
        /* 说明文本 */
        .explanation {
            background-color: white;
            border-radius: 8px;
            padding: 15px;
            margin-top: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            font-size: 0.9rem;
            line-height: 1.8;
        }
        
        .explanation em {
            color: #e74c3c;
            font-style: normal;
            font-weight: 500;
        }
        
        .explanation b {
            color: #1a5e7a;
        }
        
        /* 响应式调整 */
        @media (min-width: 768px) {
            .calendar-container {
                flex-direction: row;
            }
            
            .control-panel {
                flex: 0 0 150px;
                flex-direction: column;
            }
            
            .calendar {
                flex: 1;
            }
        }
        
        @media (max-width: 480px) {
            .calendar-body td {
                padding: 5px 2px;
                min-height: 50px;
            }
            
            .solar-day {
                font-size: 0.9rem;
            }
            
            .lunar-day {
                font-size: 0.7rem;
            }
            
            .control-btn {
                padding: 8px;
                font-size: 0.8rem;
                min-width: 80px;
            }
            
            .date-selector select {
                padding: 6px 8px;
                font-size: 0.9rem;
            }
        }