* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
}

/* 登录页面 */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-box {
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 400px;
}

.login-box h2 {
    margin-bottom: 30px;
    text-align: center;
    color: #333;
}

/* 备案信息 */
.beian-info {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e8e8e8;
    text-align: center;
}

.beian-info a {
    color: #999;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
}

.beian-info a:hover {
    color: #1890ff;
    text-decoration: underline;
}

/* 主界面 */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background: #1890ff;
    color: white;
    padding: 0 30px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header h1 {
    font-size: 20px;
    font-weight: 500;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.content {
    flex: 1;
    padding: 30px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
}

.page-title {
    font-size: 28px;
    margin-bottom: 30px;
    color: #333;
}

/* 表单 */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: #1890ff;
}

/* 按钮 */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    border: 1px solid #d9d9d9;
    color: #333;
}

.btn:hover {
    border-color: #1890ff;
    color: #1890ff;
}

.btn-primary {
    background: #1890ff;
    color: white;
    border: none;
}

.btn-primary:hover {
    background: #40a9ff;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 16px;
}

.btn-back {
    margin-bottom: 20px;
}

/* 待办提示 */
.todo-alert {
    background: linear-gradient(135deg, #ffd93d 0%, #ff6b6b 100%);
    color: white;
    padding: 20px 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse-alert 2s infinite;
}

@keyframes pulse-alert {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

.alert-icon {
    font-size: 48px;
}

.alert-content {
    flex: 1;
}

.alert-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
}

.alert-content p {
    margin: 0;
    opacity: 0.9;
}

.todo-alert .btn {
    background: white;
    color: #ff6b6b;
    border: none;
}

.todo-alert .btn:hover {
    background: #f0f0f0;
}

/* 课程列表 */
.course-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.course-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff4d4f;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.sign-badge {
    background: #faad14;
}

.course-card h3 {
    margin-bottom: 15px;
    color: #1890ff;
    font-size: 20px;
}

.course-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    color: #52c41a;
    font-size: 18px;
}

.empty-state-small {
    text-align: center;
    padding: 30px;
    color: #999;
}

/* 区块 */
.section {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.section h3 {
    margin-bottom: 20px;
    color: #333;
}

/* 完成记录列表 */
.completions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.completion-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fafafa;
    border-radius: 8px;
}

.completion-info h4 {
    color: #333;
    margin-bottom: 5px;
}

.completion-time {
    color: #999;
    font-size: 13px;
}

.completion-status {
    color: #52c41a;
    font-weight: 500;
}

/* 学习内容 */
.learning-content {
    background: white;
}

.learning-header {
    margin-bottom: 30px;
}

.learning-header h2 {
    font-size: 24px;
    margin-top: 10px;
}

/* 学习资料区域 */
.material-section {
    margin-bottom: 40px;
    padding: 25px;
    background: #fafafa;
    border-radius: 10px;
}

.material-section h3 {
    margin-bottom: 20px;
    color: #333;
}

.material-hint {
    color: #666;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: #e6f7ff;
    border-left: 4px solid #1890ff;
    border-radius: 4px;
}

.material-viewer {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

/* PDF查看器 */
.pdf-viewer {
    text-align: center;
}

.pdf-viewer canvas {
    max-width: 100%;
    height: auto;
}

.pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: #f5f5f5;
}

/* 图片查看器 */
.image-viewer {
    padding: 20px;
    text-align: center;
}

.image-viewer img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* 图片列表查看器 */
.images-viewer {
    padding: 0;  /* 移除内边距，图片撑满整个容器 */
    background: white;
    width: 100%;
    overflow: hidden;
}

.images-container {
    display: flex;
    flex-direction: column;
    gap: 0;  /* 移除间距，页面无缝衔接 */
    align-items: stretch;  /* 拉伸以占满宽度 */
    width: 100%;
    padding: 0;  /* 移除内边距 */
}

.material-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 0;  /* 移除圆角，完全贴合边缘 */
    box-shadow: none;  /* 移除阴影 */
    transition: transform 0.3s;
    display: block;
    background: white;
    border: none;      /* 移除边框 */
    padding: 0;        /* 移除内边距，图片占满整个宽度 */
    margin: 0 auto;    /* 居中显示 */
}

