/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background-color: #f0f4f8;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 基础动画 - 性能优化版 */
.fade-in {
    animation: fadeIn 0.3s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in {
    animation: slideIn 0.3s ease-out forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-up {
    animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 移除持续动画，减少性能消耗 */
/* .pulse 动画已移除，改用简单的悬停效果 */

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
}

/* 按钮点击波纹效果 - 简化版，提高性能 */
.btn {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* 移除复杂的波纹效果，改用简单的状态变化 */

/* 触摸反馈效果 */
.btn,
.nav-links a,
.floating-btn,
.copy-btn,
.hamburger,
.mobile-card-actions .btn,
.table td button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    cursor: pointer;
}

/* 优化交互元素的点击区域 - 确保所有按钮至少44x44像素 */
.btn,
.nav-links a,
.floating-btn,
.copy-btn,
.mobile-card-actions .btn,
.table td button {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
}

/* 导航链接优化 */
.nav-links a {
    padding: 16px 20px;
}

/* 复制按钮优化 */
.copy-btn {
    padding: 12px 16px;
    font-size: 14px;
}

/* 浮动按钮优化 */
.floating-btn {
    width: 56px;
    height: 56px;
    padding: 0;
}

/* 表单元素焦点样式优化 */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
    transform: translateY(0);
}

/* 确保链接有足够大的点击区域 */
.link {
    display: inline-block;
    padding: 8px 12px;
    min-height: 44px;
    min-width: 44px;
    text-align: center;
    line-height: 28px;
}

/* 优化复选框和单选按钮的触摸体验 */
input[type="checkbox"],
input[type="radio"] {
    transform: scale(1.2);
    margin-right: 8px;
}

/* 优化链接的触摸反馈 */
.link {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.link:hover,
.link:active {
    background-color: rgba(26, 115, 232, 0.1);
    transform: translateY(-1px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 登录页面样式 */
.login-box {
    width: 100%;
    max-width: 500px;
    margin: 80px auto;
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #1a73e8;
}

/* 响应式登录页面优化 */
@media (max-width: 768px) {
    .login-box {
        margin: 20px auto;
        padding: 24px;
        max-width: 95%;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    /* 登录表单输入框优化 */
    #login-form .form-group {
        margin-bottom: 20px;
        background-color: #f8f9fa;
        padding: 16px;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }
    
    #login-form .form-group label {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
        color: #202124;
        display: block;
    }
    
    /* 密码输入框容器特殊样式 */
    #login-form .form-group:nth-child(2) {
        position: relative;
    }
    
    /* 密码切换按钮优化 */
    #toggle-password {
        min-height: 54px;
        padding: 12px 20px;
        font-size: 14px;
        border-radius: 10px;
        white-space: nowrap;
        font-weight: 600;
    }
    
    /* 记住我选项优化 */
    #login-form .form-group:nth-child(3) {
        background-color: transparent;
        padding: 0;
        border: none;
    }
    
    /* 登录按钮容器优化 */
    #login-form .form-group:nth-child(4) {
        background-color: transparent;
        padding: 0;
        border: none;
    }
    
    /* 登录按钮优化 */
    #login-form .btn {
        margin-top: 16px;
        padding: 16px 24px;
        font-size: 16px;
        min-height: 50px;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.2s ease;
        width: 100%;
        text-align: center;
    }
    
    /* 注册按钮优化 */
    #login-form .btn-secondary {
        margin-top: 12px;
    }
    
    /* 错误信息显示优化 */
    #message {
        margin-top: 16px;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 500;
    }
}

.login-box h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #1a73e8;
    font-size: 28px;
    font-weight: 600;
}

/* 表单样式 */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #5f6368;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.2);
}

/* 按钮样式 - 优化版 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    background-color: #1a73e8;
    color: #fff;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 80px;
    text-align: center;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    line-height: 1.4;
}

.btn:hover {
    background-color: #1557b0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
    background-color: #0d47a1;
    box-shadow: 0 2px 4px rgba(26, 115, 232, 0.2);
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
}

/* 表单提交按钮 - 保持100%宽度 */
.form-group .btn {
    width: 100%;
    margin: 12px 0;
    padding: 12px 24px;
    font-size: 16px;
    min-height: 48px;
}

/* 页面顶部按钮 - 保持100%宽度在移动设备 */
.main-content > .btn:first-of-type {
    width: 100%;
    margin-bottom: 16px;
    padding: 14px 24px;
    font-size: 16px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

@media (min-width: 768px) {
    /* 大屏幕上顶部按钮使用自适应宽度 */
    .main-content > .btn:first-of-type {
        width: auto;
        margin-bottom: 0;
        margin-right: 16px;
    }
}

.btn-danger {
    background-color: #dc3545;
}

.btn-danger:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:active {
    background-color: #b21f2d;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.3);
}

.btn-secondary:active {
    background-color: #495057;
}

.btn-success {
    background-color: #28a745;
    color: #fff;
}

.btn-success:hover {
    background-color: #218838;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success:active {
    background-color: #1e7e34;
}

/* 移动端卡片样式优化 */
.mobile-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 16px 0;
}

.mobile-cards .card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 1px solid #e9ecef;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    overflow: hidden;
}

.mobile-cards .card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
    border-color: #dee2e6;
}

.mobile-cards .card h4 {
    color: #212529;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.mobile-cards .card p {
    color: #6c757d;
    font-size: 14px;
    margin: 4px 0;
    line-height: 1.5;
}

