/* 现代化算法合规模块样式 */

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --info-color: #3b82f6;
    --dark-color: #1f2937;
    --light-color: #f3f4f6;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

* {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    margin: 0;
    color: var(--dark-color);
}

/* 主容器 */
.main-container {
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
}

/* 头部样式 */
.header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 2rem 0;
    box-shadow: var(--shadow-md);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* 导航样式 */
.nav-menu {
    background: white;
    border-bottom: 1px solid var(--border-color);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-right: 2rem;
}

.nav-links a {
    display: block;
    padding: 1rem 0;
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

/* 内容容器 */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card .icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.stat-card.primary .icon {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
}

.stat-card.success .icon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.stat-card.warning .icon {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.stat-card.danger .icon {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.stat-card .value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.stat-card .change {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.stat-card .change.positive {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.stat-card .change.negative {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

/* 标签页样式 */
.tabs-container {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    margin-bottom: 2rem;
}

.tab-nav {
    display: flex;
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--dark-color);
    background: rgba(255, 255, 255, 0.5);
}

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

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-color);
}

.tab-content {
    padding: 2rem;
    display: none;
}

.tab-content.active {
    display: block;
}

/* 表格样式 */
.data-table {
    width: 100%;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.data-table table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    background: var(--light-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 1px solid var(--border-color);
}

.data-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.data-table tr:hover {
    background: rgba(37, 99, 235, 0.02);
}

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

/* 状态徽章 */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--secondary-color);
}

.badge.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

.badge.danger {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
}

.badge.info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--info-color);
}

.badge.secondary {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: var(--light-color);
    color: var(--dark-color);
}

.btn-secondary:hover {
    background: #e5e7eb;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* 过滤器区域 */
.filter-section {
    background: var(--light-color);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    align-items: end;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--dark-color);
}

.form-control {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

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

/* 图表容器 */
.chart-container {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--dark-color);
}

.chart-content {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
}

.chart-canvas-container {
    height: 300px;
    position: relative;
}

.chart-placeholder {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: var(--radius-md);
    color: #6b7280;
}

/* 进度条 */
.progress {
    width: 100%;
    height: 8px;
    background: var(--light-color);
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    .nav-links {
        flex-direction: column;
        width: 100%;
    }

    .nav-links li {
        margin-right: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .content-container {
        padding: 1rem;
    }

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

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

    .tab-nav {
        flex-direction: column;
    }
}

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

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* 工具提示 */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    border-radius: var(--radius-md);
    padding: 0.5rem;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 0.875rem;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* 警告框 */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    border-left: 4px solid;
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-left-color: var(--info-color);
    color: #1e40af;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--warning-color);
    color: #92400e;
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border-left-color: var(--secondary-color);
    color: #065f46;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-left-color: var(--danger-color);
    color: #991b1b;
}

/* =============================================
   24小时AI客服浮动窗口样式
   ============================================= */

.customer-service-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 客服按钮样式 */
.cs-button {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    min-width: 160px;
}

.cs-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.cs-button.cs-button-active {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 4px 20px rgba(239, 68, 68, 0.4);
}

.cs-button.cs-button-pulse {
    animation: cs-pulse 2s infinite;
}

@keyframes cs-pulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(59, 130, 246, 0.8);
    }
}

.cs-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    flex-shrink: 0;
}

.cs-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.cs-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.cs-status {
    font-size: 12px;
    opacity: 0.9;
}

.cs-badge {
    background: #10b981;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    position: absolute;
    top: -8px;
    right: -8px;
    white-space: nowrap;
}

/* 客服聊天窗口样式 */
.cs-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 380px;
    height: 600px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.cs-window.cs-window-open {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 窗口头部 */
.cs-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cs-agent-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cs-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.cs-agent-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
}

.cs-agent-status {
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, 0.9);
}

.cs-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.cs-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 消息区域 */
.cs-messages {
    height: 380px;
    overflow-y: auto;
    padding: 20px;
    background: #f8fafc;
}

.cs-messages::-webkit-scrollbar {
    width: 4px;
}

.cs-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 2px;
}

/* 消息样式 */
.cs-welcome-message,
.cs-ai-message,
.cs-user-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    animation: cs-messageSlide 0.3s ease-out;
}

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

