/* ====================
   AI教案生成系统 - 专业版样式
   设计理念：专业、稳重、实用、值得信任
==================== */

:root {
    /* 专业蓝色系 - 稳重信任感 */
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    --primary-light: #e8f0fe;
    --primary-dark: #174ea6;

    /* 中性色系 */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f4;
    --gray-200: #e8eaed;
    --gray-300: #dadce0;
    --gray-400: #bdc1c6;
    --gray-500: #9aa0a6;
    --gray-600: #80868b;
    --gray-700: #5f6368;
    --gray-800: #3c4043;
    --gray-900: #202124;

    /* 功能色 */
    --success: #34a853;
    --warning: #fbbc04;
    --error: #ea4335;
    --info: #4285f4;

    /* 文档背景色 */
    --bg-main: #f8f9fa;
    --bg-paper: #ffffff;
    --bg-sidebar: #ffffff;

    /* 文字色 */
    --text-primary: #202124;
    --text-secondary: #5f6368;
    --text-disabled: #9aa0a6;

    /* 边框和分割线 */
    --border-color: #dadce0;
    --divider: #e8eaed;

    /* 阴影 - 微妙的层次感 */
    --shadow-xs: 0 1px 2px rgba(60,64,67,0.1);
    --shadow-sm: 0 1px 3px rgba(60,64,67,0.15);
    --shadow-md: 0 4px 8px rgba(60,64,67,0.15);
    --shadow-lg: 0 8px 16px rgba(60,64,67,0.15);

    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* 过渡 */
    --transition: all 0.2s ease;

    /* 字体 */
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --font-mono: "SF Mono", Monaco, "Cascadia Code", monospace;
}

/* ==================== 全局重置 ==================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

/* ==================== 容器布局 ==================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px;
}

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

.container-full {
    width: 100%;
    padding: 0;
}

/* ==================== 顶部导航栏 ==================== */
.navbar {
    background: var(--bg-paper);
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-xs);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.85rem;
    font-weight: 600;
    color: #333333;
}

.navbar-brand img,
.navbar-brand svg {
    width: 32px;
    height: 32px;
}

.navbar-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-color);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-nav a,
.navbar-nav button {
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    color: #4a4a4a;
    font-size: 1.05rem;
    font-weight: 500;
    transition: var(--transition);
    background: transparent;
    border: none;
    cursor: pointer;
}

.navbar-nav a:hover,
.navbar-nav button:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.navbar-nav a.active {
    color: var(--primary-color);
    background: var(--primary-light);
}

.navbar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.navbar-user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar-credits {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: #4a4a4a;
    font-weight: 500;
}

.navbar-credits-value {
    font-weight: 600;
    color: var(--primary-color);
}

/* ==================== 按钮系统 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 1.05rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* 确保链接形式的主按钮在 hover 时文字颜色正确 */
a.btn-primary,
a.btn-primary:hover,
a.btn-primary:focus,
a.btn-primary:active {
    color: white;
}

.btn-secondary {
    background: var(--bg-paper);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--gray-100);
}

.btn-text {
    background: transparent;
    color: var(--primary-color);
    padding: 8px 12px;
}

.btn-text:hover {
    background: var(--primary-light);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--error);
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.125rem;
}

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

.btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: var(--radius-sm);
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ==================== 卡片组件 ==================== */
.card {
    background: var(--bg-paper);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    transition: var(--transition);
}

.card-hover:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--divider);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.card-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 4px;
}

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

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

