/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #5a6c7d;
    min-height: 100vh;
    color: #333;
    line-height: 1.6;
}

/* 页面切换 */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* 认证页面样式 */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.auth-card {
    background: white;
    border-radius: 20px;
    padding: 65px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e1e5e9;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.auth-header p {
    color: #666;
    font-size: 0.9rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    box-sizing: border-box;
    height: 56px;
}

.form-group input:focus {
    outline: none;
    border-color: #5a6c7d;
    box-shadow: 0 0 0 3px rgba(90, 108, 125, 0.1);
}

.form-group input::placeholder {
    color: #999;
    font-size: 1rem;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: auto;
    margin: 0;
}

.forgot-link {
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 500;
}

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

.auth-btn {
    background: #5a6c7d;
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    width: 100%;
    height: 56px;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(90, 108, 125, 0.3);
    background: #4a5a6b;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
}

.auth-switch a {
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 600;
}

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

/* 主应用布局 */
#mainApp {
    display: flex;
    min-height: 100vh;
    background: #f8fafc;
}

/* 侧边栏 */
.sidebar {
    width: 280px;
    background: #fff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    z-index: 1000;
    position: relative;
}

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

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

.avatar {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.user-details h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.user-details p {
    font-size: 0.8rem;
    color: #666;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
}

.nav-menu {
    list-style: none;
    padding: 20px 0;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #666;
    font-weight: 500;
    list-style: none;
}

.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.nav-item:hover {
    background: #f8fafc;
    color: #5a6c7d;
}

.nav-item:hover a {
    color: #5a6c7d;
}

.nav-item.active {
    background: rgba(90, 108, 125, 0.1);
    color: #5a6c7d;
    border-right: 3px solid #5a6c7d;
}

.nav-item.active a {
    color: #5a6c7d;
}

.nav-item.logout {
    margin-top: auto;
    color: #e74c3c;
}

.nav-item.logout:hover {
    background: rgba(231, 76, 60, 0.1);
}

.nav-item.logout a {
    color: #e74c3c;
}

.nav-item i {
    font-size: 1.1rem;
    width: 20px;
}

/* 主内容区域 */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* 顶部导航栏 */
.top-header {
    background: #fff;
    padding: 20px 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    background: #f8fafc;
    color: #5a6c7d;
}

#pageTitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notifications {
    position: relative;
    cursor: pointer;
    color: #666;
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    cursor: pointer;
}

.user-avatar {
    width: 35px;
    height: 35px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

/* 内容页面 */
.content-page {
    display: none;
    flex: 1;
    padding: 30px;
    overflow-y: auto;
}

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

/* 页面头部 */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.page-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
}

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

.btn-primary {
    background: #5a6c7d;
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 108, 125, 0.3);
    background: #4a5a6b;
}

/* 详情按钮特殊样式 */
.detail-btn {
    background: #5a6c7d;
    color: white;
    border: 1px solid #5a6c7d;
}

.detail-btn:hover {
    background: #4a5a6b;
    border-color: #4a5a6b;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(90, 108, 125, 0.3);
}

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

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

.btn-outline {
    background: transparent;
    color: #5a6c7d;
    border: 2px solid #5a6c7d;
}

.btn-outline:hover {
    background: #5a6c7d;
    color: white;
}

.btn-danger {
    background: #e74c3c;
    color: white;
}

.btn-danger:hover {
    background: #c0392b;
}

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

/* 仪表盘样式 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #5a6c7d;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.stat-content p {
    color: #666;
    font-size: 0.9rem;
}

.dashboard-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
}

.chart-container,
.recent-activity {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.chart-container h3,
.recent-activity h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.announcement-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #5a6c7d;
    transition: all 0.3s ease;
}

.announcement-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.announcement-icon {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.announcement-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.announcement-text p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 8px;
}

.announcement-time {
    font-size: 0.8rem;
    color: #999;
    font-weight: 500;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.activity-content p {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.activity-content span {
    font-size: 0.8rem;
    color: #666;
}

/* 表格样式 */
.table-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

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

.data-table th {
    background: #f8fafc;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
}

.data-table td {
    padding: 15px;
    border-bottom: 1px solid #e1e5e9;
    color: #666;
}

.data-table tr:hover {
    background: #f8fafc;
}