/* 卡片内操作按钮容器 */
.mobile-cards .card > div:first-of-type {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

/* 卡片内用户信息区域 */
.mobile-cards .card > div:first-of-type > div {
    flex: 1;
    min-width: 0;
}

/* 卡片内按钮组 */
.mobile-cards .card .btn {
    margin: 4px 0;
    min-width: 70px;
    padding: 8px 16px;
    font-size: 13px;
}

/* 卡片内按钮组样式 */
.mobile-cards .card div[style*="gap: 8px"] {
    display: flex;
    gap: 10px !important;
    margin-top: 8px;
    flex-wrap: wrap;
}

/* 优化卡片间距和布局 */
.main-content {
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 优化页面标题 */
.page-title {
    font-size: 24px;
    font-weight: 700;
    color: #212529;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-title::before {
    content: '';
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    border-radius: 2px;
}

/* 消息样式 */
.message {
    margin-top: 20px;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: none;
    z-index: 100;
    position: relative;
}

.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    background-image: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.message.success {
    background-color: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    background-image: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    animation: pulse 2s infinite;
}

/* 脉冲动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 4px 12px rgba(21, 87, 36, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(21, 87, 36, 0.6);
        transform: scale(1.02);
    }
    100% {
        box-shadow: 0 4px 12px rgba(21, 87, 36, 0.3);
        transform: scale(1);
    }
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* 导航栏样式 */
.navbar {
    background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    color: #fff;
    padding: 12px 0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    margin-bottom: 32px;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.navbar h1 {
    font-size: 20px;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* 汉堡菜单动画 - 优化版 */
.hamburger {
    will-change: transform;
    transform: translateZ(0);
}

.hamburger span {
    will-change: transform, opacity;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0.7) translateZ(0);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 16px;
    margin: 8px 0 0 0;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 10px 18px;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-block;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.nav-links a:hover::before {
    width: 300px;
    height: 300px;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-links a:active {
    transform: translateY(0);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* 活跃链接样式 */
.nav-links a.active {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

/* 退出登录按钮特殊样式 */
.nav-links a#logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-links a#logout:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    /* 基础布局优化 */
    .container {
        padding: 0 12px;
    }
    
    /* 导航栏优化 */
    .navbar {
        padding: 12px 0;
        margin-bottom: 16px;
    }
    
    .navbar .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }
    
    .navbar h1 {
        font-size: 16px;
        margin-bottom: 0;
        flex: 1;
        text-align: left;
    }
    
    /* 汉堡菜单优化 */
    .hamburger {
        display: flex;
        padding: 8px;
        border-radius: 8px;
        transition: background-color 0.2s ease;
    }
    
    .hamburger:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* 导航链接优化 - 极简版 */
    .nav-links {
        margin-top: 0;
        flex-direction: column;
        gap: 8px;
        width: 100%;
        align-items: stretch;
        position: absolute;
        top: 100%;
        left: 0;
        background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
        padding: 12px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
        border-radius: 0 0 12px 12px;
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.2s ease-out;
        will-change: transform, opacity, visibility;
        max-height: 600px;
        overflow-y: auto;
    }
    
    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    
    /* 移除复杂的子元素动画，提升性能 */
    .nav-links li {
        width: 100%;
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* 简化导航链接样式 */
    .nav-links a {
        display: block;
        padding: 16px 12px;
        width: 100%;
        text-align: left;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: none;
        font-size: 15px;
        transform: none;
        box-shadow: none;
        transition: all 0.2s ease;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: none;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links a:active {
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* 活跃链接样式优化 */
    .nav-links a.active {
        background: rgba(255, 255, 255, 0.15);
        border-left: 4px solid #fff;
    }
    
    /* 退出登录按钮特殊样式 - 移动端 */
    .nav-links a#logout {
        background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
        margin-top: 8px;
        text-align: center;
    }
    
    /* 主要内容区域优化 */
    .main-content {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
    }
    
    /* 页面标题优化 */
    .page-title {
        font-size: 20px;
        padding-bottom: 8px;
        margin-bottom: 16px;
    }
}

/* 主要内容样式 */
.main-content {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
}

/* 页面标题样式 */
.page-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #202124;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 12px;
    font-weight: 600;
}

/* 卡片样式 */
.card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.card h3 {
    margin-bottom: 16px;
    color: #202124;
    font-size: 18px;
    font-weight: 600;
}

/* 表格样式 */
.table-container {
    overflow-x: auto;
    margin-bottom: 24px;
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
}

.table th,
.table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #5f6368;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.table tr {
    transition: background-color 0.2s ease;
}

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

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

/* 表单容器样式 */
.form-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    background-color: #fff;
    margin: 8% auto;
    padding: 32px;
    border: none;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.close {
    color: #9aa0a6;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #3c4043;
    text-decoration: none;
}

/* 响应式设计 - 平板设备优化 */
@media (max-width: 768px) {
    /* 基础样式调整 */
    body {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .container {
        padding: 0 16px;
        max-width: 100%;
        margin: 0 auto;
    }
    
    /* 确保所有表格在移动端都有良好的显示 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -16px;
        padding: 0 16px;
        width: calc(100% + 32px);
    }
    
    /* 优化表格单元格 */
    .table th,
    .table td {
        padding: 12px 10px;
        font-size: 14px;
    }
    
    /* 优化表格单元格内的按钮 */
    .table td .btn {
        padding: 8px 14px;
        font-size: 12px;
        min-height: 36px;
        margin: 2px 4px;
        width: auto;
        max-width: none;
    }
    
    /* 优化操作列 */
    .table td:last-child {
        display: flex;
        flex-direction: row;
        gap: 8px;
        align-items: center;
    }
    
    /* 优化卡片布局 */
    .card {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* 优化表单容器 */
    .form-container {
        padding: 16px;
        width: 100%;
        max-width: 100%;
    }
    
    /* 优化模态框 */
    .modal {
        padding: 0 16px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 24px;
        width: 100%;
        max-width: 500px;
        border-radius: 16px;
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    }
    
    /* 优化模态框标题 */
    .modal-content h3 {
        font-size: 20px;
        margin-bottom: 20px;
    }
    
    /* 优化页面标题 */
    .page-title {
        font-size: 20px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }
    
    /* 优化主要内容区域 */
    .main-content {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* 优化搜索筛选器 */
    .search-filters-container {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .search-filter-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    
    .search-input-container,
    .search-filter-group {
        width: calc(50% - 8px);
        min-width: auto;
    }
    
    .search-buttons-container {
        flex-direction: row;
        gap: 12px;
    }
    
    /* 优化违纪记录卡片 */
    .violation-card-new {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    .violation-card-header {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
    }
    
    .student-name {
        font-size: 18px;
        margin-bottom: 4px;
    }
    
    .student-id,
    .student-class {
        font-size: 13px;
        margin-bottom: 2px;
    }
    
    .violation-details {
        gap: 8px;
        margin-bottom: 16px;
    }
    
    .violation-item {
        font-size: 14px;
    }
    
    /* 优化删除按钮 */
    .delete-btn {
        width: auto;
        padding: 10px 16px;
        font-size: 13px;
        min-height: 40px;
    }
    
    /* 优化高级筛选 */
    .search-filters-container > div:nth-of-type(3) {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-bottom: 16px;
    }
    
    /* 优化按钮 */
    .btn {
        padding: 12px 24px;
        font-size: 15px;
        min-height: 44px;
        min-width: auto;
        margin: 8px 0;
        width: auto;
    }
    
    /* 优化导航栏 */
    .navbar h1 {
        font-size: 18px;
    }
}

/* 响应式设计 - 手机设备优化 (320px-480px) */
@media (max-width: 480px) {
    /* 基础样式调整 */
    body {
        font-size: 14px;
        line-height: 1.5;
        overflow-x: hidden;
    }
    
    /* 确保没有横向滚动条 */
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    /* 容器优化 */
    .container {
        padding: 0 8px;
        max-width: 100%;
        margin: 0;
        width: 100%;
    }
    
    /* 页面标题优化 */
    .page-title {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 8px;
        text-align: center;
    }
    
    /* 主要内容区域优化 */
    .main-content {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    /* 搜索筛选器优化 */
    .search-filters-container {
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 8px;
    }
    
    /* 高级筛选标题 */
    .search-filters-container > div:first-of-type {
        font-size: 16px;
        margin-bottom: 12px;
        padding: 0;
    }
    
    /* 筛选方式选择 */
    .search-filters-container > div:nth-of-type(2) {
        margin-bottom: 12px;
        padding: 12px;
        background-color: #f0f4f8;
        border-radius: 8px;
        border: 1px solid #e0e0e0;
    }
    
    /* 筛选方式选择列表 */
    .search-filters-container > div:nth-of-type(2) > div {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 筛选方式标签 */
    .search-filters-container > div:nth-of-type(2) > div > label {
        font-size: 13px;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* 筛选条件组 */
    .search-filters-container > div:nth-of-type(3) {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    /* 搜索筛选行 */
    .search-filter-row {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 搜索输入容器 */
    .search-input-container,
    .search-filter-group {
        width: 100%;
        min-width: auto;
    }
    
    /* 搜索按钮容器 */
    .search-buttons-container {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 搜索按钮 */
    .search-btn,
    .reset-btn,
    .btn-success {
        width: 100%;
        max-width: none;
        min-width: auto;
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
    }
    
    /* 加载指示器 */
    #loading-indicator {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
        font-size: 13px;
    }
    
    /* 表格容器优化 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -8px;
        padding: 0 8px;
        width: calc(100% + 16px);
        border-radius: 8px;
    }
    
    /* 违纪记录卡片优化 */
    .violation-card-new {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    /* 违纪卡片头部 */
    .violation-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    /* 学生信息 */
    .student-info {
        flex: 1;
    }
    
    /* 学生姓名 */
    .student-name {
        font-size: 16px;
        margin-bottom: 4px;
        font-weight: 600;
    }
    
    /* 学生学号和班级 */
    .student-id,
    .student-class {
        font-size: 12px;
        margin-bottom: 2px;
        color: #5f6368;
    }
    
    /* 违纪详情 */
    .violation-details {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    /* 违纪项 */
    .violation-item {
        font-size: 13px;
        display: flex;
        flex-direction: column;
        gap: 2px;
    }
    
    /* 违纪标签 */
    .violation-label {
        font-weight: 600;
        color: #5f6368;
        font-size: 12px;
    }
    
    /* 违纪内容区域 */
    .violation-content-section {
        padding-top: 12px;
        border-top: 1px solid #f0f0f0;
    }
    
    /* 违纪内容标签 */
    .violation-content-label {
        font-size: 13px;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    /* 违纪内容文本 */
    .violation-content-text {
        padding: 10px;
        font-size: 13px;
        border-radius: 6px;
        background-color: #f8f9fa;
        border: 1px solid #e0e0e0;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* 删除按钮 */
    .delete-btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        min-height: 40px;
        border-radius: 6px;
    }
    
    /* 上传违纪表单 */
    #violation-form {
        padding: 0;
    }
    
    /* 表单组 */
    .form-group {
        margin-bottom: 16px;
    }
    
    /* 表单标签 */
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
        font-weight: 500;
    }
    
    /* 表单输入框 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 40px;
        border-radius: 6px;
        border: 1px solid #dadce0;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 文本域 */
    .form-group textarea {
        min-height: 100px;
        resize: vertical;
    }
    
    /* 选择器样式 */
    select {
        background-position: right 12px center;
        padding-right: 40px !important;
        appearance: none;
    }
    
    /* 按钮 */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
        min-width: auto;
        margin: 6px 0;
        width: 100%;
        border-radius: 6px;
        font-weight: 500;
    }
    
    /* 导航栏 */
    .navbar {
        padding: 8px 0;
    }
    
    /* 导航栏标题 */
    .navbar h1 {
        font-size: 16px;
        margin: 0;
        text-align: left;
        flex: 1;
    }
    
    /* 汉堡菜单 */
    .hamburger {
        gap: 4px;
        padding: 8px;
    }
    
    /* 汉堡菜单线条 */
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* 导航链接 */
    .nav-links {
        padding: 8px;
        margin-top: 0;
        background: linear-gradient(135deg, #1a73e8 0%, #0d47a1 100%);
    }
    
    /* 导航链接项 */
    .nav-links a {
        padding: 10px 12px;
        font-size: 14px;
        border-radius: 6px;
        text-align: center;
    }
    
    /* 模态框 */
    .modal {
        padding: 0 8px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    /* 模态框内容 */
    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 100%;
        max-width: 480px;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* 模态框标题 */
    .modal-content h3 {
        font-size: 18px;
        margin-bottom: 16px;
        color: #202124;
        font-weight: 600;
    }
    
    /* 关闭按钮 */
    .close {
        font-size: 28px;
        line-height: 1;
        padding: 4px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 12px;
        right: 12px;
    }
    
    /* 表格 */
    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        min-width: 320px;
        border-collapse: collapse;
    }
    
    /* 表格头部和单元格 */
    .table th,
    .table td {
        padding: 10px 6px;
        font-size: 13px;
        vertical-align: middle;
        border-bottom: 1px solid #f0f0f0;
    }
    
    /* 表格头部 */
    .table th {
        white-space: nowrap;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        background-color: #f8f9fa;
        color: #5f6368;
    }
    
    /* 表格单元格内的按钮 */
    .table td .btn {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 36px;
        margin: 2px 0;
        width: 100%;
        max-width: 90px;
    }
    
    /* 表格操作列 */
    .table td:last-child {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    /* 卡片 */
    .card {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 8px;
    }
    
    /* 表单容器 */
    .form-container {
        padding: 12px;
        width: 100%;
        max-width: 100%;
        border-radius: 8px;
    }
    
    /* 加载动画 */
    .loading {
        padding: 20px;
        text-align: center;
        color: #5f6368;
        font-size: 14px;
    }
    
    /* 消息样式 */
    .message {
        padding: 12px;
        border-radius: 6px;
        margin: 12px 0;
        font-size: 14px;
        text-align: center;
    }
    
    /* 确保所有元素都使用相对单位 */
    * {
        box-sizing: border-box;
    }
    
    /* 防止内容溢出 */
    img,
    video,
    iframe {
        max-width: 100%;
        height: auto;
    }
    
    /* 优化文本换行 */
    p,
    div,
    span {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* 优化选择器组 */
    .select-group {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 优化按钮组 */
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 优化统计卡片 */
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 16px;
    }
    
    /* 统计卡片 */
    .stat-card {
        padding: 16px;
        text-align: center;
        border-radius: 8px;
    }
    
    /* 统计值 */
    .stat-value {
        font-size: 24px;
        font-weight: 700;
    }
    
    /* 统计标题 */
    .stat-card h4 {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    /* 确保所有表格在移动端都有良好的显示 */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 0 -8px;
        padding: 0 8px;
        width: calc(100% + 16px);
    }
    
    .table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        min-width: 320px;
    }
    
    /* 优化表格单元格 */
    .table th,
    .table td {
        padding: 10px 6px;
        font-size: 13px;
        vertical-align: middle;
    }
    
    /* 优化表格单元格内的按钮 */
    .table td .btn {
        padding: 8px 12px;
        font-size: 12px;
        min-height: 36px;
        margin: 2px 0;
        width: 100%;
        max-width: 90px;
    }
    
    /* 优化操作列 */
    .table td:last-child {
        display: flex;
        flex-direction: column;
        gap: 4px;
        align-items: center;
    }
    
    /* 确保表格标题在窄屏幕上不换行 */
    .table th {
        white-space: nowrap;
        font-size: 11px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    /* 优化卡片布局 */
    .card {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    /* 优化表单容器 */
    .form-container {
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }
    
    /* 优化模态框 */
    .modal {
        padding: 0 8px;
        box-sizing: border-box;
        overflow: hidden;
    }
    
    .modal-content {
        margin: 20% auto;
        padding: 20px;
        width: 100%;
        max-width: 480px;
        border-radius: 12px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* 优化模态框标题 */
    .modal-content h3 {
        font-size: 18px;
        margin-bottom: 16px;
        color: #202124;
        font-weight: 600;
    }
    
    /* 优化关闭按钮 */
    .close {
        font-size: 28px;
        line-height: 1;
        padding: 4px;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: all 0.2s ease;
        background-color: transparent;
        border: none;
        cursor: pointer;
        position: absolute;
        top: 12px;
        right: 12px;
    }
    
    .close:hover {
        background-color: #f1f3f4;
        color: #3c4043;
    }
    
    /* 优化模态框表单 */
    .modal .form-group {
        margin-bottom: 16px;
    }
    
    .modal .form-group:last-child {
        margin-bottom: 0;
    }
    
    /* 优化页面标题 */
    .page-title {
        font-size: 18px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    
    /* 优化主要内容区域 */
    .main-content {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    /* 优化搜索筛选器 */
    .search-filters-container {
        padding: 12px;
        margin-bottom: 16px;
    }
    
    .search-filter-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-input-container,
    .search-filter-group {
        width: 100%;
        min-width: auto;
    }
    
    .search-buttons-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .search-btn,
    .reset-btn {
        width: 100%;
        max-width: none;
        min-width: auto;
    }
    
    /* 优化违纪记录卡片 */
    .violation-card-new {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .violation-card-header {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .student-info {
        flex: 1;
    }
    
    .student-name {
        font-size: 16px;
        margin-bottom: 4px;
    }
    
    .student-id,
    .student-class {
        font-size: 12px;
        margin-bottom: 2px;
    }
    
    .violation-details {
        gap: 6px;
        margin-bottom: 12px;
    }
    
    .violation-item {
        font-size: 13px;
    }
    
    .violation-content-section {
        padding-top: 12px;
    }
    
    .violation-content-text {
        padding: 10px;
        font-size: 13px;
    }
    
    /* 优化删除按钮 */
    .delete-btn {
        width: 100%;
        padding: 10px;
        font-size: 13px;
        min-height: 40px;
    }
    
    /* 优化高级筛选 */
    .search-filters-container > div:first-of-type {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .search-filters-container > div:nth-of-type(2) {
        margin-bottom: 12px;
        padding: 12px;
    }
    
    .search-filters-container > div:nth-of-type(2) > div {
        flex-direction: column;
        gap: 12px;
    }
    
    .search-filters-container > div:nth-of-type(3) {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-bottom: 12px;
    }
    
    /* 优化筛选操作按钮 */
    .search-filters-container > div:nth-of-type(4) {
        padding-top: 12px;
    }
    
    /* 优化加载指示器 */
    #loading-indicator {
        margin-left: 0;
        margin-top: 12px;
        justify-content: center;
    }
    
    /* 优化上传违纪表单 */
    #violation-form {
        padding: 0;
    }
    
    .form-group {
        margin-bottom: 16px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 14px;
        min-height: 40px;
    }
    
    /* 优化文本域 */
    .form-group textarea {
        min-height: 100px;
    }
    
    /* 优化选择器样式 */
    select {
        background-position: right 12px center;
        padding-right: 40px !important;
    }
    
    /* 优化按钮 */
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        min-height: 44px;
        min-width: auto;
        margin: 6px 0;
        width: 100%;
    }
    
    /* 优化导航栏 */
    .navbar h1 {
        font-size: 16px;
    }
    
    /* 优化汉堡菜单 */
    .hamburger {
        gap: 4px;
    }
    
    .hamburger span {
        width: 20px;
        height: 2px;
    }
    
    /* 优化导航链接 */
    .nav-links {
        padding: 8px;
    }
    
    .nav-links a {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* 优化高级筛选方式选择 */
    .search-filters-container > div:nth-of-type(2) > div {
        margin-bottom: 8px;
    }
    
    .search-filters-container > div:nth-of-type(2) > div > label {
        font-size: 13px;
    }
    
    /* 优化日期筛选 */
    #date-filter-section {
        width: 100%;
    }
    
    /* 优化姓名搜索 */
    #name-filter-section {
        width: 100%;
    }
    
    /* 优化班级筛选 */
    #class-filter-section {
        width: 100%;
    }
    
    /* 优化按钮组 */
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 确保没有横向滚动条 */
    html,
    body {
        overflow-x: hidden;
    }
    
    /* 优化下载记录按钮 */
    .btn-success {
        width: 100%;
        margin-top: 8px;
    }
    
    /* 优化筛选方式选择 */
    .search-filters-container > div:nth-of-type(2) {
        padding: 12px;
    }
    
    .search-filters-container > div:nth-of-type(2) > div {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    
    /* 优化筛选标签 */
    .search-filter-group label {
        font-size: 13px;
    }
    
    /* 优化筛选输入框 */
    .search-input,
    .search-select {
        padding: 12px 14px;
        font-size: 14px;
    }
    
    /* 优化筛选结果数量 */
    #violation-count {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    /* 优化统计卡片 */
    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-card .stat-value {
        font-size: 28px;
    }
    
    /* 优化页标题 */
    .page-title {
        font-size: 20px;
        margin-bottom: 16px;
    }
    
    /* 优化主要内容区域 */
    .main-content {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* 优化按钮组 */
    .btn-group {
        flex-direction: column;
        gap: 8px;
    }
    
    /* 优化选择器组 */
    .select-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    /* 优化搜索筛选器 */
    .search-filters-container {
        padding: 16px;
        margin-bottom: 16px;
    }
    
    /* 优化浮动按钮 */
    .floating-btn {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* 优化代码容器 */
    .code-container {
        flex-direction: column;
        gap: 8px;
    }
    
    .code-text {
        min-width: auto;
        width: 100%;
    }
    
    /* 优化复制按钮 */
    .copy-btn {
        width: 100%;
    }
    
    /* 优化班级信息 */
    #class-info {
        padding: 12px;
    }
    
    /* 优化导航栏 */
    .navbar {
        padding: 8px 0;
    }
    
    .navbar h1 {
        font-size: 16px;
    }
    
    /* 优化导航链接 */
    .nav-links {
        padding: 12px;
    }
    
    .nav-links a {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* 优化列表 */
    ul, ol {
        padding-left: 16px;
    }
    
    /* 优化学生卡片和违纪卡片 */
    .student-card, .violation-card, .violation-card-new {
        padding: 12px;
        margin-bottom: 12px;
    }
    
    /* 优化学生信息和违纪信息头部 */
    .student-info, .violation-header, .violation-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    /* 优化删除按钮 */
    .delete-btn {
        width: 100%;
        padding: 10px;
        font-size: 14px;
    }
    
    /* 优化违纪详情 */
    .violation-details {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .violation-content-section {
        padding-top: 12px;
    }
    
    .violation-content-text {
        padding: 10px;
        font-size: 14px;
    }
    
    /* 登录页面 */
    .login-box {
        margin: 20px auto;
        padding: 24px;
        max-width: 95%;
        border-radius: 16px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    }
    
    .login-box h2 {
        font-size: 22px;
        text-align: center;
        margin-bottom: 24px;
    }
    
    /* 表单元素优化 */
    .form-group {
        margin-bottom: 20px;
        background-color: #f8f9fa;
        padding: 16px;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 10px;
        font-weight: 600;
        color: #202124;
        display: block;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 16px 20px;
        font-size: 16px;
        border-radius: 10px;
        border: 1px solid #dadce0;
        transition: all 0.2s ease;
        min-height: 54px;
        width: 100%;
        box-sizing: border-box;
        background-color: #fff;
    }
    
    /* 表单焦点样式优化 */
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        outline: none;
        border-color: #1a73e8;
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
        transform: translateY(0);
    }
    
    /* 文本域优化 */
    .form-group textarea {
        min-height: 120px;
        resize: vertical;
        padding-top: 16px;
        padding-bottom: 16px;
    }
    
    /* 表单容器优化 */
    .form-container {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    /* 选择器优化 */
    select {
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%235f6368' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 50px !important;
    }
    
    /* 单选和复选框优化 */
    input[type="radio"],
    input[type="checkbox"] {
        width: 20px;
        height: 20px;
        margin-right: 10px;
        accent-color: #1a73e8;
    }
    
    /* 按钮优化 */
    .btn {
        padding: 16px 24px;
        font-size: 16px;
        min-height: 50px;
        min-width: 120px;
        border-radius: 12px;
        font-weight: 600;
        transition: all 0.2s ease;
        margin: 8px 0;
    }
    
    /* 优化添加按钮 */
    .main-content .btn:first-of-type {
        display: block;
        width: 100%;
        margin: 0 0 16px 0;
    }
    
    /* 优化表单元素 */
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 18px 20px;
        font-size: 16px;
        min-height: 54px;
        border-radius: 12px;
        border: 1px solid #dadce0;
        transition: all 0.2s ease;
        width: 100%;
        box-sizing: border-box;
        background-color: #fff;
    }
    
    /* 优化表单标签 */
    .form-group label {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 12px;
        display: block;
        color: #202124;
    }
    
    /* 优化表单组间距 */
    .form-group {
        margin-bottom: 20px;
    }
    
    /* 优化模态框表单按钮 */
    .modal-content .btn {
        width: 100%;
        max-width: none;
    }
    
    /* 表格优化 - 替换为卡片式布局 */
    .table-container {
        overflow: hidden;
        border-radius: 12px;
        background-color: #fff;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    }
    
    .table {
        display: none; /* 隐藏传统表格 */
    }
    
    /* 移动端卡片式布局 */
    .mobile-cards {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 16px;
    }
    
    .mobile-card {
        background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
        border: 1px solid #e0e0e0;
        border-radius: 16px;
        padding: 16px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.3s ease;
    }
    
    .mobile-card:hover {
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
    
    .mobile-card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .mobile-card-title {
        font-weight: 700;
        font-size: 18px;
        color: #1a73e8;
        margin-bottom: 4px;
    }
    
    .mobile-card-subtitle {
        font-size: 14px;
        color: #5f6368;
    }
    
    .mobile-card-actions {
        display: flex;
        gap: 10px;
        margin-top: 12px;
        flex-wrap: wrap;
    }
    
    .mobile-card-actions .btn {
        padding: 10px 20px;
        font-size: 14px;
        min-height: 40px;
        border-radius: 8px;
        font-weight: 500;
        transition: all 0.2s ease;
    }
    
    .mobile-card-actions .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

/* 极窄屏幕优化 (320px) */
@media (max-width: 320px) {
    .mobile-card {
        padding: 12px;
        border-radius: 12px;
    }
    
    .mobile-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .mobile-card-title {
        font-size: 17px;
    }
    
    .mobile-card-subtitle {
        font-size: 13px;
    }
    
    .mobile-card-actions {
        width: 100%;
        flex-direction: row;
        gap: 8px;
    }
    
    .mobile-card-actions .btn {
        flex: 1;
        padding: 10px 12px;
        font-size: 13px;
        min-height: 38px;
        border-radius: 8px;
        white-space: nowrap;
    }
    
    .main-content {
        padding: 12px !important;
    }
    
    .table-container {
        margin: 0 -4px !important;
        padding: 0 4px !important;
        width: calc(100% + 8px) !important;
    }
    
    .container {
        padding: 0 8px !important;
    }
    
    .page-title {
        font-size: 18px;
        text-align: center;
    }
}
    
    /* 卡片优化 */
    .card {
        padding: 16px;
        margin-bottom: 16px;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    }
    
    .card h3 {
        font-size: 17px;
        margin-bottom: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
    }
    
    /* 学生卡片和违纪卡片优化 */
    .student-card, .violation-card {
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
        margin-bottom: 12px;
    }
    
    .student-card:hover, .violation-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    }
    
    .student-info, .violation-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 8px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .student-name, .violation-type {
        font-weight: 600;
        font-size: 15px;
        color: #202124;
        flex: 1;
    }
    
    .student-id, .violation-date {
        font-size: 13px;
        color: #5f6368;
        margin-bottom: 6px;
    }
    
    .violation-content {
        font-size: 14px;
        color: #202124;
        line-height: 1.5;
        margin-bottom: 8px;
        white-space: pre-line;
    }
    
    .violation-uploader {
        font-size: 12px;
        color: #5f6368;
        text-align: right;
    }
    
    /* 统计卡片 */
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 24px;
    }
    
    .stat-card {
        padding: 20px;
        border-radius: 12px;
        text-align: center;
    }
    
    .stat-card .stat-value {
        font-size: 36px;
        font-weight: 700;
        color: #1a73e8;
    }
    
    /* 页面标题 */
    .page-title {
        font-size: 22px;
        padding-bottom: 12px;
        margin-bottom: 24px;
        font-weight: 600;
    }
    
    /* 主要内容 */
    .main-content {
        padding: 20px;
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    
    /* 按钮组 */
    .btn-group {
        flex-direction: column;
        gap: 12px;
    }
    
    /* 选择器组 */
    .select-group {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .select-group label {
        font-size: 14px;
        font-weight: 500;
    }
    
    .select-group select {
        min-width: auto;
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 12px;
    }
    
    /* 模态框 */
    .modal {
        background-color: rgba(0, 0, 0, 0.6);
    }
    
    .modal-content {
        margin: 15% auto;
        padding: 24px;
        width: 95%;
        border-radius: 16px;
        box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    }
    
    /* 状态网格 */
    .status-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .status-item {
        padding: 16px !important;
        border-radius: 12px;
    }
    
    .status-value {
        font-size: 24px !important;
    }
    
    /* 代码容器 */
    .code-container {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .code-text {
        min-width: auto;
        font-size: 14px;
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    /* 复制按钮 */
    .copy-btn {
        font-size: 14px;
        padding: 10px 20px;
        min-height: 44px;
        border-radius: 8px;
    }
    
    /* 浮动按钮 */
    .floating-btn {
        width: 56px;
        height: 56px;
        font-size: 24px;
        bottom: 24px;
        right: 24px;
        box-shadow: 0 4px 16px rgba(26, 115, 232, 0.3);
    }
    
    /* 班级信息优化 */
    #class-info {
        padding: 16px;
        background-color: #f8f9fa;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
    }
    
    /* 导航栏优化 */
    .navbar {
        padding: 12px 0;
    }
    
    .navbar h1 {
        font-size: 18px;
    }
    
    /* 响应式导航菜单 */
    .nav-links {
        padding: 16px;
    }
    
    .nav-links a {
        padding: 16px 20px;
        font-size: 15px;
        border-radius: 12px;
    }
    
    /* 列表优化 */
    ul, ol {
        padding-left: 20px;
    }
    
    /* 图片优化 */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* 表单优化 */
    form {
        margin: 0;
    }
    
    /* 输入框聚焦效果 */
    input:focus,
    select:focus,
    textarea:focus {
        transform: translateY(-1px);
        box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
    }
    
    /* 触摸反馈优化 */
    .btn:active {
        transform: scale(0.98);
    }
    
    /* 滚动优化 */
    html {
        scroll-behavior: smooth;
    }
    
    /* 隐藏不必要的元素 */
    .hide-on-mobile {
        display: none !important;
    }
    
    /* 显示移动端特有的元素 */
    .show-on-mobile {
        display: block !important;
    }
    
    /* 学生卡片样式 */
    .student-card {
        background-color: #fff;
        border: 1px solid #e0e0e0;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        transition: all 0.2s ease;
    }
    
    .student-card:hover {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transform: translateY(-2px);
    }
    
    .student-info {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .student-name {
        font-weight: 600;
        font-size: 16px;
    }
    
    .student-id {
        font-size: 14px;
        color: #5f6368;
    }
    
    /* 违纪记录卡片 */
    /* 违纪记录卡片容器 */
    .violation-cards-container {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    
    /* 违纪记录卡片 */
    .violation-card {
        background: #ffffff;
        border: 1px solid #e8e8e8;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
        transition: all 0.3s ease;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
        overflow: hidden;
    }
    
    .violation-card:hover {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }
    
    /* 违纪记录卡片内容 */
    .violation-card-content {
        padding: 16px;
    }
    
    /* 违纪记录卡片内容 */
    .violation-card-content {
        padding: 16px;
    }
    
    /* 违纪记录卡片项 */
    .violation-card-item {
        font-size: 13px;
        line-height: 1.6;
        margin-bottom: 8px;
        display: block;
    }
    
    /* 违纪记录卡片项中的标签样式 */
    .violation-card-item::before {
        content: '';
    }
    
    .violation-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }
    
    .violation-type {
        font-weight: 600;
        color: #ea4335;
    }
    
    .violation-date {
        font-size: 13px;
        color: #5f6368;
    }
    
    .violation-content {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .violation-uploader {
        font-size: 13px;
        color: #5f6368;
    }
}
/* 移动端特有的样式 - 默认隐藏，在媒体查询中显示 */
.show-on-mobile {
    display: none;
}

.hide-on-mobile {
    display: block;
}

/* 统计卡片样式 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.stat-card {
    background-color: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.stat-card h4 {
    color: #5f6368;
    margin-bottom: 12px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-card .stat-value {
    font-size: 40px;
    font-weight: 700;
    color: #1a73e8;
    line-height: 1;
    margin-bottom: 8px;
}

/* 页脚样式 */
.footer {
    background-color: #f1f3f4;
    color: #5f6368;
    text-align: center;
    padding: 20px 0;
    margin-top: 32px;
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
}

/* 加载状态样式 */
.loading {
    text-align: center;
    padding: 40px;
    color: #5f6368;
    font-size: 16px;
}

/* 旋转动画 */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 隐藏元素 */
.hidden {
    display: none;
}

/* 浮动按钮 */
.floating-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #1a73e8;
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 999;
}

.floating-btn:hover {
    background-color: #1557b0;
    box-shadow: 0 6px 16px rgba(26, 115, 232, 0.5);
    transform: scale(1.1);
}

/* 选择器样式 */
.select-group {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.select-group label {
    font-weight: 600;
    color: #5f6368;
    font-size: 14px;
    white-space: nowrap;
}

.select-group select {
    padding: 10px 12px;
    border: 1px solid #dadce0;
    border-radius: 8px;
    font-size: 14px;
    min-width: 200px;
}

/* 文本居中样式 */
.text-center {
    text-align: center;
    margin-top: 16px;
}

/* 分割线样式 */
.divider {
    height: 1px;
    background-color: #e0e0e0;
    margin: 24px 0;
}

/* 辅助文本样式 */
.helper-text {
    font-size: 13px;
    color: #5f6368;
    margin-top: 4px;
}

/* 成功状态样式 */
.success-icon {
    color: #34a853;
    margin-right: 8px;
}

/* 错误状态样式 */
.error-icon {
    color: #ea4335;
    margin-right: 8px;
}

/* 信息状态样式 */
.info-icon {
    color: #1a73e8;
    margin-right: 8px;
}

/* 注册表单样式 */
#register-form {
    animation: fadeIn 0.3s ease;
}

#login-form {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* 表单标题样式 */
#register-form h3 {
    color: #1a73e8;
    margin-bottom: 24px;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}

/* 按钮组样式 */
.btn-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.btn-group .btn {
    flex: 1;
}

/* 链接样式 */
.link {
    color: #1a73e8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.link:hover {
    color: #1557b0;
    text-decoration: underline;
}

/*  badge样式 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary {
    background-color: #e3f2fd;
    color: #1a73e8;
}

.badge-success {
    background-color: #e8f5e8;
    color: #34a853;
}

.badge-warning {
    background-color: #fff3cd;
    color: #f57c00;
}

.badge-danger {
    background-color: #fdecea;
    color: #ea4335;
}

/* 邀请码状态样式 */
.status-active,
.status-expired {
    color: #155724;
    background-color: #d4edda;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    display: inline-block;
    font-size: 12px;
    text-align: center;
    min-width: 60px;
    white-space: nowrap;
    margin: 0 auto;
}

.status-expired {
    color: #721c24;
    background-color: #f8d7da;
}

/* 确保表格所有单元格内容垂直居中 */
.table td {
    vertical-align: middle !important;
}

/* 表格状态列居中对齐 */
.table td:nth-last-child(1) {
    text-align: center !important;
}

/* 邀请码容器样式 */
.code-container {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    width: 100%;
}

.code-text {
    font-weight: bold;
    font-family: 'Courier New', Courier, monospace;
    background-color: #f1f3f4;
    padding: 4px 8px;
    border-radius: 4px;
    flex: 0 1 auto;
    min-width: 120px;
    word-break: break-all;
}

/* 复制按钮样式 */
.copy-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 60px;
}

.copy-btn:hover {
    background-color: #1557b0;
}

.copy-btn:active {
    transform: translateY(1px);
}

/* 新违纪卡片样式 */
.violation-cards-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.violation-card-new {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.violation-card-new:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-1px);
}

.violation-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.student-info {
    flex: 1;
}

.student-name {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 4px;
}

.student-id {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 4px;
}

.student-class {
    font-size: 14px;
    color: #5f6368;
}

.delete-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    min-height: 44px;
}

.delete-btn:hover {
    background-color: #c82333;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    transform: translateY(-1px);
}

.delete-btn:active {
    transform: translateY(0);
}

.violation-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.violation-item {
    font-size: 14px;
    color: #202124;
}

.violation-label {
    font-weight: 600;
    margin-right: 8px;
}

.violation-content-section {
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.violation-content-label {
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 8px;
}

.violation-content-text {
    font-size: 14px;
    color: #202124;
    background-color: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* 响应式样式调整 */
@media (max-width: 768px) {
    .violation-card-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .delete-btn {
        width: 100%;
    }
}

/* 搜索筛选器样式 */
.search-filters-container {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-filter-row {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input-container {
    flex: 1;
    min-width: 250px;
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.search-input:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
    transform: translateY(-1px);
}

.search-filter-group {
    min-width: 200px;
}

.search-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #dadce0;
    border-radius: 10px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    appearance: none;
}

.search-select:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.2);
    transform: translateY(-1px);
}

.search-buttons-container {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-btn, .reset-btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
    min-height: 44px;
    min-width: 80px;
}

.search-btn {
    background-color: #1a73e8;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}

.search-btn:hover {
    background-color: #1557b0;
    box-shadow: 0 4px 12px rgba(26, 115, 232, 0.4);
    transform: translateY(-1px);
}

.search-btn:active {
    transform: translateY(0);
}

.reset-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(108, 117, 125, 0.3);
}

.reset-btn:hover {
    background-color: #5a6268;
    box-shadow: 0 4px 12px rgba(108, 117, 125, 0.4);
    transform: translateY(-1px);
}

.reset-btn:active {
    transform: translateY(0);
}

/* 按钮样式覆盖 */
.btn-primary {
    background-color: #1a73e8;
}

.btn-primary:hover {
    background-color: #1557b0;
}

.btn-gray {
    background-color: #6c757d;
}

.btn-gray:hover {
    background-color: #5a6268;
}

/* 响应式搜索区域 */
@media (max-width: 768px) {
    .search-filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .search-input-container,
    .search-filter-group,
    .search-buttons-container {
        width: 100%;
    }
    
    .search-buttons-container {
        flex-direction: row;
        justify-content: center;
    }
    
    .search-btn, .reset-btn {
        flex: 1;
        max-width: 150px;
    }
}