body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 100vh;
}

header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

h1 {
    color: #2a7de1;
    margin: 0;
}

.section {
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
}

h2 {
    color: #2a7de1;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.course-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.course {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    width: calc(33.333% - 20px);
    box-sizing: border-box;
    background-color: white;
    display: flex;
    flex-direction: column;
}

.course h3 {
    margin-top: 0;
    color: #2a7de1;
}

.course p:first-of-type {
    flex-grow: 1;
}

.course .button {
    margin-top: auto;
}

.button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0069d9;
}

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

.button.secondary:hover {
    background-color: #5a6268;
}

.button.danger {
    background-color: #dc3545;
    color: white;
}

.button.danger:hover {
    background-color: #c82333;
}

.form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.referral-box {
    background-color: #e9f7fe;
    border: 1px solid #bde0ff;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
}

.code-display {
    font-family: monospace;
    background-color: #f5f5f5;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    display: inline-block;
    margin: 10px 0;
    word-break: break-all;
}

.checkout-form {
    max-width: 500px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 10px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

.success-message {
    background-color: #e7f9e7;
    border: 1px solid #b7e1b7;
    color: #2c7c2c;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.message-box {
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
    text-align: center;
}

.message-box.warning {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 10px;
    text-align: left;
}

th {
    background-color: #f2f2f2;
}

/* 序号列桌面端样式 */
.referral-table th:first-child,
.referral-table td:first-child {
    text-align: center;
    font-weight: bold;
    width: 80px;
    min-width: 80px;
}

.referral-table th:first-child {
    background-color: #e9ecef;
    color: #495057;
}

.referral-table td:first-child {
    color: #6c757d;
    font-size: 14px;
}

/* 表格行相间背景色 */
tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:nth-child(odd) {
    background-color: #ffffff;
}

#countdown {
    margin-left: 10px;
    color: #888;
}

/* 推荐码输入框样式 */
input.success {
    border-color: #28a745;
    background-color: #f8fff9;
}

input.error {
    border-color: #dc3545;
    background-color: #fff8f8;
}

.form-group {
    position: relative;
}

.form-group label span {
    color: #dc3545;
    font-weight: bold;
}

@media (max-width: 768px) {
    .course-list {
        flex-direction: column;
    }
    
    .course {
        width: 100%;
    }
}

/* 过滤器样式 - 移动端友好 */
.filter-container {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: flex-end;
}

.filter-item {
    flex: 1;
    min-width: 150px;
}

.filter-item label {
    display: block;
    font-size: 14px;
    margin-bottom: 5px;
    color: #495057;
    font-weight: 500;
}

/* 搜索框特殊样式 */
.filter-search-item {
    flex: 2;
    min-width: 250px;
}

/* 日期范围容器 */
.filter-dates-row {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 300px;
}

.filter-dates-row .filter-item {
    flex: 1;
    min-width: 145px;
}

.filter-item input,
.filter-item select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.15s ease-in-out;
}

/* 搜索框特殊padding，为清除按钮留空间 */
#filter-search {
    padding-right: 32px;
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 过滤按钮样式 */
.filter-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    border: 1px solid transparent;
}

.filter-btn-primary {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.filter-btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
}

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

.filter-btn-secondary:hover {
    background-color: #545b62;
    border-color: #545b62;
}

.filter-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.filter-stats {
    margin-top: 10px;
    font-size: 14px;
    color: #6c757d;
}

/* 平板端优化（768px-1024px） */
@media (max-width: 1024px) and (min-width: 769px) {
    .filter-container {
        padding: 12px;
    }
    
    .filter-row {
        gap: 12px;
    }
    
    .filter-item {
        min-width: 180px;
    }
}

