/* 应创规范监督与保障平台 - 主样式文件 */
/* Apple Design Style */

:root {
    --white: #fbfbfd;
    --black: #1b1b1f;
    --gray-50: #f5f5f7;
    --gray-100: #e8e8ed;
    --gray-200: #d2d2d7;
    --gray-300: #b0b0b5;
    --gray-400: #8e8e93;
    --gray-500: #636366;
    --gray-600: #48484a;
    --gray-700: #3a3a3c;
    --gray-800: #2c2c2e;
    --blue: #0071e3;
    --blue-light: #147ce5;
    --blue-gradient-start: #e8f4fd;
    --blue-gradient-end: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition-fast: 0.2s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-normal: 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
    --transition-slow: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
    --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    color: var(--black);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

button {
    font-family: var(--font-family);
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

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

.page-section {
    padding: 80px 0;
}

/* ==================== 页面过渡 ==================== */
.page-wrapper {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
}

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

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

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* ==================== 导航栏 ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(251, 251, 253, 0.85);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

.navbar-logo img {
    height: 32px;
}

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

.navbar-nav a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-500);
    transition: color var(--transition-fast);
    position: relative;
}

.navbar-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transition: transform var(--transition-fast);
}

.navbar-nav a:hover {
    color: var(--black);
}

.navbar-nav a:hover::after {
    transform: scaleX(1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    transition: all var(--transition-fast);
}

/* ==================== 页面标题背景 ==================== */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-gradient-end) 100%);
    text-align: center;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 60%);
}

.page-hero .container {
    position: relative;
    z-index: 1;
}

.page-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.page-hero p {
    font-size: 20px;
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* ==================== 服务列表 ==================== */
.services-section {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-header p {
    font-size: 16px;
    color: var(--gray-400);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.service-card {
    flex: 0 0 320px;
    max-width: 100%;
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    cursor: pointer;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--blue), var(--blue-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.service-card-logo {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.service-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-card-logo .placeholder-icon {
    font-size: 24px;
    color: var(--gray-300);
}

.service-card-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 4px;
}

.service-card-info p {
    font-size: 14px;
    color: var(--gray-400);
}

.service-card-domain {
    font-size: 13px;
    color: var(--blue);
    font-weight: 500;
}

.service-card-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-top: 16px;
}

.service-card-status.running {
    background: #e8f5e9;
    color: #2e7d32;
}

.service-card-status.stopped {
    background: #ffebee;
    color: #c62828;
}

.service-card-status.maintenance {
    background: #fff3e0;
    color: #e65100;
}

.service-card-status::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

/* ==================== 政策栏目 ==================== */
.policies-section {
    background: var(--gray-50);
}

.policies-scroll-wrapper {
    position: relative;
    margin: 0 -24px;
    padding: 0 60px;
}

.policies-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 20px 0;
}

.policies-scroll::-webkit-scrollbar {
    display: none;
}

.policy-card {
    flex: 0 0 280px;
    height: 360px;
    border-radius: var(--radius-lg);
    padding: 24px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform var(--transition-normal);
}

.policy-card:hover {
    transform: scale(1.03);
}

.policy-card-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.policy-card-title {
    font-size: 18px;
    font-weight: 700;
    color: white;
    line-height: 1.4;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.policy-card-dept {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all var(--transition-fast);
}

.scroll-btn:hover {
    transform: translateY(-50%) scale(1.1);
    box-shadow: var(--shadow-lg);
}

.scroll-btn.prev {
    left: 0;
}

.scroll-btn.next {
    right: 0;
}

.scroll-btn svg {
    width: 20px;
    height: 20px;
    color: var(--black);
}

/* ==================== 增值服务 ==================== */
.vas-section {
    background: var(--white);
}

.vas-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
}

.vas-card {
    flex: 0 0 300px;
    max-width: 100%;
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: all var(--transition-normal);
    cursor: pointer;
}

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

.vas-card-gradient {
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vas-card-logo {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
}

.vas-card-body {
    padding: 24px;
}

.vas-card-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 8px;
}

.vas-card-body p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.5;
}

.vas-card-products {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-100);
}

.vas-card-products-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.vas-card-products-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.vas-product-tag {
    display: inline-block;
    padding: 4px 10px;
    background: var(--gray-50);
    border-radius: 6px;
    font-size: 12px;
    color: var(--gray-500);
}

/* ==================== 详情页 ==================== */
.detail-page {
    padding-top: 100px;
    min-height: 100vh;
}

.detail-header {
    padding: 60px 0 40px;
    background: linear-gradient(135deg, var(--blue-gradient-start) 0%, var(--blue-gradient-end) 100%);
}

.detail-header-content {
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

.detail-logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.detail-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-info h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 16px;
}

.detail-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--gray-500);
}

.detail-meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--gray-400);
}

.detail-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

.detail-status.running {
    background: #e8f5e9;
    color: #2e7d32;
}

.detail-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-600);
}

