/**
 * 课程表管理系统样式
 * 主要样式模块：
 * 1. 全局样式
 * 2. 布局样式
 * 3. 导航栏样式
 * 4. 课程表样式
 * 5. 日历样式
 * 6. 统计图表样式
 * 7. 弹窗样式
 * 8. 响应式样式
 */

/* =============== 全局样式 =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

body {
    background-color: #f5f8fa;
    color: #333;
    line-height: 1.6;
    animation: fadeIn 0.5s ease;
}

/* =============== 布局样式 =============== */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    text-align: center;
}

h1, h2, h3 {
    color: #4a6fa5;
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

h1 {
    text-align: center;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
    width: auto;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, #4a6fa5, #3a5c8c);
    border-radius: 2px;
}

/* =============== 导航栏样式 =============== */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

nav ul li a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

/* =============== 课程表样式 =============== */
.schedule-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 0 auto 2rem;
    overflow-x: auto;
    transition: all 0.3s ease;
    max-width: 1200px;
}

.schedule-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

#weekSchedule {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 0 1px #e0e0e0;
    margin: 0 auto;
}

#weekSchedule th, #weekSchedule td {
    border: 1px solid #e0e0e0;
    padding: 10px;
    text-align: center;
}

#weekSchedule th {
    padding: 12px 5px;
    text-align: center;
    background: linear-gradient(to bottom, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    font-weight: 500;
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.course-cell {
    height: 110px;
    width: 130px;
    vertical-align: top;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    padding-top: 10px;
    border: 1px solid #e0e0e0;
    background: linear-gradient(to bottom, #fafafa 0%, #f5f5f5 100%);
}

.course-cell:hover {
    background: linear-gradient(to bottom, #f0f4ff 0%, #e6ebf5 100%);
}

/* =============== 课程项目样式 =============== */
.course-item {
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.9) 0%, rgba(227, 242, 253, 0.9) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-radius: 6px;
    padding: 5px 8px;
    margin-bottom: 5px;
    font-size: 0.9rem;
    border-left: 3px solid #4a6fa5;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    border-left-color: #1e88e5;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
}

.course-name {
    font-weight: 500;
    color: #1a237e;
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.course-time {
    color: #0d47a1;
    border-bottom: 1px dashed #90caf9;
    padding-bottom: 2px;
    margin-bottom: 4px;
}

.course-location, .course-teacher {
    color: #546e7a;
    font-size: 0.85rem;
    margin-bottom: 2px;
}

.course-campus {
    color: #455a64;
    font-size: 0.8rem;
    font-style: italic;
}

/* =============== 月份选择器样式 =============== */
.month-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1rem;
    background: linear-gradient(to bottom, #f0f4f8 0%, #e3eaf4 100%);
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.month-nav-btn {
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.month-nav-btn:hover {
    background: linear-gradient(135deg, #3a5c8c 0%, #2c4a7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#currentMonth {
    font-size: 1.2rem;
    font-weight: bold;
    color: #4a6fa5;
    padding: 0.5rem 1.5rem;
    background: white;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* =============== 日历样式 =============== */
.calendar-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e0e0e0;
    margin-bottom: 1px;
}

.calendar-header div {
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    padding: 12px 10px;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #e0e0e0;
}

.calendar-day {
    background-color: white;
    min-height: 120px;
    padding: 8px;
    position: relative;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.calendar-day-number {
    font-weight: bold;
    margin-bottom: 8px;
    color: #4a6fa5;
    font-size: 1.1rem;
}

.calendar-day-content {
    font-size: 0.8rem;
}

.calendar-day.today {
    background: linear-gradient(to bottom, #f5f9ff 0%, #e3f2fd 100%);
    border: 2px solid #4a6fa5;
}

.calendar-day.other-month {
    background-color: #f8f9fa;
    color: #999;
}

.calendar-day.other-month .calendar-day-number {
    color: #999;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .month-selector {
        flex-wrap: wrap;
        padding: 0.8rem;
    }
    
    .month-nav-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    #currentMonth {
        font-size: 1rem;
        padding: 0.4rem 1rem;
    }
    
    .calendar-day {
        min-height: 100px;
        padding: 6px;
    }
    
    .calendar-day-number {
        font-size: 1rem;
    }
}

/* =============== 统计图表样式 =============== */
.statistics-container {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin: 0 auto 2rem;
    max-width: 1200px;
}

.charts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    justify-items: center;
}

.chart-box {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.chart-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chart-box h3 {
    text-align: center;
    margin-bottom: 1rem;
    color: #4a6fa5;
    font-size: 1.2rem;
}

.fee-info {
    margin-top: 1rem;
    padding: 1rem;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    text-align: center;
}

/* =============== 弹窗样式 =============== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #333;
}

/* =============== 表单样式 =============== */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a6fa5;
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
}

/* =============== 按钮样式 =============== */
button, .btn {
    background-color: #4a6fa5;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover, .btn:hover {
    background-color: #3a5c8c;
    transform: translateY(-1px);
}

/* =============== 动画效果 =============== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* =============== 响应式样式 =============== */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .schedule-container,
    .statistics-container {
        padding: 1rem;
        margin: 0 1rem 2rem;
    }
    
    #weekSchedule th, #weekSchedule td {
        padding: 5px;
    }
    
    .course-cell {
        height: 90px;
        width: 100px;
    }
    
    .course-item {
        font-size: 0.8rem;
        padding: 3px 5px;
    }
    
    .course-name {
        font-size: 0.85rem;
    }
    
    .course-time, .course-location, .course-teacher {
        font-size: 0.75rem;
    }
    
    .course-campus {
        font-size: 0.7rem;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1rem;
        width: 95%;
        max-height: 85vh;
    }
    
    .chart-box {
        padding: 1rem;
        max-width: 100%;
    }
}

/* 机构统计标签 */
.institution-stat {
    padding: 4px 8px;
    margin-bottom: 4px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.institution-name {
    font-weight: 500;
    margin-bottom: 2px;
}

.course-count {
    font-size: 0.75rem;
    opacity: 0.9;
}

.day-courses-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.day-courses-list .course-item {
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.9) 0%, rgba(227, 242, 253, 0.9) 100%);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.day-courses-list .course-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.day-courses-list .course-time {
    color: #0d47a1;
    font-weight: 500;
    margin-bottom: 4px;
}

.day-courses-list .course-name {
    font-size: 1.1rem;
    color: #1a237e;
    margin-bottom: 4px;
}

.day-courses-list .course-teacher,
.day-courses-list .course-campus {
    color: #546e7a;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.day-courses-list .course-fee {
    color: #2e7d32;
    font-weight: 500;
    margin-top: 4px;
}

.no-courses {
    text-align: center;
    color: #757575;
    font-style: italic;
    padding: 2rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .calendar-container {
        padding: 1rem;
    }
    
    .calendar-day {
        min-height: 80px;
    }
    
    .institution-stat {
        padding: 3px 6px;
        font-size: 0.75rem;
    }
    
    .day-courses-list .course-item {
        padding: 0.8rem;
    }
    
    .day-courses-list .course-name {
        font-size: 1rem;
    }
}

/* 动态生成的机构颜色类会在JavaScript中添加 */

/* 校区颜色标识 */
.east-campus {
    background-color: #bbdefb; /* 浅蓝色 */
}

.west-campus {
    background-color: #c8e6c9; /* 浅绿色 */
}

.south-campus {
    background-color: #ffecb3; /* 浅黄色 */
}

.north-campus {
    background-color: #ffccbc; /* 浅橙色 */
}

/* 校区管理样式 */
.campus-list {
    margin-bottom: 20px;
}

.campus-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.campus-list li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f5f5f5;
    border-radius: 4px;
    justify-content: space-between;
}

.campus-used {
    font-size: 0.8rem;
    color: #e57373;
    margin: 0 10px;
}

.delete-btn {
    background-color: #f44336;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.delete-btn:hover {
    background-color: #d32f2f;
}

/* 当前周信息样式 */
.current-week {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

#currentWeek {
    font-weight: bold;
    color: #4a6fa5;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(to bottom, #f0f4f8 0%, #e3eaf4 100%);
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.current-week small {
    font-size: 0.8rem;
    color: #666;
}

/* 周导航按钮样式 */
.week-nav-btn {
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.week-nav-btn:hover {
    background: linear-gradient(135deg, #3a5c8c 0%, #2c4a7a 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

#todayBtn {
    background: linear-gradient(135deg, #5a8cbe 0%, #4a7cae 100%);
}

#todayBtn:hover {
    background: linear-gradient(135deg, #4a7cae 0%, #3a6c9e 100%);
}

/* 美化删除课程按钮 */
.delete-course {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    line-height: 16px;
    text-align: center;
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border-radius: 50%;
    font-size: 12px;
    cursor: pointer;
    opacity: 0.8;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

.delete-course:hover {
    opacity: 1;
    transform: scale(1.15);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* 校区选择容器 */
.campus-select-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

.campus-select-container select {
    flex: 1;
}

/* 当天高亮样式 */
.today-header {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%) !important;
    border: 2px solid #4a6fa5 !important;
    color: #1565c0;
    position: relative;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transform: scale(1.03);
    z-index: 2;
}

.today-header::after {
    content: '今天';
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: #1565c0;
    color: white;
    font-size: 0.7rem;
    padding: 1px 4px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.today-cell {
    background: linear-gradient(to bottom, #f5f9ff 0%, #e3f2fd 100%);
    border: 2px solid #4a6fa5 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.today-cell:hover {
    background: linear-gradient(to bottom, #e3f2fd 0%, #bbdefb 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

/* 美化空单元格 */
.course-cell:empty {
    background: linear-gradient(to bottom, #f8fafc 0%, #f0f4f8 100%);
}

.course-cell:empty:hover {
    background: linear-gradient(to bottom, #f0f4f8 0%, #e6ebf5 100%);
    box-shadow: inset 0 0 0 2px #bbdefb;
}

/* 添加全局动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 添加加载动画 */
@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading {
    width: 30px;
    height: 30px;
    border: 3px solid #e3f2fd;
    border-top: 3px solid #4a6fa5;
    border-radius: 50%;
    animation: rotate 1s linear infinite;
    margin: 20px auto;
}

/* 添加平滑滚动效果 */
html {
    scroll-behavior: smooth;
}

/* 课程详情弹窗样式 */
.course-details {
    position: absolute;
    z-index: 1000;
    background: white;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    border-left: 4px solid #4a6fa5;
}

.course-details-header {
    background: linear-gradient(135deg, #4a6fa5 0%, #3a5c8c 100%);
    color: white;
    padding: 12px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.course-details-header h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 500;
}

.close-details {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0 5px;
}

.close-details:hover {
    transform: scale(1.2);
}

.course-details-content {
    padding: 15px;
    background-color: #f8fafc;
}

.course-details-content p {
    margin: 8px 0;
    line-height: 1.4;
}

.course-details-content button {
    margin-top: 10px;
    width: 100%;
}

/* 增加详情弹窗动画 */
@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.course-details.fade-in {
    animation: scaleIn 0.3s ease forwards;
}

/* 单元格中的时间信息 */
.cell-time-info {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 4px;
    opacity: 0.8;
    text-align: center;
    font-style: italic;
    padding: 2px;
    background-color: rgba(240, 240, 240, 0.5);
    border-radius: 3px;
}

/* 根据机构生成的动态颜色类会覆盖此背景 */
[class*="institution-"] {
    background: linear-gradient(135deg, rgba(240, 247, 255, 0.85) 0%, rgba(227, 242, 253, 0.85) 100%);
}

/* =============== 时间选择器样式 =============== */
.time-range-selector {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.time-inputs {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.time-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.time-input-group label {
    font-size: 0.9rem;
    color: #4a6fa5;
    font-weight: 500;
}

.time-input-container {
    position: relative;
    display: inline-block;
}

.time-input {
    width: 60px;
    height: 36px;
    padding: 0 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
    -moz-appearance: textfield;
    position: relative;
}

/* 移除默认的上下箭头 */
.time-input::-webkit-inner-spin-button,
.time-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    position: absolute;
    right: 0;
    width: 24px;
    cursor: pointer;
    opacity: 0.5;
}

/* 上箭头按钮 */
.time-input::-webkit-inner-spin-button {
    top: 0;
    height: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a6fa5' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 12px;
    background-position: center 2px;
}

/* 下箭头按钮 */
.time-input::-webkit-outer-spin-button {
    bottom: 0;
    height: 50%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234a6fa5' d='M6 3.175L10.825 8 9.763 9.063 6 5.3 2.238 9.063 1.175 8z'/%3E%3C/svg%3E") no-repeat center center;
    background-size: 12px;
    background-position: center 14px;
}

/* 悬停效果 */
.time-input::-webkit-inner-spin-button:hover,
.time-input::-webkit-outer-spin-button:hover {
    opacity: 1;
    background-color: rgba(74, 111, 165, 0.1);
}

/* 点击效果 */
.time-input::-webkit-inner-spin-button:active,
.time-input::-webkit-outer-spin-button:active {
    background-color: rgba(74, 111, 165, 0.2);
}

.time-input:focus {
    outline: none;
    border-color: #4a6fa5;
    box-shadow: 0 0 0 2px rgba(74, 111, 165, 0.2);
}

.time-input-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.time-input-wrapper span {
    font-size: 1.2rem;
    color: #4a6fa5;
    font-weight: 500;
} 