?/* ��ҵ���̾����ƽ̨ - �ִ���ɫ���� V2 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    /* ��ɫ�� - רҵ���� */
    --primary-dark: #0f1a2f;
    --primary: #1a2c50;
    --primary-light: #2a3f75;
    --primary-lighter: #3c529b;
    
    /* ����ɫ */
    --secondary: #3498db;
    --secondary-light: #5dade2;
    --accent: #00c9ff;
    --accent-gradient: linear-gradient(135deg, #00c9ff 0%, #3498db 100%);
    
    /* ����ɫ */
    --bg-dark: #0c1525;
    --bg-primary: #121d33;
    --bg-secondary: #1a2a44;
    --bg-card: rgba(26, 42, 68, 0.8);
    --bg-card-hover: rgba(42, 63, 117, 0.6);
    
    /* ����ɫ */
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --text-muted: #7a8fb3;
    --text-light: #e0e9ff;
    
    /* ״̬ɫ */
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;
    --info: #3498db;
    --purple: #9b59b6;
    
    /* ��Ӱ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.5);
    
    /* Բ�� */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* ���� */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ����̬Ч�� */
    --glass-bg: rgba(26, 42, 68, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --backdrop-blur: blur(20px);
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-primary) 50%, var(--primary-dark) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 14px;
    background-attachment: fixed;
}

/* ȫ�ֹ����� */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ���ض��� */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.spinner {
    width: 80px;
    height: 80px;
    position: relative;
    animation: rotate 2s linear infinite;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

.spinner-circle:nth-child(2) {
    border-top-color: var(--secondary);
    animation-delay: -0.5s;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ��¼ҳ�� - �ִ���� */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1525 0%, #1a2c50 50%, #0f1a2f 100%);
}

/* �������� */
.background-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-circle {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(40px);
    opacity: 0.2;
    animation: float 20s infinite linear;
}

.gradient-circle:nth-child(1) {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.gradient-circle:nth-child(2) {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--secondary) 100%);
    bottom: -250px;
    right: -250px;
    animation-delay: -10s;
}

.gradient-circle:nth-child(3) {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--info) 0%, var(--accent) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, 100px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 50px) rotate(240deg);
    }
}

.auth-box {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-section {
    background: linear-gradient(135deg, 
        rgba(26, 44, 80, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 50%, 
        rgba(60, 82, 155, 0.4) 100%);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

.logo:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-section h1 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

/* ��ǩҳ - �ִ���� */
.auth-tabs {
    padding: 0 32px;
}

.tab-headers {
    display: flex;
    margin: 32px 0 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 4px;
    position: relative;
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
}

.tab-indicator {
    position: absolute;
    top: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    transition: var(--transition);
    z-index: 0;
    box-shadow: var(--shadow-sm);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn i {
    font-size: 18px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-light);
}

.tab-content {
    padding: 28px 0;
}

/* ���� - �ִ���� */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ע��������Ҳ��� */
.auth-form-register {
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ���е�form-row��ȷ�������У� */
.form-row:has(.form-group:only-child) {
    grid-template-columns: 1fr;
}

/* ��Ӧʽ��С��Ļ�ָ����� */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        max-width: 480px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-group label i {
    color: var(--accent);
    font-size: 16px;
}

.form-group input {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 4px rgba(0, 201, 255, 0.1),
        0 4px 20px rgba(0, 201, 255, 0.2);
    transform: translateY(-1px);
}

.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-sm);
}

.toggle-password:hover {
    color: var(--accent);
    background: rgba(0, 201, 255, 0.1);
}

.form-hint {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.1) 0%, 
        rgba(0, 201, 255, 0.1) 100%);
    border-left: 3px solid var(--accent);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.form-hint p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-hint i {
    color: var(--accent);
    font-size: 14px;
}

.form-hint strong {
    color: var(--warning);
    font-weight: 700;
}

/* ��ť - �ִ���� */
.btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--secondary) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(52, 152, 219, 0.3);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover::after {
    opacity: 0.5;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--primary-lighter) 0%, 
        var(--secondary) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, 
        var(--primary-lighter) 0%, 
        var(--secondary) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-info {
    background: linear-gradient(135deg, 
        var(--info) 0%, 
        var(--secondary-light) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.btn-logout {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.9) 0%, 
        rgba(192, 57, 43, 0.9) 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    backdrop-filter: blur(10px);
}

.btn-logout:hover {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 1) 0%, 
        rgba(192, 57, 43, 1) 100%);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(231, 76, 60, 0.3);
}

.auth-footer {
    padding: 24px 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* ���������� - �ִ���� */
.main-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* ����� - �ִ���� */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, 
        var(--primary-dark) 0%, 
        var(--primary) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-header .logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-welcome {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* ������˵� */
.sidebar-menu {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(0, 201, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.menu-item i {
    font-size: 18px;
    width: 24px;
    transition: var(--transition);
}

.menu-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu-item:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.menu-item.active {
    background: linear-gradient(90deg, 
        rgba(0, 201, 255, 0.15) 0%, 
        rgba(52, 152, 219, 0.1) 100%);
    color: var(--text-light);
    border-left: 3px solid var(--accent);
}

.menu-item.active i {
    color: var(--accent);
}

.menu-item.active::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--accent);
}

.menu-badge {
    padding: 4px 10px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 201, 255, 0.3);
}

/* ������ײ� */
.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-sm);
}

.user-details {
    flex: 1;
}