.cs-welcome-message .cs-avatar,
.cs-ai-message .cs-avatar {
    width: 32px;
    height: 32px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.cs-user-message {
    flex-direction: row-reverse;
}

.cs-message-content {
    background: white;
    padding: 12px 16px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 280px;
    line-height: 1.5;
    font-size: 14px;
}

.cs-welcome-message .cs-message-content,
.cs-ai-message .cs-message-content {
    border-top-left-radius: 4px;
    background: white;
}

.cs-user-message .cs-message-content {
    background: #3b82f6;
    color: white;
    border-top-right-radius: 4px;
}

.cs-message-content a {
    color: #3b82f6;
    text-decoration: none;
}

.cs-user-message .cs-message-content a {
    color: #dbeafe;
    text-decoration: underline;
}

.cs-message-time {
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    text-align: center;
}

.cs-user-message .cs-message-time {
    color: #3b82f6;
    text-align: center;
}

/* 打字指示器 */
.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #64748b;
    border-radius: 50%;
    animation: cs-typing 1.4s infinite ease-in-out;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes cs-typing {
    0%, 80%, 100% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    40% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 快捷回复按钮 */
.cs-quick-replies {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.cs-quick-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.cs-quick-btn:hover {
    background: #e2e8f0;
    color: #334155;
    border-color: #cbd5e1;
}

/* 输入区域 */
.cs-input-area {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #e2e8f0;
}

.cs-input-wrapper {
    display: flex;
    gap: 8px;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 12px;
    transition: border-color 0.2s;
}

.cs-input-wrapper:focus-within {
    border-color: #3b82f6;
    background: white;
}

.cs-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: #334155;
    placeholder-color: #94a3b8;
}

.cs-send-btn {
    background: #3b82f6;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.cs-send-btn:hover {
    background: #2563eb;
}

.cs-input-tips {
    display: flex;
    justify-content: space-around;
    margin-top: 8px;
    font-size: 11px;
    color: #64748b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .customer-service-widget {
        bottom: 16px;
        right: 16px;
    }

    .cs-window {
        width: 320px;
        height: 520px;
        right: -20px;
    }

    .cs-button {
        min-width: 140px;
        padding: 10px 16px;
    }

    .cs-text {
        display: none;
    }

    .cs-badge {
        top: -6px;
        right: -6px;
    }

    .cs-messages {
        height: 320px;
        padding: 16px;
    }

    .cs-message-content {
        max-width: 240px;
    }
}

@media (max-width: 480px) {
    .customer-service-widget {
        bottom: 12px;
        right: 12px;
    }

    .cs-window {
        width: calc(100vw - 24px);
        height: 480px;
        right: -12px;
    }

    .cs-quick-replies {
        grid-template-columns: 1fr;
    }
}

/* 隐私政策同意模态框样式 */
.consent-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(10px);
}

.consent-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    max-height: 80vh;
    width: 90%;
    margin: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.consent-header {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    padding: 2rem;
    text-align: center;
}

.consent-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.consent-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1.1rem;
}

.consent-body {
    padding: 2rem;
    max-height: 50vh;
    overflow-y: auto;
}

.consent-body::-webkit-scrollbar {
    width: 6px;
}

.consent-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.consent-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.consent-body::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.consent-info h3 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    font-weight: 600;
}

