/* ==================== 全局样式 ==================== */

/* 优化 FontAwesome 字体加载 */
@font-face {
    font-family: 'Font Awesome 6 Free';
    font-display: swap;
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-display: swap;
}

/* CSS变量定义 - 浅色主题（默认） */
:root {
    --primary-color: #4CAF50;
    --primary-light: #81C784;
    --primary-dark: #2E7D32;

    /* 浅色主题：经典浅灰白背景 */
    --background-color: #f5f5f5;
    --text-color: #333333;
    --text-secondary: #666666;
    --border-color: #e0e0e0;

    /* 面板/卡片/输入框底色 */
    --white: #ffffff;
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #e0e0e0;

    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 12px rgba(0, 0, 0, 0.15);
    --navbar-height-desktop: 60px;
    --navbar-height-mobile: 56px;

    /* 悬停背景 */
    --hover-bg: rgba(0, 0, 0, 0.04);
}

/* CSS变量 definition - 深色主题 */
[data-theme="dark"] {
    --primary-color: #66BB6A;
    --primary-light: #81C784;
    --primary-dark: #4CAF50;
    
    /* 背景色：使用极深的墨绿色/灰绿色，而非纯黑或蓝黑 */
    --background-color: #101412; 
    
    /* 文字：降低纯白度，使用带一点暖调的灰白 */
    --text-color: #e8ede9;
    --text-secondary: #b8c4bc;
    
    /* 边框：微弱的绿色透明度，融入背景 */
    --border-color: rgba(129, 199, 132, 0.12);
    
    /* 卡片背景：比背景稍亮的深墨绿 */
    --white: #1c221f;
    --card-bg: #1c221f;
    
    /* 阴影：加深，让层次更分明 */
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 32px rgba(0, 0, 0, 0.4);
    
    /* 输入框 */
    --input-bg: #151a17;
    --input-border: #2d3632;
    
    /* 悬停状态：使用极淡的绿色遮罩 */
    --hover-bg: rgba(129, 199, 132, 0.08);
}

/* 深色模式下的特殊样式调整 */
[data-theme="dark"] img {
    opacity: 0.9;
}

[data-theme="dark"] .navbar {
    background-color: #1c221f;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .mobile-nav {
    background-color: #1c221f;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .nav-link {
    color: var(--text-color);
}

[data-theme="dark"] .nav-link:hover {
    color: var(--white);
}

[data-theme="dark"] .nav-icon {
    color: var(--text-color);
}

[data-theme="dark"] input,
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background-color: var(--input-bg);
    border-color: var(--input-border);
    color: var(--text-color);
}

[data-theme="dark"] input::placeholder,
[data-theme="dark"] textarea::placeholder {
    color: #888888;
}

[data-theme="dark"] .btn-secondary {
    background-color: #333333;
    color: var(--text-color);
}

[data-theme="dark"] .modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
}

/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* ==================== 导航栏样式 ==================== */

.navbar {
    background-color: #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

/* 桌面端导航栏 */
.desktop-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height-desktop);
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 600;
}

.brand-link,
.brand-link:visited,
.brand-link:active {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.brand-link:hover {
    color: var(--primary-dark);
}

.brand-icon {
    font-size: 24px;
}

.brand-text {
    display: inline-block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-item {
    display: flex;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--text-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.nav-link:hover {
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    color: var(--white);
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    font-weight: 500;
}

.nav-icon {
    font-size: 18px;
}

/* 移动端导航栏 */
.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--navbar-height-mobile);
    display: none;
    background-color: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
}

.mobile-nav .nav-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: 0 8px;
}