.auth-link {
    color: #5a6c7d;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.auth-link:hover {
    color: #4a5a6b;
    text-decoration: underline;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.active {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.status.warning {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.status.expired {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* 定价卡片 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 2px solid #5a6c7d;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #5a6c7d;
    color: white;
    padding: 5px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h4 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.price {
    margin-bottom: 25px;
}

.currency {
    font-size: 1.2rem;
    color: #666;
    vertical-align: top;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.period {
    font-size: 1rem;
    color: #666;
}

.features {
    list-style: none;
    margin-bottom: 30px;
}

.features li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.features i {
    color: #2ecc71;
    font-size: 0.9rem;
}

/* 个人信息样式 */
.profile-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.profile-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: fit-content;
}

.profile-header {
    text-align: center;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 20px;
}

.profile-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.profile-info p {
    color: #666;
    margin-bottom: 15px;
}

.profile-form {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #5a6c7d;
    box-shadow: 0 0 0 3px rgba(90, 108, 125, 0.1);
}

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

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* 安全设置卡片 */
.security-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.security-card .card-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e1e5e9;
}

.security-card .card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.security-card .card-header h3 i {
    color: #5a6c7d;
}

.security-card .card-content {
    padding: 25px;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #f1f3f4;
}

.security-item:last-child {
    border-bottom: none;
}

.security-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.security-icon {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.security-details h5 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.security-details p {
    font-size: 0.9rem;
    color: #666;
}

/* 账户统计卡片 */
.account-stats-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.account-stats-card .card-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e1e5e9;
}

.account-stats-card .card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-stats-card .card-header h3 i {
    color: #5a6c7d;
}

.account-stats-card .card-content {
    padding: 25px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stats-grid .stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.stats-grid .stat-icon {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.stats-grid .stat-info {
    display: flex;
    flex-direction: column;
}

.stats-grid .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.stats-grid .stat-label {
    font-size: 0.8rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        height: 100vh;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0;
    }

    .sidebar-toggle,
    .mobile-menu-toggle {
        display: block;
    }

    .main-content {
        margin-left: 0;
    }

    .top-header {
        padding: 15px 20px;
    }

    .content-page {
        padding: 20px;
    }

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

    .dashboard-content {
        grid-template-columns: 1fr;
    }

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

    .profile-container {
        grid-template-columns: 1fr;
    }

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

    .security-card,
    .account-stats-card {
        margin-bottom: 20px;
    }

    .security-card .card-content,
    .account-stats-card .card-content {
        padding: 20px;
    }

    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        padding: 15px 0;
    }

    .security-info {
        width: 100%;
    }

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

    .stats-grid .stat-item {
        padding: 12px;
    }

    .table-container {
        overflow-x: auto;
    }

    .data-table {
        min-width: 600px;
    }

    .auth-card {
        padding: 30px 20px;
    }

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

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }

    .auth-card {
        padding: 20px 15px;
    }

    .content-page {
        padding: 15px;
    }

    .stat-card {
        padding: 20px;
    }

    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .stat-content h3 {
        font-size: 1.5rem;
    }

    .pricing-card {
        padding: 20px;
    }

    .amount {
        font-size: 2.5rem;
    }
}

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

.page.active {
    animation: fadeIn 0.3s ease;
}

/* 首页欢迎页面样式 */
.welcome-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.welcome-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.welcome-header p {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.welcome-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: center;
}

.welcome-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    border-radius: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 120px;
}

.welcome-btn.primary {
    background: #5a6c7d;
    color: white;
}

.welcome-btn.secondary {
    background: transparent;
    color: #5a6c7d;
    border: 2px solid #5a6c7d;
}

.welcome-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(90, 108, 125, 0.3);
}

.welcome-btn i {
    font-size: 2rem;
}

.welcome-btn span {
    font-size: 1rem;
    font-weight: 600;
}

.welcome-features h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.feature-item i {
    font-size: 1.5rem;
    color: #5a6c7d;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
}