.form-label-required::after {
    content: '*';
    color: var(--error);
    margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    font-size: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-paper);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input::placeholder {
    color: var(--text-disabled);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-hint {
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.form-error {
    color: var(--error);
}

/* ==================== 首页样式 ==================== */
.hero {
    text-align: center;
    padding: 48px 24px 40px;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg-main) 100%);
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto 32px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 特性卡片 */
.features {
    padding: 40px 24px;
}

.features-title {
    text-align: center;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: var(--bg-paper);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== 模板选择 ==================== */
.templates-section {
    padding: 40px 0;
}

.templates-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.template-card {
    background: var(--bg-paper);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.template-card:hover {
    border-color: var(--primary-color);
}

.template-card.selected {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.template-card-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 1.5rem;
}

.template-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.template-card-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.template-card-meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    font-size: 0.75rem;
    color: var(--text-disabled);
}

/* ==================== 编辑器布局 ==================== */
.editor-layout {
    display: flex;
    height: calc(100vh - 64px);
    overflow: hidden;
}

.editor-sidebar {
    width: 280px;
    background: var(--bg-paper);
    border-right: 1px solid var(--border-color);
    padding: 20px;
    overflow-y: auto;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: calc(100vh - 64px);
}

.editor-main {
    flex: 1;
    background: var(--bg-main);
    padding: 24px;
    overflow-y: auto;
    height: calc(100vh - 64px);
}

.editor-panel {
    width: 320px;
    background: var(--bg-paper);
    border-left: 1px solid var(--border-color);
    padding: 20px;
    overflow-y: auto;
    flex-shrink: 0;
    position: sticky;
    top: 0;
    height: calc(100vh - 64px);
}

/* 文档区域 - 仿Word样式 */
.document-container {
    max-width: 816px;
    margin: 0 auto;
    background: var(--bg-paper);
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-sm);
    min-height: 1056px; /* A4比例 */
    padding: 72px 72px;
}

/* 章节导航 */
.section-nav {
    list-style: none;
}

.section-nav-item {
    padding: 10px 12px;
    margin-bottom: 4px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-nav-item:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

.section-nav-item.active {
    background: var(--primary-light);
    color: var(--primary-color);
    font-weight: 500;
}

.section-nav-item-icon {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.5;
}

.section-nav-item.completed .section-nav-item-icon {
    background: var(--success);
    opacity: 1;
}

/* ==================== AI助手面板 ==================== */
.ai-panel {
    background: var(--bg-paper);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.ai-panel-header {
    padding: 16px;
    border-bottom: 1px solid var(--divider);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ai-panel-header-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.75rem;
}

.ai-panel-title {
    font-size: 0.875rem;
    font-weight: 600;
}

.ai-panel-content {
    padding: 16px;
}

.ai-action-btn {
    width: 100%;
    padding: 12px 16px;
    margin-bottom: 8px;
    background: var(--gray-50);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
}

.ai-action-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.ai-action-icon {
    font-size: 1.25rem;
}

.ai-action-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.ai-action-desc {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* ==================== 进度条 ==================== */
.progress-bar {
    height: 4px;
    background: var(--gray-200);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--primary-color);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* ==================== 标签/徽章 ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 100px;
    background: var(--gray-100);
    color: var(--text-secondary);
}

.badge-primary {
    background: var(--primary-light);
    color: var(--primary-color);
}

.badge-success {
    background: #e6f4ea;
    color: var(--success);
}

.badge-warning {
    background: #fef7e0;
    color: #b06000;
}

/* ==================== 加载状态 ==================== */
.loading-spinner {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-200);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.loading-text {
    margin-top: 16px;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ==================== 空状态 ==================== */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--text-secondary);
}

.empty-state-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state-desc {
    font-size: 0.875rem;
    margin-bottom: 24px;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .editor-panel {
        display: none;
    }
}

@media (max-width: 768px) {
    .editor-sidebar {
        display: none;
    }

    .document-container {
        padding: 24px;
        min-height: auto;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .navbar {
        padding: 0 16px;
    }

    .container {
        padding: 16px;
    }
}

/* ==================== 打印样式 ==================== */
@media print {
    .navbar,
    .editor-sidebar,
    .editor-panel {
        display: none !important;
    }

    .document-container {
        box-shadow: none;
        padding: 0;
    }
}

/* ========================================
   自定义弹窗组件 - Toast 提示
   ======================================== */

/* Toast 容器 */
.toast-container {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10000;
    pointer-events: none;
}

/* Toast 单项 */
.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    margin-bottom: 12px;
    pointer-events: auto;
    animation: toastIn 0.3s ease;
    min-width: 280px;
    max-width: 420px;
    border: 1px solid var(--border-color);
}

.toast.toast-out {
    animation: toastOut 0.3s ease forwards;
}

@keyframes toastIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes toastOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
    font-size: 0.95rem;
}

.toast-message {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.4;
}

/* Toast 类型样式 */
.toast.toast-success {
    border-left: 4px solid var(--success);
}

.toast.toast-success .toast-icon {
    color: var(--success);
}

.toast.toast-error {
    border-left: 4px solid var(--error);
}

.toast.toast-error .toast-icon {
    color: var(--error);
}

.toast.toast-warning {
    border-left: 4px solid var(--warning);
}

.toast.toast-warning .toast-icon {
    color: var(--warning);
}

.toast.toast-info {
    border-left: 4px solid var(--primary-color);
}

.toast.toast-info .toast-icon {
    color: var(--primary-color);
}

/* ========================================
   自定义弹窗组件 - 模态对话框
   ======================================== */

/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.modal-out {
    animation: fadeOut 0.2s ease forwards;
}

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

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

/* 模态框 */
.modal {
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    width: 90%;
    animation: modalIn 0.3s ease;
    overflow: hidden;
}

.modal-content {
    background: var(--bg-paper);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 600px;
    animation: modalIn 0.3s ease;
    overflow: hidden;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--divider);
    background: var(--bg-paper);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: var(--text-secondary);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    line-height: 1;
    padding: 0;
}