/* 移动端响应式设计（481px-768px） */
@media (max-width: 768px) {
    .filter-container {
        padding: 12px;
        margin-bottom: 16px;
        border-radius: 6px;
    }
    
    .filter-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .filter-item {
        flex: none;
        min-width: auto;
    }
    
    .filter-search-item {
        flex: none;
        min-width: auto;
    }
    
    .filter-item label {
        font-size: 15px;
        margin-bottom: 6px;
        font-weight: 600;
    }
    
    .filter-item input {
        padding: 12px 14px;
        font-size: 16px;
        border-radius: 6px;
        min-height: 44px; /* iOS 推荐的最小触摸目标 */
        box-sizing: border-box;
    }
    
    /* 搜索框在移动端的padding调整 */
    #filter-search {
        padding-right: 40px;
    }
    
    /* 日期选择器在移动端的特殊布局 */
    .filter-dates-row {
        display: flex;
        gap: 12px;
        flex: none;
        min-width: auto;
    }
    
    .filter-dates-row .filter-item {
        flex: 1;
        min-width: auto;
    }
    
    .filter-actions {
        justify-content: stretch;
        margin-top: 16px;
        gap: 10px;
    }
    
    .filter-btn {
        flex: 1;
        padding: 12px 20px;
        font-size: 15px;
        font-weight: 600;
        border-radius: 6px;
        min-height: 44px;
        transition: all 0.2s ease;
    }
    
    .filter-btn:active {
        transform: scale(0.98);
    }
    
    /* 移动端清除按钮优化 */
    #clear-search-btn,
    #referrals-clear-search-btn,
    #surveys-clear-search-btn,
    #users-clear-search-btn {
        width: 28px;
        height: 28px;
        font-size: 18px;
        right: 6px;
    }
    
    /* 移动端日期输入框优化 */
    input[type="date"] {
        font-size: 16px; /* 防止移动端自动缩放 */
        -webkit-appearance: none;
        -moz-appearance: textfield;
    }
    
    input[type="date"]::-webkit-inner-spin-button,
    input[type="date"]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    
    /* 表格在移动端的滚动优化 */
    #all-registrations-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .referral-table {
        min-width: 800px;
        font-size: 13px;
    }
    
    .referral-table th,
    .referral-table td {
        padding: 6px;
        white-space: nowrap;
    }
    
    /* 序号列样式 */
    .referral-table th:first-child,
    .referral-table td:first-child {
        text-align: center;
        font-weight: bold;
        width: 60px;
        min-width: 60px;
    }
    
    .referral-table th:first-child {
        background-color: #e9ecef;
    }
    
    .referral-table td:first-child {
        color: #6c757d;
        font-size: 13px;
    }
}

/* 小屏手机端优化（最大480px） */
@media (max-width: 480px) {
    .filter-container {
        padding: 10px;
        margin-bottom: 12px;
        border-radius: 6px;
    }
    
    .filter-row {
        gap: 12px;
    }
    
    .filter-item label {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .filter-item input {
        padding: 10px 12px;
        font-size: 16px; /* 防止移动端自动缩放 */
        border-radius: 5px;
        min-height: 42px;
    }
    
    /* 搜索框在小屏幕上的padding调整 */
    #filter-search {
        padding-right: 36px;
    }
    
    /* 在很小的屏幕上，日期选择器垂直排列 */
    .filter-dates-row {
        flex-direction: column;
        gap: 12px;
    }
    
    .filter-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 12px;
    }
    
    .filter-btn {
        width: 100%;
        padding: 11px 16px;
        font-size: 15px;
        min-height: 42px;
        border-radius: 5px;
    }
    
    .filter-stats {
        margin-top: 8px;
        font-size: 13px;
        text-align: center;
    }
    
    /* 小屏幕清除按钮优化 */
    #clear-search-btn,
    #referrals-clear-search-btn,
    #surveys-clear-search-btn,
    #users-clear-search-btn {
        width: 26px;
        height: 26px;
        font-size: 16px;
        right: 5px;
    }
}

/* ========== 分页控件样式 ========== */
.pagination-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* 确保分页区域不参与横向滚动 */
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.pagination-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-size-selector label {
    font-weight: 500;
    color: #495057;
}

.page-size-selector select {
    padding: 6px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    background-color: white;
    cursor: pointer;
}

.page-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6c757d;
}

.records-info {
    color: #868e96;
    font-size: 13px;
}

.pagination-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.page-btn {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 60px;
}

.page-btn:hover:not(:disabled) {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.page-btn:disabled {
    background-color: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
    opacity: 0.65;
}

.page-numbers {
    display: flex;
    gap: 4px;
    margin: 0 10px;
}

.page-number {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    background-color: white;
    color: #495057;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s ease;
    min-width: 40px;
}

.page-number:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.page-number.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
}