.material-image:hover {
    transform: scale(1.01);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.image-count {
    text-align: center;
    padding: 20px;
    color: #333;
    font-size: 16px;
    font-weight: bold;
    background: #e6f7ff;
    border-radius: 8px;
    margin-top: 10px;
    border: 2px solid #1890ff;
}

/* 文件下载 */
.file-download,
.file-fallback,
.pdf-fallback,
.no-material {
    text-align: center;
    padding: 60px 20px;
}

.file-download p,
.file-fallback p,
.pdf-fallback p,
.no-material p {
    margin-bottom: 20px;
    color: #666;
}

/* 答题区域 */
.quiz-section {
    margin-bottom: 40px;
}

.quiz-section h3 {
    margin-bottom: 10px;
    color: #333;
}

.quiz-hint {
    color: #ff4d4f;
    margin-bottom: 25px;
    font-size: 14px;
}

.question-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid #f0f0f0;
}

.question-header {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.question-number {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    background: #1890ff;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
}

.question-text {
    flex: 1;
    font-size: 16px;
    line-height: 30px;
    color: #333;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-left: 45px;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 15px;
    border: 2px solid #e8e8e8;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.option-label:hover {
    border-color: #1890ff;
    background: #f0f7ff;
}

.option-label.selected {
    border-color: #1890ff;
    background: #e6f7ff;
}

.option-label.correct {
    border-color: #52c41a;
    background: #f6ffed;
}

.option-label.wrong {
    border-color: #ff4d4f;
    background: #fff1f0;
}

.option-label input[type="radio"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
}

.option-label span {
    flex: 1;
}

/* 签名区域 */
.signature-section {
    margin-top: 40px;
    padding: 30px;
    background: #f0f7ff;
    border-radius: 10px;
    border: 3px solid #1890ff;
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
    animation: slideIn 0.5s ease-out;
}

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

.signature-section h3 {
    color: #1890ff;
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 600;
}

.signature-hint {
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
    background: #fff;
    padding: 10px 15px;
    border-radius: 6px;
    border-left: 4px solid #52c41a;
}

/* 签名弹窗遮罩 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    padding: 20px;
}

/* 签名弹窗 */
.signature-modal {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    width: 100%;
    max-height: 90vh;
    overflow: auto;
    animation: modalSlideUp 0.3s ease-out;
}

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

/* 弹窗头部 */
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #333;
}

.modal-close {
    background: none;
    border: none;
    font-size: 32px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    transition: all 0.2s;
}

.modal-close:hover {
    color: #ff4d4f;
    transform: rotate(90deg);
}

/* 弹窗内容 */
.modal-body {
    padding: 25px;
}

.signature-modal-hint {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
    font-size: 15px;
}