.consent-info p {
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.consent-key-points {
    margin: 1.5rem 0;
}

.consent-key-points h4 {
    color: #334155;
    margin: 1.5rem 0 0.8rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.consent-key-points ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.consent-key-points li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.consent-key-points strong {
    color: #374151;
    font-weight: 600;
}

.consent-agreement {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.consent-agreement p {
    margin: 0.5rem 0;
    color: #374151;
}

.consent-agreement strong {
    color: #1e293b;
}

.consent-actions {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.consent-btn {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.consent-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

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

.accept-btn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.accept-btn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.decline-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.decline-btn:hover {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

/* 通知样式 */
.notification {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .consent-modal-content {
        width: 95%;
        margin: 10px;
        max-height: 90vh;
    }

    .consent-header {
        padding: 1.5rem;
    }

    .consent-header h2 {
        font-size: 1.5rem;
    }

    .consent-header p {
        font-size: 1rem;
    }

    .consent-body {
        padding: 1.5rem;
        max-height: 60vh;
    }

    .consent-actions {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }

    .consent-btn {
        width: 100%;
        min-width: auto;
        order: 2;
    }

    .accept-btn {
        order: 1;
    }

    .consent-key-points h4 {
        font-size: 1rem;
    }

    .consent-agreement {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .consent-modal-content {
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
    }

    .consent-body {
        padding: 1rem;
        max-height: 70vh;
    }

    .consent-header {
        padding: 1rem;
    }

    .consent-actions {
        padding: 1rem;
    }
}

/* =============================================
   用户注册和登录模态框样式
   ============================================= */

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.nav-links .nav-actions {
    margin-left: auto;
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    margin-top: 0.5rem;
    overflow: hidden;
}

.user-dropdown a {
    display: block;
    padding: 0.75rem 1rem;
    color: #374151;
    text-decoration: none;
    transition: background 0.2s;
    font-size: 0.875rem;
    border-bottom: 1px solid #f1f5f9;
}

.user-dropdown a:hover {
    background: #f8fafc;
    color: #1e293b;
}

.user-dropdown a:last-child {
    border-bottom: none;
}

/* 认证模态框基础样式 */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100000;
    backdrop-filter: blur(5px);
    padding: 1rem;
}

.auth-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 600px;
    max-height: 90vh;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    animation: authModalSlideIn 0.3s ease-out;
    position: relative;
    margin: auto;
}

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

.auth-modal-content.success {
    max-width: 500px;
    text-align: center;
}

/* 认证头部 */
.auth-header {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    padding: 2rem;
    position: relative;
    text-align: center;
}

.auth-header.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.auth-header h2 {
    margin: 0 0 0.5rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.auth-header p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.auth-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.auth-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* 认证主体 */
.auth-body {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
}

.auth-body::-webkit-scrollbar {
    width: 6px;
}

.auth-body::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

.auth-body::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.auth-section {
    margin-bottom: 2rem;
}

.auth-section:last-child {
    margin-bottom: 0;
}

.auth-section h3 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f1f5f9;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
    font-size: 0.875rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.875rem;
    transition: all 0.2s;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-group input::placeholder {
    color: #9ca3af;
}

/* 密码强度条 */
.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s ease, background 0.3s ease;
}

/* 数据使用披露 */
.data-usage-disclosure {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.disclosure-item {
    margin-bottom: 1.5rem;
}

.disclosure-item:last-child {
    margin-bottom: 0;
}

.disclosure-item h4 {
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.disclosure-item ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #64748b;
    line-height: 1.6;
}

.disclosure-item li {
    margin-bottom: 0.5rem;
}

.disclosure-item strong {
    color: #374151;
    font-weight: 600;
}

/* 法律披露 */
.legal-disclosure {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.legal-disclosure p {
    margin: 0 0 1rem 0;
    color: #374151;
    font-weight: 600;
}

.legal-disclosure ul {
    margin: 0 0 1rem 0;
    padding-left: 1.5rem;
}

.legal-disclosure li {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

/* 同意项 */
.consent-agreements {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 1.5rem;
}

.consent-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.consent-item:last-child {
    margin-bottom: 0;
}

.consent-item input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.consent-item label {
    color: #374151;
    line-height: 1.5;
    font-size: 0.875rem;
    margin: 0;
    cursor: pointer;
}

.consent-item a {
    color: #3b82f6;
    text-decoration: none;
}

.consent-item a:hover {
    text-decoration: underline;
}

/* 表单选项 */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #374151;
    font-size: 0.875rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

.forgot-password {
    color: #3b82f6;
    text-decoration: none;
    font-size: 0.875rem;
}

.forgot-password:hover {
    text-decoration: underline;
}

/* 认证操作按钮 */
.auth-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

/* 注册成功信息 */
.success-info {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-info h3 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.success-info p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.next-steps {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    display: inline-block;
    min-width: 300px;
}

.next-steps h4 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.next-steps ul {
    margin: 0;
    padding-left: 1.5rem;
    color: #64748b;
    line-height: 1.8;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

/* 认证底部 */
.auth-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
}

.auth-footer p {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.auth-footer a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* 按钮禁用状态 */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .auth-modal-content {
        margin: 1rem;
        max-height: 95vh;
    }

    .auth-header {
        padding: 1.5rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-body {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .auth-actions {
        flex-direction: column;
    }

    .auth-actions .btn {
        width: 100%;
    }

    .nav-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .nav-actions {
        display: none;
    }

    .auth-modal {
        padding: 0;
    }

    .auth-modal-content {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
        margin: 0;
    }

    .auth-header {
        padding: 1rem;
    }

    .auth-body {
        padding: 1rem;
        max-height: calc(100vh - 200px);
    }

    .data-usage-disclosure,
    .legal-disclosure,
    .consent-agreements {
        padding: 1rem;
    }

    .disclosure-item h4,
    .legal-disclosure p {
        font-size: 0.9rem;
    }

    .next-steps {
        min-width: auto;
        width: 100%;
    }
}

/* 星级评分按钮样式 */
.star-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #ddd;
    transition: all 0.2s ease;
    padding: 5px;
    margin: 0 2px;
}

.star-btn:hover {
    color: #ffc107;
    transform: scale(1.1);
}

.star-btn:focus {
    outline: none;
}

/* 模态框通用样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    animation: modalFadeIn 0.3s ease-out;
}

.modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    margin: 0;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #64748b;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

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

/* 数据授权模态框特殊样式 */
.consent-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
}

.consent-item h4 {
    margin: 0 0 8px 0;
    color: #374151;
    font-size: 0.95rem;
    font-weight: 600;
}

.consent-item p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 满意度调查模态框特殊样式 */
#ratingText {
    text-align: center;
    color: #6b7280;
    font-size: 0.9rem;
    margin-top: 8px;
    font-style: italic;
}

/* 反馈模态框特殊样式 */
#feedbackType,
#feedbackTitle,
#feedbackContent,
#feedbackPriority {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: white;
}

#feedbackType:focus,
#feedbackTitle:focus,
#feedbackContent:focus,
#feedbackPriority:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

#feedbackContent {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* 主要和次要按钮样式 */
.primary-btn,
.secondary-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.primary-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.primary-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.primary-btn:disabled {
    background: #d1d5db;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.secondary-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #d1d5db;
}

.secondary-btn:hover {
    background: #e5e7eb;
    color: #1f2937;
    border-color: #9ca3af;
}

/* 模态框动画 */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .modal-content {
        margin: 16px;
        max-width: calc(100% - 32px);
    }

    .modal-header {
        padding: 16px 20px 12px;
    }

    .modal-body {
        padding: 16px 20px;
    }

    .star-btn {
        font-size: 1.5rem;
        margin: 0 1px;
    }

    .consent-item {
        padding: 12px;
    }
}

/* =============================================
   算法鲁棒性页面 AI智能助手样式
   ============================================= */

.customer-service-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    display: none;
    width: 380px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.customer-service-widget.show {
    display: block;
}

.customer-service-header {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    padding: 12px 16px;
    border-radius: 12px 12px 0 0;
    font-size: 16px;
    font-weight: 600;
    position: relative;
}

.customer-service-header button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background 0.2s;
}

.customer-service-header button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.customer-service-body {
    background: white;
    border: none;
    max-height: 400px;
    overflow-y: auto;
}

.customer-service-footer {
    background: #f8fafc;
    border: none;
    padding: 12px;
}

.customer-service-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    z-index: 999998;
    font-size: 24px;
}

.customer-service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.6);
}

.customer-service-button.hide {
    display: none;
}

/* 聊天消息样式 */
#chat-messages {
    min-height: 300px;
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
}

.ai-message {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.message-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.ai-avatar {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
}

.user-avatar {
    background: #f1f5f9;
    color: #64748b;
}

.message-content {
    flex: 1;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.ai-message .message-content {
    background: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1e40af;
}

.user-message {
    flex-direction: row-reverse;
}

.user-message .message-content {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #075985;
}

/* 快捷建议按钮样式 */
.suggestions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.suggestion-btn {
    padding: 8px 12px;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 12px;
    color: #6b7280;
    cursor: pointer;
    transition: all 0.2s;
}

.suggestion-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    color: #374151;
}

/* 输入框样式 */
.input-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

#chat-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

#chat-input:focus {
    border-color: #3b82f6;
}

.send-btn {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.send-btn:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
}

.send-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .customer-service-widget {
        bottom: 16px;
        right: 16px;
    }

    .customer-service-button {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }

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

    #chat-messages {
        min-height: 250px;
        max-height: 300px;
    }
}

/* 水印工具样式 */
.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: border-color 0.2s;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    background: #f9fafb;
}

.upload-area:hover {
    border-color: #6366f1;
    background: #f3f4f6;
}

.upload-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.upload-icon {
    font-size: 2rem;
    color: #6b7280;
}

.upload-placeholder h4 {
    margin: 0;
    color: #374151;
    font-size: 1.1rem;
}

.upload-placeholder p {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.status-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f0f9ff;
    border: 1px solid #0284c7;
    border-radius: 8px;
    color: #0c4a6e;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}