.mobile-nav .nav-item {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mobile-nav .nav-link {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    padding: 4px 8px;
    font-size: 12px;
    text-align: center;
}

.mobile-nav .nav-icon {
    font-size: 22px;
}

.mobile-nav .nav-text {
    font-size: 11px;
}

/* 收纳按钮图标切换 - 默认隐藏加号图标 */
.nav-icon-add {
    display: none;
}

/* 移动端收纳按钮特殊样式 */
.mobile-nav .nav-link-add {
    position: relative;
}

/* 移动端显示加号，隐藏默认图标 */
.mobile-nav .nav-icon-add {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    color: var(--white);
    font-size: 24px; /* 图标字体大小 */
    margin-top: -25px;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
    transition: all 0.3s ease;
}

.mobile-nav .nav-icon-default {
    display: none;
}

.mobile-nav .nav-link-add .nav-text {
    margin-top: 2px;
    transition: color 0.3s ease;
}

/* 收纳按钮 hover 时圆圈放大 */
.mobile-nav .nav-link-add:hover .nav-icon-add {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(76, 175, 80, 0.5);
}

/* 强制去除收纳按钮的矩形背景 */
.mobile-nav .nav-link-add:hover,
.mobile-nav .nav-link-add.active {
    background: none !important;
    box-shadow: none !important;
}

/* 收纳按钮选中时文字变绿 */
.mobile-nav .nav-link-add.active .nav-text {
    color: var(--primary-color);
    font-weight: 500;
}

/* ==================== 主内容区域 ==================== */

.main-content {
    min-height: calc(100vh - var(--navbar-height-desktop));
    margin-top: var(--navbar-height-desktop);
    padding: 20px;
}

/* ==================== 响应式设计 ==================== */

/* 平板 */
@media (max-width: 1024px) {
    .nav-container {
        padding: 0 16px;
    }

    .main-content {
        padding: 16px;
    }
}

/* 手机 */
@media (max-width: 768px) {

    /* 隐藏桌面导航 */
    .desktop-nav {
        display: none;
    }

    /* 显示移动导航 */
    .mobile-nav {
        display: flex;
    }

    /* 调整主内容区域 */
    .main-content {
        margin-top: 0;
        margin-bottom: var(--navbar-height-mobile);
        min-height: calc(100vh - var(--navbar-height-mobile));
        padding: 12px;
    }

    /* 隐藏品牌文字，只保留图标 */
    .brand-text {
        display: none;
    }
}

/* 超小屏幕 */
@media (max-width: 480px) {
    .main-content {
        padding: 8px;
    }
}

/* ==================== 年度报告悬浮按钮 ==================== */

.floating-annual-report-btn {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 998;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
    }
    50% {
        box-shadow: 0 4px 24px rgba(76, 175, 80, 0.6), 0 0 0 8px rgba(76, 175, 80, 0.1);
    }
}

.floating-annual-report-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.5);
}

.floating-annual-report-btn .annual-report-badge {
    position: absolute;
    right: 100%;
    margin-right: 12px;
    background: white;
    color: #4CAF50;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-annual-report-btn:hover .annual-report-badge {
    opacity: 1;
    transform: translateX(0);
}

/* 深色模式下的年度报告标签 */
[data-theme="dark"] .floating-annual-report-btn .annual-report-badge {
    background: var(--card-bg);
    color: var(--primary-light);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* 年度报告弹窗 */
.annual-report-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
    padding: 20px;
}

.annual-report-popup.closing {
    animation: fadeOut 0.3s ease forwards;
}

.annual-report-popup-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    max-width: 360px;
    width: 100%;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .annual-report-popup-content {
    background: var(--card-bg);
}

[data-theme="dark"] .annual-report-popup-content h3 {
    color: var(--text-color);
}

[data-theme="dark"] .annual-report-popup-content p {
    color: var(--text-secondary);
}

.annual-report-popup.closing .annual-report-popup-content {
    animation: slideDown 0.3s ease forwards;
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #999;
}

.popup-close:hover {
    background: #e0e0e0;
    color: #666;
}

.popup-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.popup-icon i {
    font-size: 36px;
    color: white;
}

.annual-report-popup-content h3 {
    font-size: 22px;
    color: #333;
    margin: 0 0 12px 0;
}

.annual-report-popup-content p {
    font-size: 15px;
    color: #666;
    margin: 0 0 24px 0;
}

.popup-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.popup-skip {
    margin-top: 16px;
    font-size: 14px;
    color: #999;
    cursor: pointer;
    transition: color 0.2s ease;
}

.popup-skip:hover {
    color: #666;
}

/* 移动端年度报告按钮位置调整 */
@media (max-width: 768px) {
    .floating-annual-report-btn {
        right: 16px;
        bottom: calc(var(--navbar-height-mobile) + 80px);
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-annual-report-btn .annual-report-badge {
        display: none;
    }

    .annual-report-popup-content {
        padding: 30px 20px;
    }

    .popup-icon {
        width: 70px;
        height: 70px;
    }

    .popup-icon i {
        font-size: 30px;
    }
}

/* ==================== 悬浮反馈按钮 ==================== */

.floating-feedback-wrapper {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

.floating-feedback-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
}

.floating-feedback-wrapper.active .floating-feedback-btn {
    transform: rotate(45deg);
}

.floating-feedback-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 50px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: var(--text-color);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(20px) scale(0.8);
    pointer-events: none;
    transition: all 0.3s ease;
}

.floating-feedback-item i {
    color: var(--primary-color);
    font-size: 16px;
}