.detail-body {
    padding: 48px 0;
}

.detail-section {
    margin-bottom: 48px;
}

.detail-section-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-100);
}

/* ==================== 弹窗 ==================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-xl);
    width: 90%;
    max-width: 520px;
    max-height: 85vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal {
    transform: scale(1) translateY(0);
}

.modal-header {
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--black);
}

.modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition-fast);
}

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

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

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

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

.form-required {
    color: #ff3b30;
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    font-family: var(--font-family);
    color: var(--black);
    background: var(--gray-50);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    background: var(--white);
    border-color: var(--blue);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

/* ==================== 按钮 ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

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

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 113, 227, 0.3);
}

.btn-secondary {
    background: var(--gray-50);
    color: var(--black);
}

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

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

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

.btn-block {
    width: 100%;
}

/* ==================== 举报选项 ==================== */
.complaint-options {
    display: grid;
    gap: 12px;
}

.complaint-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 2px solid transparent;
}

.complaint-option:hover {
    background: var(--white);
    border-color: var(--gray-200);
}

.complaint-option.selected {
    background: #f0f7ff;
    border-color: var(--blue);
}

.complaint-option-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.complaint-option.selected .complaint-option-icon {
    background: var(--blue);
    color: var(--white);
}

.complaint-option-info h4 {
    font-size: 15px;
    font-weight: 500;
    color: var(--black);
}

.complaint-option-info p {
    font-size: 13px;
    color: var(--gray-400);
}

/* 图片上传 */
.image-upload {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.image-upload-item {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    overflow: hidden;
    position: relative;
}

.image-upload-item:hover {
    border-color: var(--blue);
    background: #f0f7ff;
}

.image-upload-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-upload-item .remove-btn {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--gray-50);
    padding: 48px 0 24px;
    border-top: 1px solid var(--gray-100);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-400);
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 14px;
    color: var(--gray-400);
    margin-bottom: 10px;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--blue);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--gray-100);
    text-align: center;
    font-size: 13px;
    color: var(--gray-400);
}

/* ==================== 移动端适配 ==================== */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
    
    .navbar-nav {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid var(--gray-100);
        box-shadow: var(--shadow-md);
    }
    
    .navbar-nav.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .page-hero h1 {
        font-size: 32px;
    }
    
    .page-hero p {
        font-size: 16px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .policies-scroll-wrapper {
        padding: 0 40px;
    }
    
    .policy-card {
        flex: 0 0 240px;
        height: 300px;
    }
    
    .vas-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .detail-meta {
        justify-content: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .modal {
        width: 95%;
        max-height: 90vh;
    }
}

/* ==================== 后台管理样式 ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--black);
    color: var(--white);
    padding: 24px 0;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    transition: transform var(--transition-normal);
}

.admin-sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--gray-700);
    margin-bottom: 24px;
}

.admin-sidebar-header h2 {
    font-size: 18px;
    font-weight: 600;
}

.admin-sidebar-header p {
    font-size: 12px;
    color: var(--gray-400);
    margin-top: 4px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 14px;
    color: var(--gray-300);
    transition: all var(--transition-fast);
}

.admin-nav a:hover,
.admin-nav a.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.admin-nav a svg {
    width: 20px;
    height: 20px;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--gray-50);
    min-height: 100vh;
}

.admin-header {
    background: var(--white);
    padding: 20px 32px;
    border-bottom: 1px solid var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-content {
    padding: 32px;
}

.admin-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
}

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

.admin-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
}

/* 表格样式 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-100);
}

.admin-table th {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-table td {
    font-size: 14px;
    color: var(--black);
}

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

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active,
.status-badge.running {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-badge.inactive,
.status-badge.stopped {
    background: #ffebee;
    color: #c62828;
}

.status-badge.pending {
    background: #fff3e0;
    color: #e65100;
}

/* ==================== 富文本编辑器 ==================== */
.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px;
    background: var(--gray-50);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    border: 1px solid var(--gray-100);
    border-bottom: none;
}

.editor-btn {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    transition: all var(--transition-fast);
}

.editor-btn:hover {
    background: var(--white);
    color: var(--black);
}

.editor-btn.active {
    background: var(--blue);
    color: var(--white);
}

.editor-content {
    min-height: 300px;
    padding: 16px;
    border: 1px solid var(--gray-100);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    outline: none;
    font-size: 15px;
    line-height: 1.8;
}

/* 消息提示 */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 16px 24px;
    background: var(--black);
    color: var(--white);
    border-radius: var(--radius-md);
    font-size: 14px;
    box-shadow: var(--shadow-lg);
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    background: #2e7d32;
}

.toast.error {
    background: #c62828;
}

/* 无数据状态 */
.empty-state {
    text-align: center;
    padding: 60px 24px;
    color: var(--gray-400);
}

.empty-state svg {
    width: 64px;
    height: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--gray-500);
}

.empty-state p {
    font-size: 14px;
}
