* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #F8FFF8;
    padding: 20px;
    position: relative;
}
.container {
    max-width: 800px;
    margin: 30px auto;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
/* 校园装饰元素 */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39, #FFEB3B, #FFC107);
}
.header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
h1 {
    text-align: center;
    margin-bottom: 15px;
    color: #2E7D32;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}
h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: #8BC34A;
}
h3 {
    color: #388E3C;
    margin-bottom: 15px;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
}
h3 i {
    margin-right: 10px;
    color: #4CAF50;
}
.school-info {
    text-align: center;
    color: #555;
    margin-bottom: 30px;
    font-style: italic;
    display: flex;
    align-items: center;
    justify-content: center;
}
.school-info i {
    margin: 0 10px;
    color: #4CAF50;
}
.form-group {
    margin-bottom: 25px;
    position: relative;
}
label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}
input[type="text"],
input[type="number"],
input[type="datetime-local"],
input[type="date"],
select,
textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: rgba(255, 255, 255, 0.9);
    font-family: 'Microsoft YaHei', Arial, sans-serif;
}

textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.6;
}
input[type="text"]:focus,
input[type="number"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #4CAF50;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
/* 添加图标到输入框 */
.form-group i {
    position: absolute;
    right: 15px;
    top: 45px;
    color: #9E9E9E;
    pointer-events: none;
}
button {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
button:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}
button:active {
    transform: translateY(0);
}
button i {
    margin-right: 8px;
}
.child-form {
    border: 2px solid #E8F5E9;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 25px;
    background-color: #F1F8E9;
    position: relative;
    transition: all 0.3s ease;
}
.child-form:hover {
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}
.add-child-btn {
    background-color: #8BC34A;
    display: block;
    margin: 10px auto;
}
.add-child-btn:hover {
    background-color: #689F38;
}
.submit-btn {
    display: block;
    margin: 30px auto 0;
    width: 100%;
    max-width: 300px;
    padding: 15px;
    background-color: #2E7D32;
}
.submit-btn:hover {
    background-color: #1B5E20;
}
.success-message {
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 5px solid #4CAF50;
    position: relative;
    font-weight: 500;
}
.success-message i {
    margin-right: 10px;
    color: #4CAF50;
}
.error-message {
    background-color: #FFEBEE;
    color: #C62828;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center;
    border-left: 5px solid #E53935;
    position: relative;
    font-weight: 500;
}
.error-message i {
    margin-right: 10px;
    color: #E53935;
}
/* 页脚信息 */
.footer {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E0E0E0;
    color: #666;
    font-size: 0.9rem;
}
.footer a {
    color: #4CAF50;
    text-decoration: none;
}
.footer a:hover {
    text-decoration: underline;
}
/* 校园装饰元素 */
.school-decoration {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    opacity: 0.8;
}
.school-decoration i {
    font-size: 2rem;
    color: #8BC34A;
}
/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        padding: 25px 20px;
        margin: 15px auto;
    }
    body {
        padding: 10px;
        background-position: center;
    }
    h1 {
        font-size: 1.8rem;
    }
    .school-decoration i {
        font-size: 1.5rem;
    }
    .floating-menu {
        height: 60px;
    }
    .floating-menu ul {
        flex-direction: row;
        height: 100%;
    }
    .floating-menu li {
        width: 25%;
    }
}
@media (max-width: 480px) {
    .container {
        padding: 20px 15px;
    }
    h1 {
        font-size: 1.5rem;
    }
    h3 {
        font-size: 1.1rem;
    }
    button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}
/* 浮动菜单样式 */
.floating-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 60px;
}
.floating-menu ul {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.floating-menu li {
    flex: 1;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}
.floating-menu li:hover {
    background-color: #F1F8E9;
}
.floating-menu li.active {
    background-color: #E8F5E9;
    color: #4CAF50;
    font-weight: bold;
}
.floating-menu a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
}
.floating-menu i {
    margin-bottom: 5px;
    font-size: 1.2rem;
}
.floating-menu span {
    font-size: 0.8rem;
}
/* 确保内容不被浮动菜单遮挡 */
body {
    padding-bottom: 80px;
}
/* 删除按钮样式 */
.delete-child-btn {
    background-color: #FF5722;
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 5px 10px;
    font-size: 12px;
}
.delete-child-btn:hover {
    background-color: #E64A19;
}
/* 页面内容容器样式 */
.page-content {
    display: none;
}
.page-content.active {
    display: block;
}