.page-jump {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 15px;
}

.page-jump span {
    font-size: 14px;
    color: #495057;
}

.page-jump input {
    width: 60px;
    padding: 6px 8px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    font-size: 14px;
    text-align: center;
}

/* 移动端分页适配 */
@media (max-width: 768px) {
    .pagination-container {
        padding: 12px;
        gap: 12px;
    }
    
    .pagination-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    
    /* 导航按钮组（首页、上一页、下一页、末页）*/
    .pagination-nav-buttons {
        display: flex;
        gap: 8px;
        order: 0;
    }
    
    .page-numbers {
        order: 1;
        margin: 0;
    }
    
    .page-jump {
        order: 2;
        margin: 0;
        justify-content: center;
    }
    
    .page-btn {
        padding: 10px 12px;
        min-width: 64px;
        font-size: 13px;
    }
    
    .page-number {
        padding: 10px 12px;
        min-width: 44px;
    }
}

@media (max-width: 480px) {
    .pagination-controls {
        gap: 10px;
    }
    
    /* 导航按钮在小屏幕上调整间距和大小 */
    .pagination-nav-buttons {
        gap: 6px;
        flex-wrap: nowrap;
        justify-content: center;
    }
    
    .pagination-nav-buttons .page-btn {
        padding: 8px 10px;
        min-width: 56px;
        font-size: 12px;
    }
    
    .page-numbers {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-jump {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .page-jump input {
        width: 80px;
    }
}

/* ========== 文件管理专用样式 ========== */
.files-table-container {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.files-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.files-table thead {
    background-color: #f8f9fa;
}

.files-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    font-size: 14px;
}

.files-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f3f5;
    vertical-align: middle;
    font-size: 14px;
}

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

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

/* 文件名列 */
.file-name-col {
    width: 40%;
    min-width: 200px;
}

.file-name-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.file-icon {
    font-size: 16px;
    flex-shrink: 0;
}

.file-name {
    color: #495057;
    text-decoration: none;
    font-weight: 500;
}

.file-name:hover {
    color: #007bff;
    text-decoration: underline;
}

/* 文件大小列 */
.file-size-col {
    width: 15%;
    min-width: 80px;
}

.file-size {
    color: #6c757d;
    font-size: 13px;
}

/* 修改时间列 */
.file-date-col {
    width: 25%;
    min-width: 140px;
}

.file-date {
    color: #6c757d;
    font-size: 13px;
}

/* 操作列 */
.file-action-col {
    width: 20%;
    min-width: 100px;
    text-align: right;
}

.file-action-btn {
    background-color: #dc3545;
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.file-action-btn:hover {
    background-color: #c82333;
}

.file-action-btn:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

/* 移动端文件管理样式 */
@media (max-width: 768px) {
    .files-table-container {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: none;
    }
    
    .files-table th,
    .files-table td {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .file-name-col {
        width: 45%;
        min-width: 150px;
    }
    
    .file-size-col {
        width: 15%;
        min-width: 60px;
    }
    
    .file-date-col {
        width: 20%;
        min-width: 100px;
    }
    
    .file-action-col {
        width: 20%;
        min-width: 80px;
    }
    
    .file-date {
        font-size: 12px;
    }
    
    .file-size {
        font-size: 12px;
    }
}

/* 搜索框清除按钮样式 */
#clear-search-btn,
#referrals-clear-search-btn,
#surveys-clear-search-btn,
#users-clear-search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    font-size: 18px;
    width: 20px;
    height: 20px;
    display: none;
    line-height: 1;
    padding: 0;
    text-align: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

#clear-search-btn:hover,
#referrals-clear-search-btn:hover,
#surveys-clear-search-btn:hover,
#users-clear-search-btn:hover {
    background-color: #f0f0f0;
    color: #666;
}

#clear-search-btn:active,
#referrals-clear-search-btn:active,
#surveys-clear-search-btn:active,
#users-clear-search-btn:active {
    background-color: #e0e0e0;
}

/* 日期输入框样式优化 */
input[type="date"] {
    cursor: pointer;
    background-color: #fff;
    color: #495057;
}

input[type="date"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24"><path fill="%23999" d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z"/></svg>');
    opacity: 0.7;
}

input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* ========== 移动端表格横向滚动修复（强制性样式） ========== */
@media (max-width: 768px) {
    /* 所有表格容器添加横向滚动 */
    #all-registrations-container,
    #all-referrals-container,
    #all-surveys-container,
    #all-users-container,
    #my-courses-container,
    #referral-records-container,
    #my-appointments-container,
    .files-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        background-color: white;
        margin: 0;
        padding: 0;
    }
    
    /* 强制表格宽度以触发滚动 */
    .referral-table,
    .files-table {
        width: auto !important;
        min-width: 800px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        font-size: 12px !important;
    }
    
    /* 表格单元格样式 */
    .referral-table th,
    .referral-table td,
    .files-table th,
    .files-table td {
        white-space: nowrap !important;
        padding: 6px 8px !important;
        font-size: 11px !important;
        min-width: 80px;
    }
    
    /* 序号列特殊处理 */
    .referral-table th:first-child,
    .referral-table td:first-child {
        min-width: 50px !important;
        width: 50px !important;
        text-align: center !important;
    }
    
    /* 确保容器内的表格不会超出 */
    .tab-pane,
    .section {
        overflow-x: hidden;
    }
}