/* 签名画布容器 */
.signature-canvas-wrapper {
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.signature-canvas-wrapper canvas {
    display: block;
    cursor: crosshair;
    touch-action: none;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* 签名弹窗按钮 */
.signature-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.signature-modal-actions .btn {
    min-width: 140px;
    padding: 12px 24px;
    font-size: 16px;
}

.btn-secondary {
    background: #f5f5f5;
    color: #666;
}

.btn-secondary:hover {
    background: #e8e8e8;
    color: #333;
}

/* 签名按钮区域（原位置） */
.signature-section {
    margin-top: 30px;
}

.signature-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* 移动端签名弹窗优化 */
@media (max-width: 768px) {
    .signature-modal {
        max-width: 95%;
        margin: 10px;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h3 {
        font-size: 18px;
    }
    
    .modal-body {
        padding: 20px 15px;
    }
    
    .signature-canvas-wrapper {
        padding: 5px;
    }
    
    .signature-modal-actions {
        flex-direction: column;
    }
    
    .signature-modal-actions .btn {
        width: 100%;
        min-width: auto;
    }
}

/* 错误信息 */
.error-msg {
    color: #ff4d4f;
    margin-top: 10px;
    font-size: 14px;
}

/* 人脸识别拍照 */
.face-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.face-modal-content {
    background: white;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.face-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.face-modal-header h3 {
    margin: 0;
    font-size: 22px;
}

.face-modal-body {
    padding: 30px;
}

.face-hint {
    background: #e6f7ff;
    border-left: 4px solid #1890ff;
    padding: 15px;
    margin-bottom: 25px;
    border-radius: 4px;
    color: #333;
    line-height: 1.6;
}

.face-capture-area {
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 25px;
    position: relative;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-container {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.video-container video {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
}

.face-guide-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 250px;
    border: 3px dashed #52c41a;
    border-radius: 50%;
    pointer-events: none;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.photo-preview {
    width: 100%;
    display: flex;
    justify-content: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
}

.face-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .course-list {
        grid-template-columns: 1fr;
    }
    
    .header h1 {
        font-size: 16px;
    }
    
    .page-title {
        font-size: 22px;
    }
    
    .content {
        padding: 15px;
    }
    
    .face-modal-content {
        width: 95%;
    }
    
    .face-modal-body {
        padding: 20px;
    }
    
    .face-guide-circle {
        width: 150px;
        height: 200px;
    }
    
    /* 移动端图片优化 */
    .images-viewer {
        padding: 0;  /* 移动端也不留边距 */
    }
    
    .images-container {
        gap: 0;  /* 移动端也无缝衔接 */
    }
    
    .material-image {
        padding: 0;  /* 移动端也完全占满 */
        border: none;
    }
    
    .image-count {
        font-size: 14px;
        padding: 15px;
    }
    
    /* 移动端签名区域优化 */
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
    border-left: 4px solid transparent;
}

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

.stat-card.stat-pending {
    border-left-color: #faad14;
    background: linear-gradient(135deg, #fff7e6 0%, #ffffff 100%);
}

.stat-card.stat-completed {
    border-left-color: #52c41a;
    background: linear-gradient(135deg, #f6ffed 0%, #ffffff 100%);
}

.stat-icon {
    font-size: 36px;
    line-height: 1;
}

.stat-content {
    flex: 1;
}

.stat-number {
    font-size: 32px;
    font-weight: bold;
    color: #1890ff;
    line-height: 1.2;
}

.stat-card.stat-pending .stat-number {
    color: #faad14;
}

.stat-card.stat-completed .stat-number {
    color: #52c41a;
}

.stat-label {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

/* 优化空状态显示 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.empty-state h3 {
    font-size: 24px;
    color: #333;
    margin: 0 0 10px 0;
}

.empty-state p {
    font-size: 16px;
    color: #999;
    margin: 0;
}

/* 优化签署任务卡片 */
.sign-task-card {
    border-left: 4px solid #1890ff;
    transition: all 0.3s;
}

.sign-task-card:hover {
    border-left-color: #40a9ff;
    box-shadow: 0 4px 20px rgba(24, 144, 255, 0.15);
}

.task-desc {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.task-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.task-date {
    color: #999;
    font-size: 13px;
    display: flex;
    align-items: center;
}

.btn-large {
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 500;
}

/* 签署按钮特殊样式 */
.sign-badge {
    background: linear-gradient(135deg, #ffa940 0%, #fa8c16 100%);
}

/* 标签页切换 */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.tab-btn {
    padding: 12px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    color: #666;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #1890ff;
}

.tab-btn.active {
    color: #1890ff;
    border-bottom-color: #1890ff;
}

/* 已完成任务卡片 */
.completed-task-card {
    border-left: 4px solid #52c41a;
}

.completed-task-card:hover {
    border-left-color: #73d13d;
    box-shadow: 0 4px 20px rgba(82, 196, 26, 0.15);
}

.completed-badge {
    background: linear-gradient(135deg, #95de64 0%, #52c41a 100%);
}

.btn-success {
    background: linear-gradient(135deg, #73d13d 0%, #52c41a 100%);
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #95de64 0%, #73d13d 100%);
}

/* 页面标题与按钮布局 */
.page-header-with-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header-with-btn .page-title {
    margin: 0;
}

/* 修改密码弹窗 */
.change-password-modal {
    background: white;
    border-radius: 12px;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.change-password-modal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.change-password-modal .modal-header h3 {
    margin: 0;
    font-size: 20px;
}

.modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 32px;
    height: 32px;
}

.change-password-modal .modal-body {
    padding: 30px;
}

.change-password-modal .form-group {
    margin-bottom: 20px;
}

.change-password-modal .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.change-password-modal .form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 15px;
    transition: all 0.3s;
}

.change-password-modal .form-group input:focus {
    border-color: #1890ff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.1);
}

.success-msg {
    color: #52c41a;
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    text-align: center;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 25px;
}

.modal-actions .btn {
    min-width: 100px;
}

/* 已完成状态样式 */
.completed-status {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, #f6ffed 0%, #ffffff 100%);
    border-radius: 12px;
    border: 2px solid #b7eb8f;
}

.completed-status h3 {
    color: #52c41a;
    margin: 0 0 15px 0;
    font-size: 24px;
}

.completed-time {
    color: #666;
    font-size: 16px;
    margin-bottom: 10px;
}

.completed-hint {
    color: #999;
    font-size: 14px;
    margin: 0;
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-icon {
        font-size: 32px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .empty-icon {
        font-size: 48px;
    }
    
    .empty-state h3 {
        font-size: 20px;
    }
    
    .empty-state p {
        font-size: 14px;
    }
    
    .tabs {
        gap: 5px;
    }
    
    .tab-btn {
        padding: 10px 16px;
        font-size: 14px;
    }
    
    .page-header-with-btn {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .change-password-modal {
        width: 95%;
    }
    
    .change-password-modal .modal-body {
        padding: 20px;
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}