/* 记录查询页面样式 */
.query-form {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    border: 1px solid #E0E0E0;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.search-btn {
    background-color: #4CAF50;
    margin-top: 10px;
}
/* 统计信息容器样式 */
.summary-container {
    width: 100%;
    margin-bottom: 25px;
}

/* 总申请次数、参与次数、失约次数行样式 */
.summary-stats-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

/* 统计信息样式 */
.summary-stats {
    display: flex;
    justify-content: center;
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid #C8E6C9;
}

.stat-item {
    text-align: center;
    flex: 1;
    position: relative;
    padding: 20px;
    background: linear-gradient(135deg, #E8F5E9, #F1F8E9);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.1);
    border: 1px solid #C8E6C9;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.15);
}

.stat-label {
    display: block;
    font-size: 1rem;
    color: #388E3C;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #2E7D32;
}

.stat-unit {
    font-size: 1rem;
    color: #388E3C;
    margin-left: 5px;
    font-weight: 500;
}

/* 结果表格样式 */
.records-table-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #E0E0E0;
    margin-bottom: 25px;
}

.records-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.records-table th {
    background-color: #F1F8E9;
    color: #2E7D32;
    font-weight: 600;
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #C8E6C9;
}

.records-table td {
    padding: 15px;
    border-bottom: 1px solid #F0F0F0;
    color: #333;
}

.records-table tr:hover {
    background-color: #F9FFF9;
}

/* 未确认记录的红色显示样式 */
.records-table .unconfirmed-record {
    background-color: rgba(220, 53, 69, 0.1);
}

.records-table .unconfirmed-record:hover {
    background-color: rgba(220, 53, 69, 0.2);
}

.records-table .unconfirmed-record td {
    color: #dc3545;
    font-weight: 500;
}

/* 失约次数卡片样式 */
.no-show-item {
    background: linear-gradient(135deg, #FFEBEE, #FFCDD2) !important;
    border-color: #EF9A9A !important;
}

.no-show-item .stat-label {
    color: #C62828 !important;
}

.no-show-item .stat-value {
    color: #B71C1C !important;
}

/* 失约次数红色加粗显示 */
.stat-item .no-show-count {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
}

/* 失约次数不为零时，整项红色加粗显示 */
.stat-item.no-show-item {
    color: #dc3545;
    font-weight: bold;
}

.stat-item.no-show-item .stat-label,
.stat-item.no-show-item .stat-value {
    color: #dc3545;
    font-weight: bold;
}

.records-table tr:last-child td {
    border-bottom: none;
}

.records-table th i,
.records-table td i {
    margin-right: 8px;
}

/* 义工排行榜样式 */
.ranking-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 20px;
    flex-wrap: wrap;
}

.ranking-tabs .tab {
    padding: 12px 30px;
    background-color: #E8F5E9;
    color: #2E7D32;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.ranking-tabs .tab:hover {
    background-color: #C8E6C9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.ranking-tabs .tab.active {
    background-color: #4CAF50;
    color: white;
    border-color: #388E3C;
}

/* 前三名特殊显示 */
.top-three {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 40px;
    min-height: 250px;
}

.rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 15px;
    background-color: #F1F8E9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.rank-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.rank-first {
    order: 2;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    border: 2px solid #FFB74D;
    padding: 30px 20px;
    z-index: 10;
}