.modal-close:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.modal-body {
    padding: 24px;
}

.modal-overlay.modal-out .modal {
    animation: modalOut 0.2s ease forwards;
}

@keyframes modalIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes modalOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.95);
    }
}

.modal-header {
    padding: 20px 24px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-icon {
    font-size: 1.75rem;
}

.modal-icon.success { color: var(--success); }
.modal-icon.error { color: var(--error); }
.modal-icon.warning { color: var(--warning); }
.modal-icon.info { color: var(--primary-color); }

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.modal-body {
    padding: 0 24px 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.modal-btn {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.modal-btn-secondary {
    background: var(--bg-paper);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.modal-btn-secondary:hover {
    background: var(--gray-100);
}

.modal-btn-primary {
    background: var(--primary-color);
    color: white;
}

.modal-btn-primary:hover {
    background: var(--primary-dark);
}

.modal-btn-danger {
    background: var(--error);
    color: white;
}

.modal-btn-danger:hover {
    background: #c62828;
}

/* ============================================
   兑换码和反馈系统样式
   ============================================ */

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

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

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-paper);
    color: var(--text-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-textarea {
    resize: vertical;
    line-height: 1.6;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-disabled);
}

/* 数据表格 */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
}

.data-table th {
    background: var(--gray-50);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    font-size: 0.875rem;
}

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--divider);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.data-table tr:hover {
    background: var(--gray-50);
}

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

/* 成功按钮 */
.btn-success {
    background: var(--success);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.btn-success:hover {
    background: #27ae60;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.3);
}

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

/* 反馈项样式 */
.feedback-item {
    cursor: default;
}

.feedback-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 响应式 */
@media (max-width: 768px) {
    .data-table {
        font-size: 0.75rem;
    }

    .data-table th,
    .data-table td {
        padding: 8px 12px;
    }

    .form-input,
    .form-select,
    .form-textarea {
        font-size: 0.875rem;
    }
}

/* Action Icon Colors */
.action-icon.blue { background: #E3F2FD; color: #1976D2; }
.action-icon.green { background: #E8F5E9; color: #388E3C; }
.action-icon.orange { background: #FFF3E0; color: #F57C00; }
.action-icon.purple { background: #F3E5F5; color: #7B1FA2; }
.action-icon.yellow { background: #FFF9C4; color: #F57F17; }
.action-icon.pink { background: #FCE4EC; color: #C2185B; }