/* ========== 移动端页面防撑宽保护 ========== */
@media (max-width: 768px) {
    /* 确保页面整体不被撑宽 */
    body {
        overflow-x: hidden !important;
    }
    
    .container {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* 管理员面板内容区域防撑宽 */
    #admin-content {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* 所有内容区域防撑宽 */
    .tab-pane {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }
    
    /* 表格外层容器添加滚动提示 */
    #all-registrations-container::-webkit-scrollbar,
    #all-referrals-container::-webkit-scrollbar,
    #all-surveys-container::-webkit-scrollbar,
    #all-users-container::-webkit-scrollbar,
    #my-courses-container::-webkit-scrollbar,
    #referral-records-container::-webkit-scrollbar,
    #my-appointments-container::-webkit-scrollbar,
    .files-table-container::-webkit-scrollbar {
        height: 8px;
    }
    
    #all-registrations-container::-webkit-scrollbar-track,
    #all-referrals-container::-webkit-scrollbar-track,
    #all-surveys-container::-webkit-scrollbar-track,
    #all-users-container::-webkit-scrollbar-track,
    #my-courses-container::-webkit-scrollbar-track,
    #referral-records-container::-webkit-scrollbar-track,
    #my-appointments-container::-webkit-scrollbar-track,
    .files-table-container::-webkit-scrollbar-track {
        background: #f1f1f1;
        border-radius: 4px;
    }
    
    #all-registrations-container::-webkit-scrollbar-thumb,
    #all-referrals-container::-webkit-scrollbar-thumb,
    #all-surveys-container::-webkit-scrollbar-thumb,
    #all-users-container::-webkit-scrollbar-thumb,
    #my-courses-container::-webkit-scrollbar-thumb,
    #referral-records-container::-webkit-scrollbar-thumb,
    #my-appointments-container::-webkit-scrollbar-thumb,
    .files-table-container::-webkit-scrollbar-thumb {
        background: #007bff;
        border-radius: 4px;
    }
    
    #all-registrations-container::-webkit-scrollbar-thumb:hover,
    #all-referrals-container::-webkit-scrollbar-thumb:hover,
    #all-surveys-container::-webkit-scrollbar-thumb:hover,
    #all-users-container::-webkit-scrollbar-thumb:hover,
    #my-courses-container::-webkit-scrollbar-thumb:hover,
    #referral-records-container::-webkit-scrollbar-thumb:hover,
    #my-appointments-container::-webkit-scrollbar-thumb:hover,
    .files-table-container::-webkit-scrollbar-thumb:hover {
        background: #0056b3;
    }
}

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

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    border-radius: 8px;
    width: 80%;
    max-width: 500px;
    position: relative;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 10px;
}

.close:hover,
.close:focus {
    color: #000;
}

/* 删除确认模态框特殊样式 */
.delete-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.delete-warning ul {
    margin: 10px 0;
    padding-left: 20px;
}

.user-info {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 15px;
    margin: 15px 0;
}

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

.form-actions .button {
    min-width: 80px;
}