.rank-second {
    order: 1;
    background: linear-gradient(135deg, #ECEFF1, #CFD8DC);
    border: 2px solid #90A4AE;
    height: 85%;
}

.rank-third {
    order: 3;
    background: linear-gradient(135deg, #FFF8E1, #FFECB3);
    border: 2px solid #FFD54F;
    height: 70%;
}

.rank-number {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #4CAF50;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.rank-first .rank-number {
    background-color: #FF9800;
}

.rank-second .rank-number {
    background-color: #757575;
}

.rank-third .rank-number {
    background-color: #CD853F;
}

.rank-medal {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #FFEB3B;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: #FFC107;
    font-size: 2.5rem;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.3);
}

.rank-medal.gold {
    background-color: #FFD700;
    color: #FFA000;
    box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}

.rank-info {
    text-align: center;
}

.rank-name {
    font-weight: bold;
    color: #2E7D32;
    margin-bottom: 5px;
}

.rank-class {
    color: #666;
    margin-bottom: 8px;
}

.rank-score {
    color: #4CAF50;
}

/* 排行榜表格样式 */
.ranking-table-container {
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid #E0E0E0;
    margin-bottom: 30px;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.ranking-table th {
    background: linear-gradient(135deg, #4CAF50, #66BB6A);
    color: white;
    text-align: left;
    padding: 15px 20px;
    border-bottom: 3px solid #388E3C;
}

.ranking-table td {
    padding: 15px 20px;
    border-bottom: 1px solid #F0F0F0;
    color: #333;
    transition: all 0.3s ease;
}

.ranking-table tr {
    transition: all 0.3s ease;
}

.ranking-table tr:hover {
    background-color: #F9FFF9;
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ranking-table tr.even {
    background-color: #FAFAFA;
}

.ranking-table tr.odd {
    background-color: white;
}

.rank-position {
    font-weight: bold;
    color: #4CAF50;
}

.rank-student {
    font-weight: 600;
    color: #2E7D32;
}

.rank-grade {
    color: #666;
}

.rank-count {
    color: #1976D2;
    font-weight: 600;
}

.rank-hours {
    color: #FF9800;
    font-weight: 700;
}

.ranking-table th i, .ranking-table td i {
    margin-right: 8px;
}

.ranking-table tr:last-child td {
    border-bottom: none;
}

/* 无结果提示样式 */
.no-results {
    text-align: center;
    padding: 50px 20px;
    color: #666;
}

.no-results i {
    font-size: 3rem;
    color: #9E9E9E;
    margin-bottom: 15px;
    display: block;
}

.no-results p {
    font-size: 1.1rem;
}

/* 响应式设计 - 义工排行页面 */
@media (max-width: 768px) {
    .ranking-tabs {
        gap: 10px;
    }
    
    .ranking-tabs .tab {
        padding: 10px 20px;
        text-align: center;
    }
    
    /* 前三名特殊显示响应式 */
    .top-three {
        flex-direction: column;
        align-items: center;
        min-height: auto;
        gap: 20px;
    }
    
    .rank-item {
        width: 100%;
        max-width: 250px;
        height: auto;
    }
    
    .rank-first, .rank-second, .rank-third {
        order: 0;
        height: auto;
    }
    
    /* 排行榜表格响应式 */
    .ranking-table-container {
        overflow-x: auto;
    }
    
    .ranking-table {
        width: 100%;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .ranking-table th,
    .ranking-table td {
        padding: 10px;
        text-align: center;
    }
    
    .ranking-table th i,
    .ranking-table td i {
        display: none;
    }
}

/* 响应式设计 - 记录查询页面 */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-stats {
        flex-direction: column;
        gap: 15px;
    }
    
    .summary-stats-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .stat-item:not(:last-child)::after {
        display: none;
    }
    
    .stat-item {
        padding: 10px;
        border-bottom: 1px solid rgba(76, 175, 80, 0.2);
    }
    
    .stat-item:last-child {
        border-bottom: none;
    }
    
    .records-table {
        font-size: 0.9rem;
    }
    
    .records-table th,
    .records-table td {
        padding: 10px;
    }
}

/* 反馈表单样式 */
.feedback-form-container {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E0E0E0;
    margin-bottom: 30px;
}

.feedback-form-container h2 {
    color: #2E7D32;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.feedback-form-container h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

/* 提交按钮样式 */
.submit-btn {
    background-color: #4CAF50;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    width: 100%;
    max-width: 200px;
}

.submit-btn:hover {
    background-color: #388E3C;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.submit-btn i {
    margin-right: 8px;
}

/* 成功消息样式 */
.success-message {
    background-color: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid #4CAF50;
    display: flex;
    align-items: center;
}

.success-message i {
    margin-right: 10px;
    color: #4CAF50;
}

/* 反馈历史样式 */
.feedback-history {
    background-color: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #E0E0E0;
}

.feedback-history h2 {
    color: #2E7D32;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
}

.feedback-history h2 i {
    margin-right: 10px;
    color: #4CAF50;
}

/* 反馈列表样式 */
.feedback-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* 反馈项样式 */
.feedback-item {
    background-color: #F8FFF8;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #E8F5E9;
    transition: all 0.3s ease;
}

.feedback-item:hover {
    background-color: #F1F8E9;
    box-shadow: 0 2px 10px rgba(76, 175, 80, 0.1);
    transform: translateY(-2px);
}

/* 反馈头部样式 */
.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
    gap: 10px;
}

/* 反馈元信息样式 */
.feedback-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    flex: 1;
}

.feedback-name,
.feedback-type,
.feedback-date {
    color: #333;
    display: flex;
    align-items: center;
}

.feedback-name i,
.feedback-type i,
.feedback-date i {
    margin-right: 8px;
    color: #4CAF50;
}

/* 反馈状态样式 */
.feedback-status {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9em;
}

/* 义工时间样式 */
.feedback-volunteer-time {
    background-color: #E8F5E9;
    color: #2E7D32;
    padding: 8px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.feedback-volunteer-time i {
    margin-right: 8px;
    color: #4CAF50;
}

/* 反馈内容样式 */
.feedback-content {
    color: #555;
    line-height: 1.7;
}

.feedback-content p {
    margin: 0;
}

/* 必填项标记样式 */
.required {
    color: #E53935;
    font-weight: bold;
}

/* 响应式设计 - 反馈页面 */
@media (max-width: 768px) {
    .feedback-form-container,
    .feedback-history {
        padding: 20px;
    }
    
    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .feedback-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .submit-btn {
        width: 100%;
        max-width: none;
    }
}
        /* 当天义工申请记录模块样式 */
        .today-applications {
            margin-top: 30px;
            background-color: #f9f9f9;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        
        .today-applications h3 {
            margin-top: 0;
            margin-bottom: 15px;
            color: #333;
            border-bottom: 2px solid #4CAF50;
            padding-bottom: 10px;
        }
        
        .applications-stats {
            margin-bottom: 15px;
            padding: 10px;
            background-color: #e8f5e9;
            border-radius: 5px;
        }
        
        .stat-item {
            align-items: center;
            font-size: 16px;
            font-weight: bold;
            color: #2E7D32;
        }
        
        .stat-item i {
            margin-right: 10px;
            font-size: 20px;
        }
        
        .applications-container {
            height: 200px;
            position: relative;
            overflow: hidden;
            border: 1px solid #ddd;
            border-radius: 5px;
            background-color: #fff;
        }
        
        .applications-scroll {
            height: 100%;
            overflow-y: auto;
        }
        
        .application-item {
            padding: 10px;
            border-bottom: 1px solid #eee;
            transition: background-color 0.3s;
        }
        
        .application-item:hover {
            background-color: #f5f5f5;
        }
        
        .application-item:last-child {
            border-bottom: none;
        }
        
        .app-info {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 5px;
        }
        
        .app-field {
            display: flex;
            align-items: center;
        }
        
        .field-label {
            font-weight: bold;
            margin-right: 5px;
            color: #555;
        }
        
        .field-value {
            color: #333;
        }
        
        .loading-indicator, .no-applications, .error-message {
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100%;
            color: #666;
        }
        
        .loading-indicator i, .no-applications i, .error-message i {
            margin-right: 10px;
        }
        
        .loading-indicator i {
            animation: fa-spin 2s infinite linear;
        }
        
        .error-message {
            color: #f44336;
        }
.images-grid{
    width:100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.image-item {
    border-radius: 10px;
    overflow: hidden;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 图片说明模块样式 */
.image-info {
    margin: 25px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid #4CAF50;
}

.image-info h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    font-size: 18px;
}

.image-info h3 i {
    margin-right: 10px;
    color: #4CAF50;
    font-size: 20px;
}

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

.info-item {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    color: #4CAF50;
    margin-right: 10px;
    margin-top: 3px;
    font-size: 14px;
    flex-shrink: 0;
}

.info-text {
    color: #555;
    font-size: 14px;
}

.info-text strong {
    color: #333;
    font-weight: 600;
}

/* 响应式设计 - 图片说明模块 */
@media (max-width: 768px) {
    .image-info {
        padding: 15px;
        margin: 20px 0;
    }
    
    .image-info h3 {
        font-size: 16px;
    }
    
    .info-item {
        margin-bottom: 10px;
    }
    
    .info-text {
        font-size: 13px;
    }
}

/*上传图片样式*/
        .upload-container {
            max-width: 800px;
            margin: 20px auto;
            padding: 20px;
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0,0,0,0.1);
        }
        .upload-form {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        .form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }
        .form-group label {
            font-weight: bold;
        }
        .file-input {
            padding: 10px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        .submit-btn {
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
        }
        .submit-btn:hover {
            background-color: #45a049;
        }
        .submit-btn:disabled {
            background-color: #cccccc;
            cursor: not-allowed;
        }
        .response-container {
            margin-top: 20px;
            padding: 15px;
            border-radius: 5px;
            display: none;
        }
        .success {
            background-color: #dff0d8;
            color: #3c763d;
            border: 1px solid #d6e9c6;
        }
        .error {
            background-color: #f2dede;
            color: #a94442;
            border: 1px solid #ebccd1;
        }
        .preview-image {
            max-width: 100%;
            max-height: 300px;
            margin-top: 10px;
            display: none;
        }
        .progress-container {
            margin-top: 15px;
            display: none;
        }
        .progress-bar {
            height: 20px;
            background-color: #f0f0f0;
            border-radius: 10px;
            overflow: hidden;
        }
        .progress {
            height: 100%;
            background-color: #4CAF50;
            width: 0%;
            transition: width 0.3s;
        }
        .progress-text {
            margin-top: 5px;
            text-align: center;
            font-size: 14px;
            color: #666;
        }
        .preview-image {
            max-width: 100%;
            max-height: 300px;
            margin-top: 10px;
            display: none; /* 确保默认是隐藏的 */
            margin-left: auto; /* 添加这两行使图片左右居中 */
            margin-right: auto;
        }
        /* 上传按钮美化样式 */
        .upload-button-container {
            margin: 30px 0;
            text-align: center;
        }
        
        .upload-button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            color: white;
            padding: 15px 30px;
            border-radius: 50px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .upload-button:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .upload-button:hover:before {
            left: 100%;
        }
        
        .upload-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
            background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
        }
        
        .upload-button i {
            margin-right: 10px;
            font-size: 20px;
        }
        
        /* 添加脉冲动画效果 */
        @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
            }
            70% {
                box-shadow: 0 0 0 10px rgba(76, 175, 80, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
            }
        }
        
        .upload-button {
            animation: pulse 2s infinite;
        }
        
        .upload-button:hover {
            animation: none;
        }
        /* 菜单预览美化样式 */
        .quick-access {
            margin-top: 30px;
            text-align: center;
        }
        
        .quick-access p {
            font-size: 18px;
            color: #555;
            margin-bottom: 20px;
            font-weight: 500;
        }
        
        .menu-preview {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 20px;
            margin-top: 20px;
        }
        
        .menu-preview ul {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 15px;
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .menu-preview li {
            position: relative;
        }
        
        .menu-preview li a {
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
            color: white;
            padding: 12px 25px;
            border-radius: 30px;
            text-decoration: none;
            font-size: 16px;
            font-weight: 600;
            box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            min-width: 160px;
        }
        
        .menu-preview li a:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
            transition: left 0.5s;
        }
        
        .menu-preview li a:hover:before {
            left: 100%;
        }
        
        .menu-preview li a:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
            background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
        }
        
        .menu-preview li a i {
            margin-right: 8px;
            font-size: 18px;
        }
        
        /* 为每个菜单项添加不同的颜色主题 */
        .menu-preview li:nth-child(1) a {
            background: linear-gradient(135deg, #FF6B6B 0%, #EE5A52 100%);
            box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
        }
        
        .menu-preview li:nth-child(1) a:hover {
            background: linear-gradient(135deg, #EE5A52 0%, #FF6B6B 100%);
            box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
        }
        
        .menu-preview li:nth-child(2) a {
            background: linear-gradient(135deg, #4ECDC4 0%, #44A08D 100%);
            box-shadow: 0 4px 15px rgba(78, 205, 196, 0.3);
        }
        
        .menu-preview li:nth-child(2) a:hover {
            background: linear-gradient(135deg, #44A08D 0%, #4ECDC4 100%);
            box-shadow: 0 6px 20px rgba(78, 205, 196, 0.4);
        }
        
        .menu-preview li:nth-child(3) a {
            background: linear-gradient(135deg, #FFD166 0%, #F4A261 100%);
            box-shadow: 0 4px 15px rgba(255, 209, 102, 0.3);
        }
        
        .menu-preview li:nth-child(3) a:hover {
            background: linear-gradient(135deg, #F4A261 0%, #FFD166 100%);
            box-shadow: 0 6px 20px rgba(255, 209, 102, 0.4);
        }
        
        .menu-preview li:nth-child(4) a {
            background: linear-gradient(135deg, #6A67CE 0%, #5B5FCE 100%);
            box-shadow: 0 4px 15px rgba(106, 103, 206, 0.3);
        }
        
        .menu-preview li:nth-child(4) a:hover {
            background: linear-gradient(135deg, #5B5FCE 0%, #6A67CE 100%);
            box-shadow: 0 6px 20px rgba(106, 103, 206, 0.4);
        }