.floating-feedback-wrapper.active .floating-feedback-item {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.floating-feedback-wrapper.active .floating-feedback-item:nth-child(2) {
    transition-delay: 0.05s;
}

.floating-feedback-wrapper.active .floating-feedback-item:nth-child(3) {
    transition-delay: 0.1s;
}

.floating-feedback-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.floating-feedback-item:hover i {
    color: var(--white);
}

/* 移动端悬浮按钮位置调整，避免与底部导航栏重叠 */
@media (max-width: 768px) {
    .floating-feedback-wrapper {
        right: 16px;
        bottom: calc(var(--navbar-height-mobile) + 16px);
    }

    .floating-feedback-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .floating-feedback-item {
        padding: 8px 14px;
        font-size: 13px;
    }
}

/* ==================== 通用组件样式 ==================== */

/* 按钮 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #ffffff 0%, #f8faf8 100%);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(76, 175, 80, 0.4);
}

/* 卡片 */
.card {
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--shadow-hover);
}

/* 输入框 */
.input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    border: 3px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    flex-shrink: 0;
    aspect-ratio: 1 / 1;
    vertical-align: middle;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 消息提示 */
.message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 14px;
}

.message-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.message-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

/* 容器 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }
}

/* ==================== 全局消息提示样式 ==================== */

.global-message {
    position: fixed;
    top: calc(var(--navbar-height-desktop) + 20px);
    /* 导航栏高度 + 20px 间距 */
    left: 0;
    right: 0;
    margin: 0 auto;
    width: fit-content;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 14px;
    font-weight: 500;
    z-index: 10000;
    /* 确保在导航栏之上 */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

.global-message.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.global-message.success {
    background-color: #4CAF50;
    color: white;
}

.global-message.error {
    background-color: #f44336;
    color: white;
}

.global-message.warning {
    background-color: #ff9800;
    color: white;
}

.global-message.info {
    background-color: #2196F3;
    color: white;
}

.global-message-icon {
    font-size: 20px;
}

.global-message-text {
    flex: 1;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .global-message {
        top: calc(var(--navbar-height-desktop) + 10px);
        /* 移动端也在导航栏下方 */
        min-width: 280px;
        max-width: calc(100% - 40px);
        padding: 12px 16px;
        font-size: 13px;
    }
}

/
*=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
表单验证样式

=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
=
*

/
/* 错误状态的输入框 */
input.error,
textarea.error,
select.error {
    border-color: #f44336 !important;
    background-color: #ffebee;
}

input.error:focus,
textarea.error:focus,
select.error:focus {
    border-color: #f44336 !important;
    box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

/* 字段错误提示 */
.field-error {
    color: #f44336;
    font-size: 12px;
    margin-top: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    animation: slideInError 0.3s ease;
}

.field-error::before {
    content: '⚠';
    font-size: 14px;
}

@keyframes slideInError {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 成功状态的输入框 */
input.success,
textarea.success,
select.success {
    border-color: #4CAF50 !important;
}

input.success:focus,
textarea.success:focus,
select.success:focus {
    border-color: #4CAF50 !important;
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-color);
}

.form-group label.required::after {
    content: ' *';
    color: #f44336;
}

/* 输入框通用样式 */
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background-color: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

.form-control:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* 帮助文本 */
.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
}

/* ==================== 全局确认弹窗 ==================== */

.confirm-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.confirm-modal-content {
    background-color: var(--white);
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.confirm-modal.modal-closing {
    animation: fadeOut 0.3s ease forwards;
}

.confirm-modal-content.modal-content-closing {
    animation: slideDown 0.3s ease forwards;
}

.confirm-modal-header {
    padding: 24px;
    background: linear-gradient(135deg, #FF9800, #FFB74D);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.confirm-modal-header i {
    font-size: 24px;
}

.confirm-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.confirm-modal-body {
    padding: 32px 24px;
    text-align: center;
}

.confirm-modal-body p {
    margin: 0;
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.6;
}

.confirm-modal-footer {
    padding: 16px 24px;
    background-color: var(--background-color);
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.confirm-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.confirm-modal-btn-cancel {
    background: linear-gradient(135deg, #e0e0e0 0%, #d0d0d0 100%);
    color: #666;
}

.confirm-modal-btn-cancel:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.confirm-modal-btn-confirm {
    background: linear-gradient(135deg, #FF9800 0%, #F57C00 100%);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.3);
}

.confirm-modal-btn-confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 152, 0, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .confirm-modal-content {
        width: 95%;
        max-width: 340px;
    }

    .confirm-modal-header {
        padding: 20px;
    }

    .confirm-modal-header i {
        font-size: 20px;
    }

    .confirm-modal-header h3 {
        font-size: 18px;
    }

    .confirm-modal-body {
        padding: 24px 20px;
    }

    .confirm-modal-body p {
        font-size: 15px;
    }

    .confirm-modal-footer {
        padding: 12px 16px;
        flex-direction: column-reverse;
    }

    .confirm-modal-btn {
        width: 100%;
        padding: 12px;
    }
}

/* 弹窗动画关键帧 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

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