.username {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.user-role {
    font-size: 12px;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    background: linear-gradient(135deg, var(--purple) 0%, #8e44ad 100%);
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.role-user {
    background: linear-gradient(135deg, var(--info) 0%, #2980b9 100%);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* ���������� */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* �������� */
.top-nav {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.breadcrumb-item i {
    font-size: 16px;
}

.breadcrumb-item:hover {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* �������� - �Ż����ղ��� */
.content-area {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    position: relative;
}

.content-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 201, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ���ݿ�Ƭͨ����ʽ */
.content-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.content-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.1);
}

.content-card h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2 i {
    color: var(--accent);
    font-size: 22px;
}

/* ͳ�ƿ�Ƭ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card.stat-primary {
    border-left: 4px solid var(--accent);
}

.stat-card.stat-success {
    border-left: 4px solid var(--success);
}

.stat-card.stat-warning {
    border-left: 4px solid var(--warning);
}

.stat-card.stat-info {
    border-left: 4px solid var(--info);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-card.stat-primary .stat-icon {
    background: linear-gradient(135deg, 
        rgba(0, 201, 255, 0.2) 0%, 
        rgba(52, 152, 219, 0.1) 100%);
    color: var(--accent);
}

.stat-card.stat-success .stat-icon {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
}

.stat-card.stat-warning .stat-icon {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
}

.stat-card.stat-info .stat-icon {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-content p {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* ������ʽ */
.table-responsive {
    overflow-x: auto;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table thead {
    background: linear-gradient(135deg, 
        rgba(26, 42, 68, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 100%);
    backdrop-filter: blur(10px);
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.data-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ״̬���� - ����Բ�� */
.status-badge, .verify-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.status-badge {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.verify-badge {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* ��ҳ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 42, 68, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, 
        rgba(42, 63, 117, 0.8) 0%, 
        rgba(60, 82, 155, 0.6) 100%);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
    min-width: 180px;
    text-align: center;
}

/* ģ̬�� */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 21, 37, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.modal {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 
        var(--glass-shadow),
        0 0 100px rgba(0, 201, 255, 0.1);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-lg {
    max-width: 900px;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.modal-header h3 {
    font-size: 20px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: var(--accent);
    font-size: 22px;
}

.close-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.close-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: var(--error);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

/* ��Ϣ��ʾ */
.message {
    position: fixed;
    top: 32px;
    right: 32px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 300px;
    max-width: 400px;
    z-index: 1001;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        var(--glass-shadow),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message.success {
    border-left: 4px solid var(--success);
}

.message.error {
    border-left: 4px solid var(--error);
}

.message.info {
    border-left: 4px solid var(--info);
}

.message.warning {
    border-left: 4px solid var(--warning);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.message i {
    font-size: 20px;
}

.message.success i {
    color: var(--success);
}

.message.error i {
    color: var(--error);
}

.message.info i {
    color: var(--info);
}

.message.warning i {
    color: var(--warning);
}

.message span {
    flex: 1;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.message-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.message-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

/* ��Ӧʽ��� */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar-header h2,
    .user-welcome,
    .menu-item span,
    .username,
    .user-role,
    .breadcrumb-item span:not(.icon) {
        display: none;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-header .logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    
    .menu-item {
        justify-content: center;
        padding: 16px;
    }
    
    .user-info {
        justify-content: center;
        padding: 12px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .auth-box {
        max-width: 100%;
        margin: 20px;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .nav-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    
    .modal {
        max-width: 100%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-box {
        margin: 10px;
    }
    
    .logo-section {
        padding: 32px 20px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .logo-section h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .auth-tabs {
        padding: 0 20px;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .content-card {
        padding: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-content h3 {
        font-size: 24px;
    }
    
    .message {
        left: 16px;
        right: 16px;
        min-width: auto;
    }
}


/* �̾��б� - ������ɸѡ�����Ż� */
.dramas-list {
    position: relative;
}

.dramas-list .list-header {
    margin-bottom: 20px;
}

.dramas-list .list-header h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dramas-list .list-header h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ������ɸѡ��һ�� */
.dramas-list .list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* ��������ʽ */
.dramas-list .search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.dramas-list .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 16px;
    z-index: 1;
}

.dramas-list .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.dramas-list .search-box input::placeholder {
    color: var(--text-muted);
}

.dramas-list .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

/* ɸѡ��������ʽ */
.dramas-list .filter-select {
    padding: 10px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.dramas-list .filter-select:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.dramas-list .filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.dramas-list .filter-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
    padding: 10px;
}

/* ������Ϣ */
.data-info {
    padding: 12px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* �̾����ƺ�Ԫ��Ϣ */
.drama-name {
    max-width: 180px;
}

.drama-name strong {
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.drama-meta {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.pay-badge, .type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.pay-badge {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.type-badge {
    background: linear-gradient(135deg, 
        rgba(155, 89, 182, 0.2) 0%, 
        rgba(142, 68, 173, 0.1) 100%);
    color: var(--purple);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

/* �̾��� */
.drama-abstract {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 2px 0;
}

/* �½���Ϣ */
.chapter-info {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.15) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ״̬�����Ż� */
.status-badge.status-1 {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-badge.status-2 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.verify-badge.verify-0 {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.verify-badge.verify-1 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* ÿҳ��ʾѡ���� */
.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.page-size-selector span {
    color: var(--text-secondary);
    font-size: 14px;
}

.page-size-selector select {
    padding: 8px 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.page-size-selector select:hover {
    border-color: var(--secondary);
}

.page-size-selector select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .dramas-list .list-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dramas-list .search-box {
        width: 100%;
        min-width: 100%;
    }
    
    .dramas-list .filter-select {
        width: 100%;
    }
    
    .dramas-list .list-actions-row .btn {
        width: 100%;
    }
    
    .data-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ����ץȡҳ����ʽ�Ż� */
.crawl-panel {
    position: relative;
}

.crawl-panel h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.crawl-panel h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ץȡ�������� */
.crawl-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.control-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.control-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
}

.control-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.15);
}

.control-card:hover::before {
    opacity: 1;
}

.control-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-card h3 i {
    color: var(--accent);
    font-size: 20px;
}

.control-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ������������ */
.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.form-inline .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

.form-inline .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.form-inline .form-control {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.form-inline .form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.form-inline .form-control:hover {
    border-color: var(--secondary);
}

.form-inline select.form-control {
    cursor: pointer;
}

.form-inline select.form-control option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

.form-inline .btn {
    flex-shrink: 0;
    min-width: 140px;
}

/* ץȡ������� */
.crawl-results {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 32px;
}

.crawl-results h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crawl-results h3 i {
    color: var(--accent);
    font-size: 20px;
}

.results-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--info);
    transition: var(--transition);
}

.result-item.success::before {
    background: linear-gradient(180deg, var(--success) 0%, #27ae60 100%);
}

.result-item.error::before,
.result-item.failed::before {
    background: linear-gradient(180deg, var(--error) 0%, #c0392b 100%);
}

.result-item:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateX(4px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-page {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
}

.result-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-status.success {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.result-status.error,
.result-status.failed {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.2) 0%, 
        rgba(192, 57, 43, 0.1) 100%);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.result-message {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.result-details {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-details::before {
    content: '?';
    color: var(--accent);
    font-weight: bold;
}

/* ϵͳ��Ϣҳ���Ż� */
.system-info h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-info h2 i {
    color: var(--accent);
    font-size: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.15);
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 i {
    color: var(--accent);
    font-size: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
}

.system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .crawl-controls {
        grid-template-columns: 1fr;
    }
    
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-inline .form-group {
        min-width: 100%;
    }
    
    .form-inline .btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .system-actions {
        flex-direction: column;
    }
    
    .system-actions .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .control-card {
        padding: 20px;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ��Ʒ����ҳ����ʽ */
.projects-panel {
    position: relative;
}

.projects-panel .list-header {
    margin-bottom: 20px;
}

.projects-panel .list-header h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-panel .list-header h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ��Ʒ��������ʽ */
.projects-panel .search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.projects-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 16px;
    z-index: 1;
}

.projects-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.projects-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.projects-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

/* ������ - һ����ʾ */
.list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.list-actions-row .filter-select {
    padding: 10px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.list-actions-row .filter-select:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.list-actions-row .filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.list-actions-row .filter-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

/* ��Ʒ���ͻ��� - ����Բ�� */
.type-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.type-badge.type-1 {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.2) 0%, 
        rgba(192, 57, 43, 0.1) 100%);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.type-badge.type-2 {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.type-badge.type-3 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* �����ı���ʽ */
.link-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.link-text:hover {
    color: var(--secondary-light) !important;
    transform: translateX(2px);
}

/* �����ؼ���ʽ������ģ̬���е� select�� */
.form-control {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.form-control:hover {
    border-color: var(--secondary);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .list-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .list-actions-row .filter-select {
        width: 100%;
    }
    
    .list-actions-row .btn {
        width: 100%;
    }
}


/* ��Ȩ��ͨ��״̬ - ��Ŀ��ʽ */
.copyright-rejected {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4) !important;
    animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.8);
    }
}

/* ��Ȩ��ͨ��������ʽ */
.html-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

.html-content p {
    margin-bottom: 8px;
}

.html-content ul, .html-content ol {
    margin-left: 20px;
    margin-bottom: 8px;
}

.html-content li {
    margin-bottom: 4px;
}

.html-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ��Ȩ�ļ����� */
.copyright-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.copyright-file-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.copyright-file-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.copyright-file-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.copyright-file-item .file-info {
    padding: 8px 12px;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.copyright-file-item .file-name {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copyright-file-item .upload-time {
    color: var(--text-muted);
    font-size: 11px;
}

/* ��Ȩ��ͨ��״̬��ʽ��ǿ */
.copyright-rejected {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%) !important;
    color: white !important;
    font-weight: 600;
    animation: pulse-red 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(231, 76, 60, 0.8);
    }
}

/* ��Ȩ��ͨ�����鰴ť��ʽ */
.btn-danger-detail {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-danger-detail:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.6);
    transform: translateY(-2px);
}

/* ��Ȩ״̬����ͳһ��С */
.status-badge {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
}

/* ͳһ����С��ť�Ĵ�С */
.btn-sm {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    gap: 4px;
}

.btn-info {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    gap: 4px;
}

/* ��Ȩ״̬����ʽ�Ż� */
.data-table td:nth-child(7) {
    min-width: 450px;
    white-space: nowrap;
}

/* ȷ����ť���ֲ����� */
.btn-sm {
    white-space: nowrap !important;
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* Ա��������ʽ */
.staff-panel {
    padding: 24px;
}

.role-admin {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.role-user {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.status-active {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

/* ͳһ������ť��ʽ */
.btn-action {
    height: 40px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    min-width: 120px;
}

/* ȷ��list-actions-row�еİ�ť��һ�� */
.list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* ��Ʒ״̬��ʽ */
.status-1 {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.status-2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.status-3 {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-4 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.status-5 {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}



/* ��Ƭ״̬��ʽ */
.online-waiting {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.online-live {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

/* ͳһ�����״̬��ʽ */
.status-auditing {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.status-pass {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-reject {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

/* ״̬�����ʾ - ���պ��򲼾� */
.status-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    width: 100%;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    line-height: 1.4;
}

.status-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 28px;
    text-align: right;
    opacity: 0.75;
    flex-shrink: 0;
}

.status-badge-compact {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

/* ���ջ��¼̳�״̬��ʽ */
.status-badge-compact.status-auditing {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.85) 0%, rgba(230, 126, 34, 0.85) 100%);
    color: white;
    border: 1px solid rgba(243, 156, 18, 0.25);
    box-shadow: 0 1px 2px rgba(243, 156, 18, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-auditing:hover {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.95) 0%, rgba(230, 126, 34, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-pass {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.85) 0%, rgba(39, 174, 96, 0.85) 100%);
    color: white;
    border: 1px solid rgba(46, 204, 113, 0.25);
    box-shadow: 0 1px 2px rgba(46, 204, 113, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-pass:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-reject {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.85) 0%, rgba(192, 57, 43, 0.85) 100%);
    color: white;
    border: 1px solid rgba(231, 76, 60, 0.25);
    box-shadow: 0 1px 2px rgba(231, 76, 60, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-reject:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95) 0%, rgba(192, 57, 43, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-pending {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(41, 128, 185, 0.85) 100%);
    color: white;
    border: 1px solid rgba(52, 152, 219, 0.25);
    box-shadow: 0 1px 2px rgba(52, 152, 219, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-pending:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.25);
    transform: translateY(-1px);
}

/* ��ͬ״̬��ʽ��contract_status�� */
.contract-signed {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.contract-unknown {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.contract-unsigned {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

/* �������Ӱ�ť��ʽ */
.btn-copy-link {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    border: none;
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.btn-copy-link:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.btn-copy-link:active {
    transform: translateY(0);
}

/* �ϴ���Ʒ���� - ���Ҳ��� */
.upload-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    grid-template-areas: 
        "left right"
        "extra extra"
        "actions actions";
}

.upload-form-grid .form-column:first-child {
    grid-area: left;
}

.upload-form-grid .form-column:last-child {
    grid-area: right;
}

.upload-form-grid .form-actions {
    grid-area: actions;
    display: flex;
    gap: 12px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-form-grid .form-actions .btn {
    flex: 1;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ��Ӧʽ��С��Ļ�ָ����в��� */
@media (max-width: 768px) {
    .upload-form-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "left"
            "right"
            "actions";
    }
}

/* ״̬�е�Ԫ��������ʽ */
.data-table td:has(.status-group) {
    padding: 8px 12px;
    vertical-align: middle;
}

/* ������hoverʱ״̬���µ�Ч�� */
.data-table tbody tr:hover .status-badge-compact {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* �̾��б������п��Ż� */
.dramas-list .data-table th:nth-child(1) { width: 60px; } /* ��� */
.dramas-list .data-table th:nth-child(2) { width: 80px; } /* ID */
.dramas-list .data-table th:nth-child(3) { width: 180px; } /* �̾����� */
.dramas-list .data-table th:nth-child(4) { width: 70px; } /* ���� */
.dramas-list .data-table th:nth-child(5) { width: 150px; } /* ����ʱ�� */
.dramas-list .data-table th:nth-child(6) { width: 75px; } /* �½� */
.dramas-list .data-table th:nth-child(7) { width: 135px; } /* ���״̬ */
.dramas-list .data-table th:nth-child(8) { width: 240px; } /* ���� */

/* �����б������п��Ż� */
.reviews-panel .data-table th:nth-child(1) { width: 80px; } /* ��� */
.reviews-panel .data-table th:nth-child(2) { width: 150px; } /* �̾�ID */
.reviews-panel .data-table th:nth-child(3) { min-width: 200px; } /* �̾����� */
.reviews-panel .data-table th:nth-child(4) { width: 120px; } /* �����û� */
.reviews-panel .data-table th:nth-child(5) { width: 180px; } /* ����ʱ�� */

.reviews-panel .data-table td:nth-child(2) {
    padding-right: 20px; /* �̾�ID�Ҳ����Ӽ�� */
}

.reviews-panel .data-table td:nth-child(3) {
    padding-left: 20px; /* �̾�����������Ӽ�� */
}

/* ���״̬����ʽ */
.dramas-list .data-table td:nth-child(7) {
    padding: 10px 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* ��������ʽ */
.dramas-list .data-table td:nth-child(7) {
    padding: 10px 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* �̾��б��и��Ż� */
.dramas-list .data-table tbody tr {
    height: auto;
}

.dramas-list .data-table td {
    vertical-align: middle;
    padding: 12px 10px;
}

/* ��Ʒ״̬��ʽ */
.status-pending {
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.2) 0%, rgba(127, 140, 141, 0.1) 100%);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

.status-processing {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(41, 128, 185, 0.1) 100%);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(39, 174, 96, 0.1) 100%);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-reupload {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(230, 126, 34, 0.1) 100%);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

/* �����¼��������ʽ */
.tasks-panel .search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.tasks-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.tasks-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.tasks-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.tasks-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* �����б���ʽ */
.reviews-panel .search-box {
    position: relative;
}

.reviews-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.reviews-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.reviews-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.reviews-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* ���ڷ�Χѡ���� */
.date-range-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 6px 12px;
}

.date-input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
}

.date-input:focus {
    outline: none;
    color: var(--accent);
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.date-separator {
    color: var(--text-muted);
    font-size: 12px;
    padding: 0 4px;
}

/* �����������˳���¼��ť��ʽ */
.nav-actions .btn-logout {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.85) 0%, 
        rgba(192, 57, 43, 0.85) 100%);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: white;
}

.nav-actions .btn-logout:hover {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 1) 0%, 
        rgba(192, 57, 43, 1) 100%);?/* ��ҵ���̾����ƽ̨ - �ִ���ɫ���� V2 */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

:root {
    /* ��ɫ�� - רҵ���� */
    --primary-dark: #0f1a2f;
    --primary: #1a2c50;
    --primary-light: #2a3f75;
    --primary-lighter: #3c529b;
    
    /* ����ɫ */
    --secondary: #3498db;
    --secondary-light: #5dade2;
    --accent: #00c9ff;
    --accent-gradient: linear-gradient(135deg, #00c9ff 0%, #3498db 100%);
    
    /* ����ɫ */
    --bg-dark: #0c1525;
    --bg-primary: #121d33;
    --bg-secondary: #1a2a44;
    --bg-card: rgba(26, 42, 68, 0.8);
    --bg-card-hover: rgba(42, 63, 117, 0.6);
    
    /* ����ɫ */
    --text-primary: #ffffff;
    --text-secondary: #b0c4de;
    --text-muted: #7a8fb3;
    --text-light: #e0e9ff;
    
    /* ״̬ɫ */
    --success: #2ecc71;
    --warning: #f39c12;
    --error: #e74c3c;
    --info: #3498db;
    --purple: #9b59b6;
    
    /* ��Ӱ */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.5);
    
    /* Բ�� */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* ���� */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* ����̬Ч�� */
    --glass-bg: rgba(26, 42, 68, 0.4);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    --backdrop-blur: blur(20px);
}

body {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-primary) 50%, var(--primary-dark) 100%);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    font-size: 14px;
    background-attachment: fixed;
}

/* ȫ�ֹ����� */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary);
}

/* ���ض��� */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    backdrop-filter: blur(10px);
}

.spinner {
    width: 80px;
    height: 80px;
    position: relative;
    animation: rotate 2s linear infinite;
}

.spinner-circle {
    width: 100%;
    height: 100%;
    position: absolute;
    border-radius: var(--radius-full);
    border: 3px solid transparent;
    border-top-color: var(--accent);
    animation: spin 1s ease-in-out infinite;
}

.spinner-circle:nth-child(2) {
    border-top-color: var(--secondary);
    animation-delay: -0.5s;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 24px;
    font-size: 16px;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* ��¼ҳ�� - �ִ���� */
.auth-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0c1525 0%, #1a2c50 50%, #0f1a2f 100%);
}

/* �������� */
.background-animation {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.gradient-circle {
    position: absolute;
    border-radius: var(--radius-full);
    filter: blur(40px);
    opacity: 0.2;
    animation: float 20s infinite linear;
}

.gradient-circle:nth-child(1) {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    top: -300px;
    left: -300px;
    animation-delay: 0s;
}

.gradient-circle:nth-child(2) {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--purple) 0%, var(--secondary) 100%);
    bottom: -250px;
    right: -250px;
    animation-delay: -10s;
}

.gradient-circle:nth-child(3) {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--info) 0%, var(--accent) 100%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -5s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(100px, 100px) rotate(120deg);
    }
    66% {
        transform: translate(-100px, 50px) rotate(240deg);
    }
}

.auth-box {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--glass-shadow);
    width: 100%;
    max-width: 680px;
    overflow: hidden;
    position: relative;
    z-index: 1;
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.logo-section {
    background: linear-gradient(135deg, 
        rgba(26, 44, 80, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 50%, 
        rgba(60, 82, 155, 0.4) 100%);
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.logo-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
}

.logo {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    transition: var(--transition-slow);
    object-fit: cover;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
}

.logo:hover {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.logo-section h1 {
    font-size: 28px;
    margin-bottom: 12px;
    font-weight: 700;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.5px;
}

.subtitle {
    font-size: 15px;
    color: var(--text-secondary);
    position: relative;
    z-index: 1;
    font-weight: 300;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

/* ��ǩҳ - �ִ���� */
.auth-tabs {
    padding: 0 32px;
}

.tab-headers {
    display: flex;
    margin: 32px 0 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-lg);
    padding: 4px;
    position: relative;
    backdrop-filter: blur(10px);
}

.tab-btn {
    flex: 1;
    padding: 16px 24px;
    background: none;
    border: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
    border-radius: var(--radius-md);
}

.tab-indicator {
    position: absolute;
    top: 4px;
    height: calc(100% - 8px);
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--secondary) 100%);
    border-radius: var(--radius-md);
    transition: var(--transition);
    z-index: 0;
    box-shadow: var(--shadow-sm);
}

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn i {
    font-size: 18px;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--text-light);
}

.tab-content {
    padding: 28px 0;
}

/* ���� - �ִ���� */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ע��������Ҳ��� */
.auth-form-register {
    gap: 18px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ���е�form-row��ȷ�������У� */
.form-row:has(.form-group:only-child) {
    grid-template-columns: 1fr;
}

/* ��Ӧʽ��С��Ļ�ָ����� */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        max-width: 480px;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.form-group label i {
    color: var(--accent);
    font-size: 16px;
}

.form-group input {
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 15px;
    transition: var(--transition);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 4px rgba(0, 201, 255, 0.1),
        0 4px 20px rgba(0, 201, 255, 0.2);
    transform: translateY(-1px);
}

.password-input {
    position: relative;
    width: 100%;
}

.password-input input {
    width: 100%;
}

.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-sm);
}

.toggle-password:hover {
    color: var(--accent);
    background: rgba(0, 201, 255, 0.1);
}

.form-hint {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.1) 0%, 
        rgba(0, 201, 255, 0.1) 100%);
    border-left: 3px solid var(--accent);
    padding: 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-light);
    backdrop-filter: blur(5px);
}

.form-hint p {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-hint i {
    color: var(--accent);
    font-size: 14px;
}

.form-hint strong {
    color: var(--warning);
    font-weight: 700;
}

/* ��ť - �ִ���� */
.btn {
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary-lighter) 0%, var(--secondary) 100%);
    border: none;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
    backdrop-filter: blur(5px);
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(52, 152, 219, 0.3);
}

.btn:hover::before {
    opacity: 1;
}

.btn:hover::after {
    opacity: 0.5;
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--primary-lighter) 0%, 
        var(--secondary) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-success {
    background: linear-gradient(135deg, 
        var(--primary-lighter) 0%, 
        var(--secondary) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-info {
    background: linear-gradient(135deg, 
        var(--info) 0%, 
        var(--secondary-light) 100%);
    box-shadow: 
        var(--shadow-md),
        0 4px 20px rgba(52, 152, 219, 0.2);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-light);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: var(--radius-sm);
}

.btn-logout {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.9) 0%, 
        rgba(192, 57, 43, 0.9) 100%);
    border: 1px solid rgba(231, 76, 60, 0.3);
    backdrop-filter: blur(10px);
}

.btn-logout:hover {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 1) 0%, 
        rgba(192, 57, 43, 1) 100%);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(231, 76, 60, 0.3);
}

.auth-footer {
    padding: 24px 32px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

/* ���������� - �ִ���� */
.main-container {
    display: flex;
    min-height: 100vh;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

/* ����� - �ִ���� */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, 
        var(--primary-dark) 0%, 
        var(--primary) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 201, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
}

.sidebar-header .logo {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sidebar-header h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 8px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--text-light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.user-welcome {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.8;
}

/* ������˵� */
.sidebar-menu {
    flex: 1;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    background: transparent;
    border: none;
    text-align: left;
}

.menu-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, 
        rgba(0, 201, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.menu-item i {
    font-size: 18px;
    width: 24px;
    transition: var(--transition);
}

.menu-item span {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
}

.menu-item:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}

.menu-item:hover::before {
    opacity: 1;
}

.menu-item:hover i {
    color: var(--accent);
    transform: scale(1.1);
}

.menu-item.active {
    background: linear-gradient(90deg, 
        rgba(0, 201, 255, 0.15) 0%, 
        rgba(52, 152, 219, 0.1) 100%);
    color: var(--text-light);
    border-left: 3px solid var(--accent);
}

.menu-item.active i {
    color: var(--accent);
}

.menu-item.active::after {
    content: '';
    position: absolute;
    right: 16px;
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: var(--radius-full);
    box-shadow: 0 0 10px var(--accent);
}

.menu-badge {
    padding: 4px 10px;
    background: var(--accent);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 201, 255, 0.3);
}

/* ������ײ� */
.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--accent) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: var(--shadow-sm);
}

.user-details {
    flex: 1;
}

.username {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 4px;
}

.user-role {
    font-size: 12px;
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.role-admin {
    background: linear-gradient(135deg, var(--purple) 0%, #8e44ad 100%);
    box-shadow: 0 2px 8px rgba(155, 89, 182, 0.3);
}

.role-user {
    background: linear-gradient(135deg, var(--info) 0%, #2980b9 100%);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

/* ���������� */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

/* �������� */
.top-nav {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
}

.breadcrumb-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.breadcrumb-item i {
    font-size: 16px;
}

.breadcrumb-item:hover {
    color: var(--text-light);
}

.breadcrumb-item.active {
    color: var(--accent);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* �������� - �Ż����ղ��� */
.content-area {
    flex: 1;
    padding: 20px 24px;
    overflow-y: auto;
    position: relative;
}

.content-area::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(0, 201, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(52, 152, 219, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ���ݿ�Ƭͨ����ʽ */
.content-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--glass-shadow);
    transition: var(--transition);
}

.content-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.1);
}

.content-card h2 {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.content-card h2 i {
    color: var(--accent);
    font-size: 22px;
}

/* ͳ�ƿ�Ƭ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card.stat-primary {
    border-left: 4px solid var(--accent);
}

.stat-card.stat-success {
    border-left: 4px solid var(--success);
}

.stat-card.stat-warning {
    border-left: 4px solid var(--warning);
}

.stat-card.stat-info {
    border-left: 4px solid var(--info);
}

.stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.stat-card.stat-primary .stat-icon {
    background: linear-gradient(135deg, 
        rgba(0, 201, 255, 0.2) 0%, 
        rgba(52, 152, 219, 0.1) 100%);
    color: var(--accent);
}

.stat-card.stat-success .stat-icon {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
}

.stat-card.stat-warning .stat-icon {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
}

.stat-card.stat-info .stat-icon {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
}

.stat-content h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-content p {
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0.9;
}

/* ������ʽ */
.table-responsive {
    overflow-x: auto;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.data-table thead {
    background: linear-gradient(135deg, 
        rgba(26, 42, 68, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 100%);
    backdrop-filter: blur(10px);
}

.data-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.data-table tbody tr {
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.data-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* ״̬���� - ����Բ�� */
.status-badge, .verify-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 80px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.status-badge {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.verify-badge {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* ��ҳ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-top: 24px;
}

.pagination-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, 
        rgba(26, 42, 68, 0.8) 0%, 
        rgba(42, 63, 117, 0.6) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.pagination-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, 
        rgba(42, 63, 117, 0.8) 0%, 
        rgba(60, 82, 155, 0.6) 100%);
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-info {
    color: var(--text-secondary);
    font-size: 14px;
    min-width: 180px;
    text-align: center;
}

/* ģ̬�� */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(12, 21, 37, 0.9);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(20px);
    }
}

.modal {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    box-shadow: 
        var(--glass-shadow),
        0 0 100px rgba(0, 201, 255, 0.1);
    width: 100%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    animation: modalSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-lg {
    max-width: 900px;
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.modal-header h3 {
    font-size: 20px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    color: var(--accent);
    font-size: 22px;
}

.close-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.close-btn:hover {
    background: rgba(231, 76, 60, 0.2);
    color: var(--error);
    transform: rotate(90deg);
}

.modal-body {
    padding: 32px;
}

/* ��Ϣ��ʾ */
.message {
    position: fixed;
    top: 32px;
    right: 32px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 300px;
    max-width: 400px;
    z-index: 1001;
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        var(--glass-shadow),
        0 8px 32px rgba(0, 0, 0, 0.3);
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.message.success {
    border-left: 4px solid var(--success);
}

.message.error {
    border-left: 4px solid var(--error);
}

.message.info {
    border-left: 4px solid var(--info);
}

.message.warning {
    border-left: 4px solid var(--warning);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.message i {
    font-size: 20px;
}

.message.success i {
    color: var(--success);
}

.message.error i {
    color: var(--error);
}

.message.info i {
    color: var(--info);
}

.message.warning i {
    color: var(--warning);
}

.message span {
    flex: 1;
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.5;
}

.message-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.message-close:hover {
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

/* ��Ӧʽ��� */
@media (max-width: 1024px) {
    .sidebar {
        width: 80px;
    }
    
    .sidebar-header h2,
    .user-welcome,
    .menu-item span,
    .username,
    .user-role,
    .breadcrumb-item span:not(.icon) {
        display: none;
    }
    
    .sidebar-header {
        padding: 20px;
    }
    
    .sidebar-header .logo {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
    }
    
    .menu-item {
        justify-content: center;
        padding: 16px;
    }
    
    .user-info {
        justify-content: center;
        padding: 12px;
    }
    
    .user-avatar {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .nav-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .content-area {
        padding: 20px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .auth-box {
        max-width: 100%;
        margin: 20px;
    }
    
    .tab-headers {
        flex-direction: column;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .top-nav {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    
    .nav-actions {
        flex-direction: row;
        width: 100%;
        justify-content: flex-end;
    }
    
    .modal {
        max-width: 100%;
        margin: 20px;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 10px;
    }
    
    .auth-box {
        margin: 10px;
    }
    
    .logo-section {
        padding: 32px 20px;
    }
    
    .logo {
        width: 70px;
        height: 70px;
    }
    
    .logo-section h1 {
        font-size: 24px;
    }
    
    .subtitle {
        font-size: 14px;
    }
    
    .auth-tabs {
        padding: 0 20px;
    }
    
    .content-area {
        padding: 16px;
    }
    
    .content-card {
        padding: 16px;
    }
    
    .stat-card {
        padding: 16px;
    }
    
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .stat-content h3 {
        font-size: 24px;
    }
    
    .message {
        left: 16px;
        right: 16px;
        min-width: auto;
    }
}


/* �̾��б� - ������ɸѡ�����Ż� */
.dramas-list {
    position: relative;
}

.dramas-list .list-header {
    margin-bottom: 20px;
}

.dramas-list .list-header h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dramas-list .list-header h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ������ɸѡ��һ�� */
.dramas-list .list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

/* ��������ʽ */
.dramas-list .search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.dramas-list .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 16px;
    z-index: 1;
}

.dramas-list .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.dramas-list .search-box input::placeholder {
    color: var(--text-muted);
}

.dramas-list .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

/* ɸѡ��������ʽ */
.dramas-list .filter-select {
    padding: 10px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 120px;
}

.dramas-list .filter-select:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.dramas-list .filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.dramas-list .filter-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
    padding: 10px;
}

/* ������Ϣ */
.data-info {
    padding: 12px 20px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.data-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* �̾����ƺ�Ԫ��Ϣ */
.drama-name {
    max-width: 180px;
}

.drama-name strong {
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
    font-size: 13px;
    line-height: 1.4;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.drama-meta {
    display: flex;
    gap: 8px;
    margin-top: 6px;
}

.pay-badge, .type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
}

.pay-badge {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.type-badge {
    background: linear-gradient(135deg, 
        rgba(155, 89, 182, 0.2) 0%, 
        rgba(142, 68, 173, 0.1) 100%);
    color: var(--purple);
    border: 1px solid rgba(155, 89, 182, 0.3);
}

/* �̾��� */
.drama-abstract {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.5;
    white-space: normal;
    word-wrap: break-word;
    word-break: keep-all;
    overflow-wrap: break-word;
    padding: 2px 0;
}

/* �½���Ϣ */
.chapter-info {
    display: inline-block;
    padding: 5px 12px;
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.15) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(52, 152, 219, 0.2);
}

/* ״̬�����Ż� */
.status-badge.status-1 {
    background: linear-gradient(135deg, 
        rgba(52, 152, 219, 0.2) 0%, 
        rgba(41, 128, 185, 0.1) 100%);
    color: var(--info);
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-badge.status-2 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.verify-badge.verify-0 {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.verify-badge.verify-1 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* ÿҳ��ʾѡ���� */
.page-size-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
}

.page-size-selector span {
    color: var(--text-secondary);
    font-size: 14px;
}

.page-size-selector select {
    padding: 8px 12px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.page-size-selector select:hover {
    border-color: var(--secondary);
}

.page-size-selector select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .dramas-list .list-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .dramas-list .search-box {
        width: 100%;
        min-width: 100%;
    }
    
    .dramas-list .filter-select {
        width: 100%;
    }
    
    .dramas-list .list-actions-row .btn {
        width: 100%;
    }
    
    .data-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ����ץȡҳ����ʽ�Ż� */
.crawl-panel {
    position: relative;
}

.crawl-panel h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.crawl-panel h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ץȡ�������� */
.crawl-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.control-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.control-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--secondary) 100%);
    opacity: 0;
    transition: var(--transition);
}

.control-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.15);
}

.control-card:hover::before {
    opacity: 1;
}

.control-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-card h3 i {
    color: var(--accent);
    font-size: 20px;
}

.control-card > p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.5;
}

/* ������������ */
.form-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-end;
}

.form-inline .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 140px;
}

.form-inline .form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

.form-inline .form-control {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.form-inline .form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.form-inline .form-control:hover {
    border-color: var(--secondary);
}

.form-inline select.form-control {
    cursor: pointer;
}

.form-inline select.form-control option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

.form-inline .btn {
    flex-shrink: 0;
    min-width: 140px;
}

/* ץȡ������� */
.crawl-results {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 32px;
}

.crawl-results h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crawl-results h3 i {
    color: var(--accent);
    font-size: 20px;
}

.results-table {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.result-item {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 16px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.result-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--info);
    transition: var(--transition);
}

.result-item.success::before {
    background: linear-gradient(180deg, var(--success) 0%, #27ae60 100%);
}

.result-item.error::before,
.result-item.failed::before {
    background: linear-gradient(180deg, var(--error) 0%, #c0392b 100%);
}

.result-item:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateX(4px);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.result-page {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-light);
}

.result-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-status.success {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.result-status.error,
.result-status.failed {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.2) 0%, 
        rgba(192, 57, 43, 0.1) 100%);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.result-message {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 6px;
    line-height: 1.5;
}

.result-details {
    color: var(--text-muted);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.result-details::before {
    content: '?';
    color: var(--accent);
    font-weight: bold;
}

/* ϵͳ��Ϣҳ���Ż� */
.system-info h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.system-info h2 i {
    color: var(--accent);
    font-size: 24px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.info-card {
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        var(--shadow-lg),
        0 8px 32px rgba(0, 201, 255, 0.15);
}

.info-card h3 {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.info-card h3 i {
    color: var(--accent);
    font-size: 20px;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: 600;
    color: var(--text-light);
}

.system-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 24px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .crawl-controls {
        grid-template-columns: 1fr;
    }
    
    .form-inline {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-inline .form-group {
        min-width: 100%;
    }
    
    .form-inline .btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .system-actions {
        flex-direction: column;
    }
    
    .system-actions .btn {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .control-card {
        padding: 20px;
    }
    
    .result-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}


/* ��Ʒ����ҳ����ʽ */
.projects-panel {
    position: relative;
}

.projects-panel .list-header {
    margin-bottom: 20px;
}

.projects-panel .list-header h2 {
    font-size: 22px;
    color: var(--text-light);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-panel .list-header h2 i {
    color: var(--accent);
    font-size: 24px;
}

/* ��Ʒ��������ʽ */
.projects-panel .search-box {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.projects-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 16px;
    z-index: 1;
}

.projects-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
}

.projects-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.projects-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

/* ������ - һ����ʾ */
.list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.list-actions-row .filter-select {
    padding: 10px 16px;
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.list-actions-row .filter-select:hover {
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.05);
}

.list-actions-row .filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.list-actions-row .filter-select option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

/* ��Ʒ���ͻ��� - ����Բ�� */
.type-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 70px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(5px);
}

.type-badge.type-1 {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.2) 0%, 
        rgba(192, 57, 43, 0.1) 100%);
    color: var(--error);
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.type-badge.type-2 {
    background: linear-gradient(135deg, 
        rgba(243, 156, 18, 0.2) 0%, 
        rgba(241, 196, 15, 0.1) 100%);
    color: var(--warning);
    border: 1px solid rgba(243, 156, 18, 0.3);
}

.type-badge.type-3 {
    background: linear-gradient(135deg, 
        rgba(46, 204, 113, 0.2) 0%, 
        rgba(39, 174, 96, 0.1) 100%);
    color: var(--success);
    border: 1px solid rgba(46, 204, 113, 0.3);
}

/* �����ı���ʽ */
.link-text {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.link-text:hover {
    color: var(--secondary-light) !important;
    transform: translateX(2px);
}

/* �����ؼ���ʽ������ģ̬���е� select�� */
.form-control {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    transition: var(--transition);
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.form-control:hover {
    border-color: var(--secondary);
}

select.form-control {
    cursor: pointer;
}

select.form-control option {
    background: var(--primary-dark);
    color: var(--text-primary);
}

/* ��Ӧʽ�Ż� */
@media (max-width: 768px) {
    .list-actions-row {
        flex-direction: column;
        align-items: stretch;
    }
    
    .list-actions-row .filter-select {
        width: 100%;
    }
    
    .list-actions-row .btn {
        width: 100%;
    }
}


/* ��Ȩ��ͨ��״̬ - ��Ŀ��ʽ */
.copyright-rejected {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: #ffffff !important;
    font-weight: bold !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4) !important;
    animation: pulse-red 2s ease-in-out infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.4);
    }
    50% {
        box-shadow: 0 4px 16px rgba(231, 76, 60, 0.8);
    }
}

/* ��Ȩ��ͨ��������ʽ */
.html-content {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 14px;
}

.html-content p {
    margin-bottom: 8px;
}

.html-content ul, .html-content ol {
    margin-left: 20px;
    margin-bottom: 8px;
}

.html-content li {
    margin-bottom: 4px;
}

.html-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ��Ȩ�ļ����� */
.copyright-files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 12px;
}

.copyright-file-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.copyright-file-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.copyright-file-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.copyright-file-item .file-info {
    padding: 8px 12px;
    background: var(--bg-primary);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.copyright-file-item .file-name {
    color: var(--text-light);
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copyright-file-item .upload-time {
    color: var(--text-muted);
    font-size: 11px;
}

/* ��Ȩ��ͨ��״̬��ʽ��ǿ */
.copyright-rejected {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%) !important;
    color: white !important;
    font-weight: 600;
    animation: pulse-red 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 20px rgba(231, 76, 60, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(231, 76, 60, 0.8);
    }
}

/* ��Ȩ��ͨ�����鰴ť��ʽ */
.btn-danger-detail {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%) !important;
    color: white !important;
    border: none !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.btn-danger-detail:hover {
    background: linear-gradient(135deg, #c0392b 0%, #a93226 100%) !important;
    box-shadow: 0 6px 16px rgba(231, 76, 60, 0.6);
    transform: translateY(-2px);
}

/* ��Ȩ״̬����ͳһ��С */
.status-badge {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
}

/* ͳһ����С��ť�Ĵ�С */
.btn-sm {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    gap: 4px;
}

.btn-info {
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    gap: 4px;
}

/* ��Ȩ״̬����ʽ�Ż� */
.data-table td:nth-child(7) {
    min-width: 450px;
    white-space: nowrap;
}

/* ȷ����ť���ֲ����� */
.btn-sm {
    white-space: nowrap !important;
}

.btn-success {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.4);
}

/* Ա��������ʽ */
.staff-panel {
    padding: 24px;
}

.role-admin {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.role-user {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.status-active {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-disabled {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    border: none;
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

/* ͳһ������ť��ʽ */
.btn-action {
    height: 40px !important;
    padding: 0 20px !important;
    font-size: 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    min-width: 120px;
}

/* ȷ��list-actions-row�еİ�ť��һ�� */
.list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}

/* ��Ʒ״̬��ʽ */
.status-1 {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

.status-2 {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.status-3 {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-4 {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.status-5 {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

/* ��Ƭ״̬��ʽ */
.online-waiting {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.online-live {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

/* ͳһ�����״̬��ʽ */
.status-auditing {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.status-pass {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.status-reject {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

/* ״̬�����ʾ - ���պ��򲼾� */
.status-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 0;
    width: 100%;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: flex-start;
    line-height: 1.4;
}

.status-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 28px;
    text-align: right;
    opacity: 0.75;
    flex-shrink: 0;
}

.status-badge-compact {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    backdrop-filter: blur(5px);
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

/* ���ջ��¼̳�״̬��ʽ */
.status-badge-compact.status-auditing {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.85) 0%, rgba(230, 126, 34, 0.85) 100%);
    color: white;
    border: 1px solid rgba(243, 156, 18, 0.25);
    box-shadow: 0 1px 2px rgba(243, 156, 18, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-auditing:hover {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.95) 0%, rgba(230, 126, 34, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(243, 156, 18, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-pass {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.85) 0%, rgba(39, 174, 96, 0.85) 100%);
    color: white;
    border: 1px solid rgba(46, 204, 113, 0.25);
    box-shadow: 0 1px 2px rgba(46, 204, 113, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-pass:hover {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.95) 0%, rgba(39, 174, 96, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(46, 204, 113, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-reject {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.85) 0%, rgba(192, 57, 43, 0.85) 100%);
    color: white;
    border: 1px solid rgba(231, 76, 60, 0.25);
    box-shadow: 0 1px 2px rgba(231, 76, 60, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-reject:hover {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.95) 0%, rgba(192, 57, 43, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(231, 76, 60, 0.25);
    transform: translateY(-1px);
}

.status-badge-compact.status-pending {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.85) 0%, rgba(41, 128, 185, 0.85) 100%);
    color: white;
    border: 1px solid rgba(52, 152, 219, 0.25);
    box-shadow: 0 1px 2px rgba(52, 152, 219, 0.15);
    transition: all 0.2s ease;
}

.status-badge-compact.status-pending:hover {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.95) 0%, rgba(41, 128, 185, 0.95) 100%);
    box-shadow: 0 2px 4px rgba(52, 152, 219, 0.25);
    transform: translateY(-1px);
}

/* ��ͬ״̬��ʽ��contract_status�� */
.contract-signed {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
}

.contract-unknown {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
}

.contract-unsigned {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
}

/* �������Ӱ�ť��ʽ */
.btn-copy-link {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
    border: none;
    padding: 6px 12px !important;
    font-size: 13px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    border-radius: var(--radius-sm);
}

.btn-copy-link:hover {
    background: linear-gradient(135deg, #8e44ad 0%, #7d3c98 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(155, 89, 182, 0.4);
}

.btn-copy-link:active {
    transform: translateY(0);
}

/* �ϴ���Ʒ���� - ���Ҳ��� */
.upload-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    grid-template-areas: 
        "left right"
        "extra extra"
        "actions actions";
}

.upload-form-grid .form-column:first-child {
    grid-area: left;
}

.upload-form-grid .form-column:last-child {
    grid-area: right;
}

.upload-form-grid .form-actions {
    grid-area: actions;
    display: flex;
    gap: 12px;
    margin-top: 8px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.upload-form-grid .form-actions .btn {
    flex: 1;
}

.form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* ��Ӧʽ��С��Ļ�ָ����в��� */
@media (max-width: 768px) {
    .upload-form-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "left"
            "right"
            "actions";
    }
}

/* ״̬�е�Ԫ��������ʽ */
.data-table td:has(.status-group) {
    padding: 8px 12px;
    vertical-align: middle;
}

/* ������hoverʱ״̬���µ�Ч�� */
.data-table tbody tr:hover .status-badge-compact {
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* �̾��б������п��Ż� */
.dramas-list .data-table th:nth-child(1) { width: 60px; } /* ��� */
.dramas-list .data-table th:nth-child(2) { width: 80px; } /* ID */
.dramas-list .data-table th:nth-child(3) { width: 180px; } /* �̾����� */
.dramas-list .data-table th:nth-child(4) { width: 70px; } /* ���� */
.dramas-list .data-table th:nth-child(5) { width: 150px; } /* ����ʱ�� */
.dramas-list .data-table th:nth-child(6) { width: 75px; } /* �½� */
.dramas-list .data-table th:nth-child(7) { width: 135px; } /* ���״̬ */
.dramas-list .data-table th:nth-child(8) { width: 240px; } /* ���� */

/* �����б������п��Ż� */
.reviews-panel .data-table th:nth-child(1) { width: 80px; } /* ��� */
.reviews-panel .data-table th:nth-child(2) { width: 150px; } /* �̾�ID */
.reviews-panel .data-table th:nth-child(3) { min-width: 200px; } /* �̾����� */
.reviews-panel .data-table th:nth-child(4) { width: 120px; } /* �����û� */
.reviews-panel .data-table th:nth-child(5) { width: 180px; } /* ����ʱ�� */

.reviews-panel .data-table td:nth-child(2) {
    padding-right: 20px; /* �̾�ID�Ҳ����Ӽ�� */
}

.reviews-panel .data-table td:nth-child(3) {
    padding-left: 20px; /* �̾�����������Ӽ�� */
}

/* ���״̬����ʽ */
.dramas-list .data-table td:nth-child(7) {
    padding: 10px 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* ��������ʽ */
.dramas-list .data-table td:nth-child(7) {
    padding: 10px 8px;
    white-space: nowrap;
    vertical-align: middle;
}

/* �̾��б��и��Ż� */
.dramas-list .data-table tbody tr {
    height: auto;
}

.dramas-list .data-table td {
    vertical-align: middle;
    padding: 12px 10px;
}

/* ��Ʒ״̬��ʽ */
.status-pending {
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.2) 0%, rgba(127, 140, 141, 0.1) 100%);
    color: #95a5a6;
    border: 1px solid rgba(149, 165, 166, 0.3);
}

.status-processing {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.2) 0%, rgba(41, 128, 185, 0.1) 100%);
    color: #3498db;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.status-completed {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.2) 0%, rgba(39, 174, 96, 0.1) 100%);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.status-reupload {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2) 0%, rgba(230, 126, 34, 0.1) 100%);
    color: #f39c12;
    border: 1px solid rgba(243, 156, 18, 0.3);
}

/* �����¼��������ʽ */
.tasks-panel .search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.tasks-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.tasks-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.tasks-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.tasks-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* �����б���ʽ */
.reviews-panel .search-box {
    position: relative;
}

.reviews-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
}

.reviews-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    transition: var(--transition);
}

.reviews-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.reviews-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

/* ���ڷ�Χѡ���� */
.date-range-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 6px 12px;
}

.date-input {
    background: transparent;
    border: none;
    color: var(--text-light);
    font-size: 13px;
    padding: 4px 8px;
    cursor: pointer;
    transition: var(--transition);
}

.date-input:focus {
    outline: none;
    color: var(--accent);
}

.date-input::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
}

.date-separator {
    color: var(--text-muted);
    font-size: 12px;
    padding: 0 4px;
}

/* �����������˳���¼��ť��ʽ */
.nav-actions .btn-logout {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 0.85) 0%, 
        rgba(192, 57, 43, 0.85) 100%);
    border: 1px solid rgba(231, 76, 60, 0.4);
    color: white;
}

.nav-actions .btn-logout:hover {
    background: linear-gradient(135deg, 
        rgba(231, 76, 60, 1) 0%, 
        rgba(192, 57, 43, 1) 100%);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
}

/* �ϴ���Ʒ���� - ����ѡ������ʽ */
.form-row-full {
    grid-area: extra;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row-full .form-group {
    margin-bottom: 0;
}

    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.4);
    transform: translateY(-2px);
}

/* �ϴ���Ʒ���� - ����ѡ������ʽ */
.form-row-full {
    grid-area: extra;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px 0 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row-full .form-group {
    margin-bottom: 0;
}


/* ����״̬��ʽ */
.status-rejected {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.2) 0%, rgba(192, 57, 43, 0.1) 100%);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* ��/��״̬���� */
.status-badge.status-yes {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.85) 0%, rgba(39, 174, 96, 0.85) 100%);
    color: white;
    font-weight: 500;
}

.status-badge.status-no {
    background: linear-gradient(135deg, rgba(149, 165, 166, 0.85) 0%, rgba(127, 140, 141, 0.85) 100%);
    color: white;
    font-weight: 500;
}

/* �ҵ���������Ż� */
.my-tasks-table {
    font-size: 13px;
}

.my-tasks-table thead th {
    font-size: 13px;
    font-weight: 600;
    padding: 12px 10px;
    white-space: nowrap;
}

.my-tasks-table tbody td {
    padding: 12px 10px;
    vertical-align: middle;
}

.my-tasks-table .type-badge,
.my-tasks-table .status-badge {
    display: inline-block;
    min-width: 50px;
    text-align: center;
}

.my-tasks-table .btn-sm {
    white-space: nowrap;
}

.my-tasks-table tbody tr:hover {
    background: rgba(42, 63, 117, 0.4);
}


/* �ҵ�������������ʽ */
.my-tasks-panel .search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.my-tasks-panel .search-box i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

.my-tasks-panel .search-box input {
    width: 100%;
    padding: 10px 16px 10px 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: 14px;
    transition: all 0.3s ease;
}

.my-tasks-panel .search-box input::placeholder {
    color: var(--text-muted);
}

.my-tasks-panel .search-box input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 201, 255, 0.1);
}

.my-tasks-panel .search-box input:hover {
    border-color: rgba(0, 201, 255, 0.5);
    background: rgba(255, 255, 255, 0.06);
}


/* �ҵ���Ʒ��� - ������������ʽ */
.projects-panel .list-actions-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.projects-panel .list-actions-row .btn-action {
    white-space: nowrap;
}



/* �ҵ���Ʒ - ״̬������ʽ���ޱ����ޱ߿� */
.projects-panel .status-badge {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    font-weight: 600;
}

.projects-panel .status-badge.status-1 {
    color: #3498db;
}

.projects-panel .status-badge.status-2 {
    color: #2ecc71;
}

.projects-panel .status-badge.status-3 {
    color: #9b59b6;
}

.projects-panel .status-badge.status-4 {
    color: #f39c12;
}

.projects-panel .status-badge.status-5 {
    color: #e74c3c;
}


/* ��˾���ͻ�����ʽ */
.company-type-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    min-width: 50px;
}

.company-type-badge.company-shanxi {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    color: white;
}

.company-type-badge.company-liaoning {
    background: linear-gradient(135deg, #1abc9c 0%, #16a085 100%);
    color: white;
}


/* �޸�״̬�����ʾ�������� */
.status-group {
    display: flex;
    flex-direction: column;
    gap: 6px !important;
    padding: 4px 0;
    width: 100%;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-start;
    line-height: 1.2;
    min-height: 22px;
}

.status-label {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    min-width: 28px;
    text-align: right;
    opacity: 0.85;
    flex-shrink: 0;
}

.status-badge-compact {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    min-width: 60px;
    white-space: nowrap;
    flex-shrink: 0;
}


/* ========== �̾��б������Ż���ʽ ========== */
.dramas-table {
    table-layout: fixed;
    width: 100%;
}

.dramas-table th,
.dramas-table td {
    padding: 10px 8px;
    vertical-align: middle;
}

.dramas-table .text-center {
    text-align: center;
}

.dramas-table .drama-name {
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ��˾����С���� */
.company-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.company-badge.company-shanxi {
    background: #9b59b6;
    color: white;
}

.company-badge.company-liaoning {
    background: #1abc9c;
    color: white;
}

/* �½ڻ��� */
.chapter-badge {
    display: inline-block;
    padding: 2px 6px;
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

/* ���״̬��Ԫ�� */
.status-cell {
    padding: 6px 8px !important;
}

.status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-name {
    font-size: 11px;
    color: #8899a6;
    min-width: 26px;
    text-align: right;
}

.status-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    min-width: 58px;
    text-align: center;
}

.status-tag.status-auditing {
    background: #f39c12;
    color: white;
}

.status-tag.status-pass {
    background: #27ae60;
    color: white;
}

.status-tag.status-reject {
    background: #e74c3c;
    color: white;
}

.status-tag.status-pending {
    background: #3498db;
    color: white;
}

/* ������ */
.action-cell {
    white-space: nowrap;
}

.action-cell .btn {
    margin-right: 4px;
    margin-bottom: 2px;
}

.action-cell .btn:last-child {
    margin-right: 0;
}


/* ������ǩ��ʾ���� */
.label-hint {
    font-size: 11px;
    color: #f39c12;
    font-weight: normal;
    margin-left: 4px;
}

/* ���õ���������ʽ */
select.form-control:disabled {
    background-color: rgba(255, 255, 255, 0.05);
    color: #8899a6;
    cursor: not-allowed;
    opacity: 0.7;
}


/* ΢����Ϣ��Ԫ����ʽ */
.weixin-cell {
    padding: 6px 8px !important;
}

.weixin-info {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 12px;
}

.weixin-info:last-child {
    margin-bottom: 0;
}

.weixin-label {
    color: #8899a6;
    font-size: 11px;
    min-width: 32px;
}

.weixin-value {
    color: #1abc9c;
    font-weight: 500;
}


/* ƽ̨��Ϣ��Ԫ����ʽ */
.info-cell {
    padding: 6px 8px !important;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
    font-size: 12px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-label {
    color: #8899a6;
    font-size: 11px;
    min-width: 32px;
}

.info-value {
    color: var(--text-light);
    font-weight: 500;
}


/* 消息提示样式 */
.message {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 500px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInRight 0.3s ease-out;
}

.message.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9) 0%, rgba(39, 174, 96, 0.9) 100%);
    border-color: var(--success);
}

.message.error {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.9) 0%, rgba(192, 57, 43, 0.9) 100%);
    border-color: var(--error);
}

.message.warning {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.9) 0%, rgba(230, 126, 34, 0.9) 100%);
    border-color: var(--warning);
}

.message.info {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.9) 0%, rgba(41, 128, 185, 0.9) 100%);
    border-color: var(--info);
}

.message-content {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-primary);
    font-weight: 500;
}

.message-content i {
    font-size: 18px;
    flex-shrink: 0;
}

.message-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.message-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.filter-input {
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    background: var(--glass-bg);
    backdrop-filter: var(--backdrop-blur);
    color: var(--text-primary);
    font-size: 14px;
    min-width: 120px;
    transition: var(--transition);
}

.filter-input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 
        0 0 0 3px rgba(0, 201, 255, 0.1),
        0 4px 16px rgba(0, 201, 255, 0.15);
}

.filter-input::placeholder {
    color: var(--text-muted);
}

/* 公告弹框样式 */
.announcement-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.announcement-modal-box {
    background: linear-gradient(135deg, #1a2a44 0%, #0f1a2f 100%);
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.announcement-header {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}

.announcement-header i {
    font-size: 20px;
}

.announcement-close-btn {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    position: relative;
    z-index: 10001;
}

.announcement-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.announcement-btn {
    background: linear-gradient(135deg, #00c9ff 0%, #3498db 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    z-index: 10001;
}

.announcement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 201, 255, 0.3);
}

.announcement-body {
    padding: 24px;
    color: #e0e9ff;
    font-size: 15px;
    line-height: 1.8;
}

.announcement-body p {
    margin-bottom: 12px;
}

.announcement-body .highlight-text {
    color: #00c9ff;
    font-weight: bold;
}

.announcement-body .warning-text {
    color: #e74c3c;
    font-weight: bold;
    font-size: 16px;
    margin-top: 16px;
}

.announcement-body .contact-info {
    margin-top: 20px;
    padding: 14px;
    background: rgba(7, 193, 96, 0.1);
    border-radius: 8px;
    border-left: 4px solid #07c160;
}

.announcement-body .contact-info i {
    color: #07c160;
    margin-right: 8px;
}

.announcement-body .contact-id {
    color: #07c160;
    font-weight: bold;
}

.announcement-footer {
    padding: 16px 24px 24px;
    display: flex;
    justify-content: center;
}

.announcement-btn {
    background: linear-gradient(135deg, #00c9ff 0%, #3498db 100%);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.announcement-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 201, 255, 0.3);
}

/* 公告栏样式 */
.marquee-container {
    flex: 1;
    margin-left: 20px;
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.15) 0%, rgba(230, 126, 34, 0.1) 100%);
    border: 1px solid rgba(243, 156, 18, 0.3);
    border-radius: 8px;
    padding: 8px 16px;
}

.marquee-content {
    color: #f39c12;
    font-size: 13px;
    line-height: 1.5;
}

.marquee-icon {
    margin-right: 8px;
}

/* 调整 list-header 布局 */
.list-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.list-header h2 {
    white-space: nowrap;
    margin: 0;
}

/* 结算明细表格列宽优化 */
.projects-panel .data-table th:nth-child(1) { width: 150px; } /* 漫剧名称 */
.projects-panel .data-table th:nth-child(2) { width: 80px; } /* 月份 */
.projects-panel .data-table th:nth-child(3) { width: 120px; } /* 创建日期 */
.projects-panel .data-table th:nth-child(4) { width: 120px; } /* 抖音账号 */
.projects-panel .data-table th:nth-child(5) { width: 100px; } /* 抖音昵称 */
.projects-panel .data-table th:nth-child(6) { width: 90px; } /* 抖音免费 */
.projects-panel .data-table th:nth-child(7) { width: 100px; } /* 抖音广告免费 */
.projects-panel .data-table th:nth-child(8) { width: 90px; } /* 抖音付费 */
.projects-panel .data-table th:nth-child(9) { width: 100px; } /* 抖音广告付费 */
.projects-panel .data-table th:nth-child(10) { width: 100px; } /* 抖音挂载付费 */
.projects-panel .data-table th:nth-child(11) { width: 90px; } /* 总消耗 */
.projects-panel .data-table th:nth-child(12) { width: 110px; } /* 自然流结算金额 */
.projects-panel .data-table th:nth-child(13) { width: 110px; } /* 信息流结算金额 */

/* 结算明细表格数字列右对齐 */
.projects-panel .data-table td:nth-child(n+6) {
    text-align: right;
}

/* 结算明细表格头部数字列右对齐 */
.projects-panel .data-table th:nth-child(n+6) {
    text-align: right;
}

/* 结算明细表格字体大小调整 */
.projects-panel .data-table {
    font-size: 12px;
}

.projects-panel .data-table th {
    font-size: 12px;
    padding: 10px 8px;
}

.projects-panel .data-table td {
    padding: 10px 8px;
    font-size: 12px;
}
/* 结算明细表格行点击样式 */
.projects-panel .data-table tbody tr[style*="cursor: pointer"]:hover {
    background: rgba(0, 201, 255, 0.1) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 201, 255, 0.15);
}

.projects-panel .data-table tbody tr[style*="cursor: pointer"]:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 201, 255, 0.2);
}

/* 消耗明细模态框样式优化 */
.modal[style*="max-width: 900px"] .data-table {
    font-size: 13px;
}

.modal[style*="max-width: 900px"] .data-table th,
.modal[style*="max-width: 900px"] .data-table td {
    padding: 10px 12px;
}

.modal[style*="max-width: 900px"] .data-table th:nth-child(1) { width: 60px; } /* 序号 */
.modal[style*="max-width: 900px"] .data-table th:nth-child(2) { width: 120px; } /* 起始日期 */
.modal[style*="max-width: 900px"] .data-table th:nth-child(3) { width: 120px; } /* 结束日期 */
.modal[style*="max-width: 900px"] .data-table th:nth-child(4) { width: 120px; } /* 消耗金额 */
.modal[style*="max-width: 900px"] .data-table th:nth-child(5) { width: 150px; } /* 创建时间 */
.modal[style*="max-width: 900px"] .data-table th:nth-child(6) { width: 150px; } /* 更新时间 */

/* 消耗明细金额列右对齐 */
.modal[style*="max-width: 900px"] .data-table td:nth-child(4) {
    text-align: right;
}

.modal[style*="max-width: 900px"] .data-table th:nth-child(4) {
    text-align: right;
}

/* 结算明细表格优化样式 */
.billing-table {
    font-size: 11px;
    table-layout: fixed;
}

.billing-table th {
    padding: 6px 4px;
    font-size: 11px;
    white-space: nowrap;
    line-height: 1.2;
}

.billing-table td {
    padding: 6px 4px;
    font-size: 11px;
    line-height: 1.2;
    word-wrap: break-word;
}

.billing-table th,
.billing-table td {
    text-align: center !important;
    vertical-align: middle;
}

.billing-table .text-center {
    text-align: center !important;
}

.billing-table .text-center div {
    text-align: center !important;
}

.billing-table .text-center strong {
    text-align: center !important;
    display: block;
}

/* 确保表格在小屏幕上也能正常显示 */
@media (max-width: 1400px) {
    .billing-table th {
        padding: 4px 2px;
        font-size: 10px;
    }
    
    .billing-table td {
        padding: 4px 2px;
        font-size: 10px;
    }
}

@media (max-width: 1200px) {
    .billing-table {
        font-size: 9px;
    }
    
    .billing-table th {
        padding: 3px 1px;
        font-size: 9px;
    }
    
    .billing-table td {
        padding: 3px 1px;
        font-size: 9px;
    }
}
}
/* 计算公式模态框样式 */
.formula-section {
    margin-bottom: 20px;
}

.formula-box {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 12px;
}

.formula-text {
    font-family: 'Courier New', monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: var(--radius-sm);
    color: var(--text-light);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 12px;
    word-wrap: break-word;
}

.formula-explanation {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.formula-notes {
    background: rgba(255, 193, 7, 0.1);
    border-left: 4px solid var(--warning);
    border-radius: 4px;
    padding: 16px;
}

.formula-notes ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-secondary);
}

.formula-notes li {
    margin-bottom: 4px;
}
/* 结算明细确认模态框样式 - 紧凑布局 */
.settlement-modal {
    max-height: 90vh;
    overflow-y: auto;
}

.settlement-modal-body {
    padding: 16px;
}

.settlement-compact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.settlement-left-column,
.settlement-right-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 基础信息卡片 */
.compact-info-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px;
}

.compact-info-card h4 {
    color: var(--accent);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compact-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    font-size: 12px;
}

.compact-info-grid div {
    color: var(--text-light);
}

.compact-info-grid strong {
    color: var(--text-secondary);
    margin-right: 4px;
}

/* 收入数据卡片 */
.compact-revenue-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px;
}

.compact-revenue-card h4 {
    color: var(--success);
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.compact-revenue-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.revenue-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    background: rgba(0, 0, 0, 0.2);
}

.revenue-item span {
    color: var(--text-secondary);
}

.revenue-item strong {
    font-weight: bold;
}

.revenue-item.success strong {
    color: var(--success);
}

.revenue-item.warning strong {
    color: var(--warning);
}

.revenue-item.info strong {
    color: var(--info);
}

.revenue-item.error strong {
    color: var(--error);
}

/* 计算卡片 */
.compact-calculation-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 12px;
}

.compact-calculation-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calculation-steps {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calc-step,
.calc-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 8px;
    font-size: 11px;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.2);
}

.calc-step span:first-child,
.calc-result span:first-child {
    color: var(--text-secondary);
}

.calc-step span:last-child {
    color: var(--text-light);
    font-weight: 500;
}

.calc-result {
    background: rgba(0, 201, 255, 0.1);
    border: 1px solid rgba(0, 201, 255, 0.3);
    margin-top: 4px;
}

.calc-result strong {
    font-size: 13px;
}

/* 底部确认区域 */
.settlement-confirm-area {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    text-align: center;
}

.final-amounts {
    display: flex;
    justify-content: space-around;
    margin-bottom: 16px;
}

.final-amount-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.final-amount-item span {
    color: var(--text-secondary);
    font-size: 12px;
}

.confirm-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-lg {
    padding: 10px 20px;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 900px) {
    .settlement-compact-layout {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .compact-info-grid,
    .compact-revenue-grid {
        grid-template-columns: 1fr;
    }
    
    .final-amounts {
        flex-direction: column;
        gap: 12px;
    }
    
    .confirm-buttons {
        flex-direction: column;
    }
}