/* 移动端首页适配 */
@media (max-width: 768px) {
    .welcome-card {
        padding: 30px 20px;
    }
    
    .welcome-header h1 {
        font-size: 2rem;
    }
    
    .welcome-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .welcome-btn {
        width: 100%;
        max-width: 200px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* 面包屑导航 */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.breadcrumb-link {
    color: #5a6c7d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.breadcrumb-link:hover {
    color: #4a5a6b;
}

.breadcrumb-separator {
    color: #999;
    font-size: 0.8rem;
}

.breadcrumb-current {
    color: #333;
    font-weight: 500;
}

/* 授权详情页样式 */
.auth-detail-header {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.auth-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.auth-icon {
    width: 80px;
    height: 80px;
    background: #5a6c7d;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.auth-details h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.auth-details p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 10px;
}

.auth-actions {
    display: flex;
    gap: 15px;
}

.auth-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.detail-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.detail-card.full-width {
    grid-column: 1 / -1;
}

.card-header {
    background: #f8fafc;
    padding: 20px 25px;
    border-bottom: 1px solid #e1e5e9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h3 i {
    color: #5a6c7d;
}

.card-content {
    padding: 25px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.info-item:last-child {
    border-bottom: none;
}

.info-item label {
    font-weight: 500;
    color: #666;
    font-size: 0.9rem;
}

.info-item span {
    color: #333;
    font-weight: 500;
}

.info-item span.highlight {
    color: #5a6c7d;
    font-weight: 600;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: #5a6c7d;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
}

.stat-label {
    font-size: 0.8rem;
    color: #666;
}

.permission-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.permission-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
}

.permission-item i {
    font-size: 1rem;
}

.text-success {
    color: #2ecc71;
}

.text-danger {
    color: #e74c3c;
}

.log-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.log-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.log-icon {
    width: 35px;
    height: 35px;
    background: #5a6c7d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
}

.log-content p {
    font-weight: 500;
    color: #333;
    margin-bottom: 2px;
}

.log-time {
    font-size: 0.8rem;
    color: #666;
}

/* 快速操作面板 */
.quick-actions {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.quick-actions h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    background: #f8fafc;
    border: 2px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #333;
}

.action-btn:hover {
    background: #e9ecef;
    border-color: #5a6c7d;
    transform: translateY(-2px);
}

.action-btn i {
    font-size: 1.5rem;
    color: #5a6c7d;
}

.action-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .auth-detail-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .auth-actions {
        width: 100%;
        justify-content: space-between;
    }

    .auth-detail-grid {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        grid-template-columns: repeat(2, 1fr);
    }

    .breadcrumb {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .auth-info {
        flex-direction: column;
        text-align: center;
    }

    .auth-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

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

    .action-buttons {
        grid-template-columns: 1fr;
    }
}

/* 实名认证页面样式 */
.verification-status {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.status-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-icon {
    width: 60px;
    height: 60px;
    background: #5a6c7d;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.status-info h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.status-info p {
    color: #666;
    font-size: 0.9rem;
}

.status-badge {
    margin-left: auto;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.status-badge.none {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

.status-badge.pending {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

.status-badge.approved {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
}

.status-badge.rejected {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* 认证步骤 */
.verification-steps {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.verification-steps h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.steps-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #e1e5e9;
    transition: all 0.3s ease;
}

.step-item.active {
    background: rgba(90, 108, 125, 0.05);
    border-left-color: #5a6c7d;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e1e5e9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    flex-shrink: 0;
}

.step-item.active .step-number {
    background: #5a6c7d;
    color: white;
}

.step-content {
    flex: 1;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.9rem;
    color: #666;
}

.step-status {
    color: #999;
    font-size: 1.2rem;
}

.step-item.active .step-status {
    color: #5a6c7d;
}

/* 认证表单 */
.verification-form-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
}

.form-section {
    padding: 25px;
    border-bottom: 1px solid #e1e5e9;
}

.form-section:last-child {
    border-bottom: none;
}

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

.section-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h3 i {
    color: #5a6c7d;
}

.upload-tips {
    font-size: 0.8rem;
    color: #666;
}

.verification-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-weight: 500;
    color: #333;
    font-size: 0.9rem;
}

.required {
    color: #e74c3c;
}

.form-group input {
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #5a6c7d;
    box-shadow: 0 0 0 3px rgba(90, 108, 125, 0.1);
}

.form-group input.error {
    border-color: #e74c3c;
}

.error-message {
    color: #e74c3c;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* 文件上传 */
.upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.upload-item {
    position: relative;
}

.upload-box {
    width: 100%;
    height: 200px;
    border: 2px dashed #e1e5e9;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.upload-box:hover {
    border-color: #5a6c7d;
    background: rgba(90, 108, 125, 0.05);
}

.upload-placeholder i {
    font-size: 2rem;
    color: #999;
    margin-bottom: 10px;
}

.upload-placeholder p {
    font-weight: 500;
    color: #333;
    margin-bottom: 5px;
}

.upload-placeholder span {
    font-size: 0.8rem;
    color: #666;
}

.upload-preview {
    position: relative;
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
}

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

.remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: rgba(0, 0, 0, 0.9);
}

/* 协议部分 */
.agreement-section {
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.9rem;
    line-height: 1.5;
}

.agreement-checkbox input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #5a6c7d;
    border-color: #5a6c7d;
    color: white;
}

.agreement-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    font-size: 0.8rem;
}

.agreement-checkbox a {
    color: #5a6c7d;
    text-decoration: none;
}

.agreement-checkbox a:hover {
    text-decoration: underline;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding: 20px 25px;
    background: #f8fafc;
}

/* 认证记录 */
.verification-history {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border-radius: 10px;
}

.history-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.history-item:nth-child(1) .history-icon {
    background: #e74c3c;
}

.history-item:nth-child(2) .history-icon {
    background: #f39c12;
}

.history-content {
    flex: 1;
}

.history-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.history-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.history-time {
    font-size: 0.8rem;
    color: #999;
}

.history-status .status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.history-status .status.failed {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

.history-status .status.pending {
    background: rgba(241, 196, 15, 0.1);
    color: #f1c40f;
}

/* FAQ部分 */
.faq-section {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    border: 1px solid #e1e5e9;
    border-radius: 10px;
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.faq-question:hover {
    background: #e9ecef;
}

.faq-question span {
    font-weight: 500;
    color: #333;
}

.faq-question i {
    color: #666;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer p {
    padding: 15px 20px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.faq-item.active .faq-question {
    background: #5a6c7d;
    color: white;
}

.faq-item.active .faq-question span,
.faq-item.active .faq-question i {
    color: white;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .status-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .status-badge {
        margin-left: 0;
    }

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

    .upload-container {
        grid-template-columns: 1fr;
    }

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

    .step-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .history-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .history-status {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .verification-status,
    .verification-steps,
    .verification-form-container,
    .verification-history,
    .faq-section {
        padding: 20px;
    }

    .upload-box {
        height: 150px;
    }

    .upload-preview {
        height: 150px;
    }

    .form-actions {
        padding: 15px 20px;
    }
}

/* 通知弹窗样式 */
.notifications {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.notifications:hover {
    transform: scale(1.1);
}



/* 服务条款和隐私政策页面样式 */
.terms-content,
.privacy-content {
    max-height: 70vh;
    overflow-y: auto;
    padding: 20px 0;
}

.terms-section,
.privacy-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 10px;
    border-left: 4px solid #5a6c7d;
    transition: all 0.3s ease;
}

.terms-section:hover,
.privacy-section:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.terms-section h2,
.privacy-section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.terms-section h2 i,
.privacy-section h2 i {
    color: #5a6c7d;
    font-size: 1.1rem;
}

.terms-section h3,
.privacy-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #5a6c7d;
    margin: 20px 0 10px 0;
}

.terms-section p,
.privacy-section p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.terms-section ul,
.privacy-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.terms-section li,
.privacy-section li {
    color: #666;
    line-height: 1.6;
    margin-bottom: 8px;
}

.terms-section strong,
.privacy-section strong {
    color: #333;
    font-weight: 600;
}

.terms-footer,
.privacy-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.terms-actions,
.privacy-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.terms-actions .btn,
.privacy-actions .btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.9rem;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .terms-content,
    .privacy-content {
        max-height: 60vh;
    }
    
    .terms-section,
    .privacy-section {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .terms-section h2,
    .privacy-section h2 {
        font-size: 1.1rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .terms-actions,
    .privacy-actions {
        flex-direction: column;
    }
    
    .terms-actions .btn,
    .privacy-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .terms-content,
    .privacy-content {
        max-height: 50vh;
    }
    
    .terms-section,
    .privacy-section {
        padding: 12px;
    }
    
    .terms-section h2,
    .privacy-section h2 {
        font-size: 1rem;
    }
    
    .terms-section h3,
    .privacy-section h3 {
        font-size: 0.95rem;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
