/* ========================================
   现代化评审系统样式表
   ======================================== */

/* CSS变量定义 - 沉稳暖色系配色方案 */
:root {
    /* 主色调 - 沉稳的棕橙色系 */
    --primary-color: #f97316;
    --primary-dark: #ea580c;
    --primary-light: #fb923c;
    --primary-gradient: linear-gradient(135deg, #f97316 0%, #fb923c 100%);

    /* 侧边栏配色 - 橙色主题 */
    --sidebar-bg: linear-gradient(135deg, #f97316 0%, #fb923c 100%);
    --sidebar-hover: rgba(255, 255, 255, 0.15);
    --sidebar-active: rgba(255, 255, 255, 0.25);
    --sidebar-text: rgba(255, 255, 255, 0.85);
    --sidebar-text-active: #ffffff;
    --sidebar-accent: #ffffff;
    --sidebar-border: rgba(255, 255, 255, 0.15);

    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;

    --bg-primary: #fafaf9;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f5f5f4;

    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;

    --border-color: #e2e8f0;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-sm: 8px;

    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    display: flex;
    min-height: 100vh;
}

/* ========================================
   侧边栏样式 - 深色暖调主题
   ======================================== */
.sidebar {
    width: 280px;
    background: var(--sidebar-bg);
    color: var(--sidebar-text);
    display: flex;
    flex-direction: column;
    position: fixed;
    height: 100vh;
    z-index: 100;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
}

.logo {
    padding: 28px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 18px;
    font-weight: 700;
    border-bottom: 1px solid var(--sidebar-border);
    background: rgba(0, 0, 0, 0.1);
}

.logo i {
    font-size: 32px;
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
}

.logo span {
    color: #ffffff;
}

.nav-menu {
    flex: 1;
    padding: 20px 16px;
    overflow-y: auto;
}

.nav-menu::-webkit-scrollbar {
    width: 4px;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    color: var(--sidebar-text);
    text-decoration: none;
    transition: var(--transition-normal);
    border-radius: 10px;
    margin-bottom: 6px;
    font-weight: 500;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--sidebar-accent);
    transform: scaleY(0);
    transition: transform var(--transition-normal);
    border-radius: 0 3px 3px 0;
}

.nav-item:hover {
    background: var(--sidebar-hover);
    color: var(--sidebar-text-active);
}

.nav-item:hover::before {
    transform: scaleY(0.6);
}

.nav-item:hover i {
    color: var(--sidebar-accent);
}

.nav-item.active {
    background: var(--sidebar-active);
    color: var(--sidebar-text-active);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item.active i {
    color: var(--sidebar-accent);
}

.nav-item i {
    width: 22px;
    text-align: center;
    font-size: 16px;
    transition: color var(--transition-fast);
    color: rgba(255, 255, 255, 0.7);
}

.user-info {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-top: 1px solid var(--sidebar-border);
    background: rgba(0, 0, 0, 0.15);
}

.user-info img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.user-name {
    font-weight: 600;
    font-size: 20px;
}

.user-role {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.2);
}

/* ========================================
   主内容区样式
   ======================================== */
.main-content {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
}

.header {
    background: var(--bg-secondary);
    padding: 18px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border-color);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 8px;
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.menu-toggle:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

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

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: 24px;
    padding: 10px 20px;
    gap: 10px;
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.search-box:focus-within {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    width: 200px;
    font-size: 20px;
    color: var(--text-primary);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.notification, .logout {
    background: var(--bg-tertiary);
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    position: relative;
    padding: 10px;
    border-radius: 50%;
    transition: var(--transition-fast);
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification:hover, .logout:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    transform: scale(1.05);
}

.logout:hover {
    color: var(--danger-color);
    background: #fef2f2;
}

.notification .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    font-size: 10px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    border: 2px solid var(--bg-secondary);
}

.content {
    padding: 28px 32px;
    flex: 1;
}

/* ========================================
   统计卡片
   ======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.stat-card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 24px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

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

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

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.stat-icon.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #2563eb;
}
.stat-icon.green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #059669;
}
.stat-icon.orange {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}
.stat-icon.purple {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.stat-info h3 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
}

.stat-info p {
    font-size: 20px;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

/* ========================================
   内容卡片
   ======================================== */
.card {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

.card-header h2 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-header h2 i {
    color: var(--primary-color);
    font-size: 18px;
}

.card-body {
    padding: 24px;
}

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

.table th, .table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--bg-tertiary);
}

.table td {
    font-size: 20px;
    color: var(--text-primary);
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: var(--bg-tertiary);
}

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

/* ========================================
   状态标签
   ======================================== */
.status {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    gap: 6px;
}

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

.status.pending {
    background: #fef3c7;
    color: #b45309;
}
.status.reviewing {
    background: #dbeafe;
    color: #1d4ed8;
}
.status.completed {
    background: #d1fae5;
    color: #047857;
}
.status.rejected {
    background: #fee2e2;
    color: #b91c1c;
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius-sm);
    border: none;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    transition: var(--transition-fast);
    text-decoration: none;
    white-space: nowrap;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 4px rgba(79, 70, 229, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), #3730a3);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.4);
    transform: translateY(-1px);
}

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

.btn-secondary:hover {
    background: var(--bg-primary);
    color: var(--text-primary);
    border-color: var(--text-muted);
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-icon {
    background: transparent;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    transition: var(--transition-fast);
}

.btn-icon:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.btn-icon.danger:hover {
    background: #fef2f2;
    color: var(--danger-color);
}

.btn-icon.success:hover {
    background: #ecfdf5;
    color: var(--success-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 20px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    font-size: 20px;
    transition: var(--transition-fast);
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

.form-control::placeholder {
    color: var(--text-muted);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
    line-height: 1.6;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

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

.required {
    color: var(--danger-color);
}

/* ========================================
   弹窗样式
   ======================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

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

.modal-content {
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease;
}

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

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

.modal-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.modal-close {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.modal-close:hover {
    background: #fef2f2;
    color: var(--danger-color);
    border-color: var(--danger-color);
}

.modal-body {
    padding: 28px;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 28px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-tertiary);
}

/* ========================================
   双栏布局
   ======================================== */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* ========================================
   筛选栏
   ======================================== */
.filter-bar {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.filter-bar .form-control {
    width: auto;
    min-width: 180px;
    padding: 10px 16px;
}

/* ========================================
   详情项
   ======================================== */
.detail-item {
    display: flex;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.detail-item label {
    width: 120px;
    color: var(--text-secondary);
    flex-shrink: 0;
    font-weight: 500;
}

.detail-item span {
    flex: 1;
    color: var(--text-primary);
}

/* ========================================
   标签
   ======================================== */
.tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tag-blue {
    background: #dbeafe;
    color: #1d4ed8;
}

.tag-green {
    background: #d1fae5;
    color: #047857;
}

/* ========================================
   空状态
   ======================================== */
.empty-text {
    text-align: center;
    color: var(--text-muted);
    padding: 48px 20px;
    font-size: 20px;
}

/* ========================================
   Toast提示
   ======================================== */
.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 16px 24px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    z-index: 2000;
    transform: translateX(120%);
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: var(--shadow-lg);
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
}

.toast-error {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
}

.toast-info {
    background: linear-gradient(135deg, var(--info-color), #2563eb);
    color: white;
}

/* ========================================
   通知面板
   ======================================== */
.notification-wrapper {
    position: relative;
}

.notification-panel {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 400px;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition-normal);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.notification-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.notification-header a {
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.notification-header a:hover {
    text-decoration: underline;
}

.notification-list {
    max-height: 420px;
    overflow-y: auto;
}

.notification-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 24px;
    cursor: pointer;
    transition: var(--transition-fast);
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

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

.notification-item:hover {
    background: var(--bg-tertiary);
}

.notification-item.read {
    opacity: 0.6;
}

.notification-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 18px;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.notification-desc {
    font-size: 13px;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.notification-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
}

.notification-dot {
    width: 10px;
    height: 10px;
    background: var(--danger-color);
    border-radius: 50%;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
}

.notification-read-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border: none;
    border-radius: 50%;
    background: var(--success-color);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0;
    transition: all var(--transition-fast);
}

.notification-item:hover .notification-read-btn {
    opacity: 1;
}

.notification-read-btn:hover {
    background: #059669;
    transform: translateY(-50%) scale(1.1);
}

.notification-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    background: var(--bg-tertiary);
}

.notification-footer a {
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

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

.notification-empty {
    padding: 60px 24px;
    text-align: center;
    color: var(--text-muted);
}

.notification-empty i {
    font-size: 56px;
    margin-bottom: 16px;
    opacity: 0.4;
}

.notification-empty p {
    font-size: 20px;
}

/* ========================================
   通知公告页面
   ======================================== */
.notification-full-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.notification-full-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    cursor: pointer;
    border: 1px solid transparent;
}

.notification-full-item:hover {
    background: var(--bg-secondary);
    border-color: var(--primary-light);
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.notification-full-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 24px;
}

.notification-full-content {
    flex: 1;
    min-width: 0;
}

.notification-full-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.notification-full-header h4 {
    font-size: 17px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.notification-full-time {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: auto;
}

.notification-full-content p {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.notification-full-action {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

/* ========================================
   通知详情弹窗
   ======================================== */
.notice-detail-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.notice-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 6px;
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.notice-date {
    font-size: 20px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-date i {
    color: var(--text-muted);
}

.notice-detail-content {
    font-size: 20px;
    line-height: 2;
    color: var(--text-primary);
}

.notice-detail-content p {
    margin: 0 0 12px 0;
}

.notice-detail-content .notice-recipient {
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.notice-detail-content .notice-body {
    text-indent: 2em;
    margin-bottom: 16px;
    text-align: justify;
}

.notice-detail-content .notice-section-title {
    font-weight: 700;
    margin: 28px 0 12px 0;
    color: var(--text-primary);
}

.notice-detail-content .notice-list-item {
    padding-left: 1.5em;
    margin-bottom: 8px;
}

.notice-detail-content .notice-signature-line {
    text-align: right;
    margin: 6px 0;
    color: var(--text-secondary);
}

.notice-detail-content .notice-signature-line:first-of-type {
    margin-top: 32px;
}

/* 通知类型标签 */
.notice-type-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.notice-type-tag.urgent {
    background: #fee2e2;
    color: #b91c1c;
}

.notice-type-tag.important {
    background: #fef3c7;
    color: #b45309;
}

.notice-type-tag.notice {
    background: #dbeafe;
    color: #1d4ed8;
}

/* ========================================
   状态分布
   ======================================== */
.status-distribution {
    display: flex;
    justify-content: space-around;
    padding: 32px 0;
    gap: 20px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.status-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    color: white;
    box-shadow: var(--shadow-md);
}

.status-circle.pending {
    background: linear-gradient(135deg, var(--warning-color), #d97706);
}

.status-circle.reviewing {
    background: linear-gradient(135deg, var(--info-color), #2563eb);
}

.status-circle.completed {
    background: linear-gradient(135deg, var(--success-color), #059669);
}

.status-circle.rejected {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
}

.status-item span {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   评分分布
   ======================================== */
.score-distribution {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.score-bar-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.score-range {
    width: 80px;
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 500;
}

.score-bar {
    flex: 1;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 12px;
    transition: width 0.6s ease;
}

.score-count {
    width: 60px;
    font-size: 20px;
    color: var(--text-primary);
    text-align: right;
    font-weight: 600;
}

.score-highlight {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 18px;
}

/* ========================================
   专家列表
   ======================================== */
.expert-list {
    max-height: 320px;
    overflow-y: auto;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

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

.checkbox-item:hover {
    background: var(--bg-tertiary);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

/* ========================================
   评分组件
   ======================================== */
.rating-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-tertiary);
    margin-bottom: 8px;
    border-radius: var(--border-radius-sm);
}

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

.rating-label {
    font-weight: 600;
    color: var(--text-primary);
}

.rating-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.rating-input input {
    width: 90px;
    padding: 10px 14px;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-sm);
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    transition: var(--transition-fast);
}

.rating-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* ========================================
   文件上传
   ======================================== */
.file-upload {
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    padding: 48px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-normal);
    background: var(--bg-tertiary);
}

.file-upload:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.file-upload i {
    font-size: 56px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.file-upload p {
    color: var(--text-secondary);
    font-size: 20px;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    .sidebar.open {
        transform: translateX(0);
    }
    .main-content {
        margin-left: 0;
    }
    .menu-toggle {
        display: flex;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .search-box {
        display: none;
    }
    .content {
        padding: 20px 16px;
    }
    .header {
        padding: 14px 16px;
    }
    .notification-panel {
        width: calc(100vw - 32px);
        right: -60px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .status-distribution {
        flex-wrap: wrap;
    }
}

/* ========================================
   隐藏菜单项
   ======================================== */
.nav-item.hidden {
    display: none;
}

/* ========================================
   链接样式
   ======================================== */
.link-more {
    font-size: 20px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

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

/* ========================================
   徽章计数
   ======================================== */
.badge-count {
    background: linear-gradient(135deg, var(--danger-color), #dc2626);
    color: white;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* ========================================
   滚动条美化
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--text-muted);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ==================== 评审流程步骤 ==================== */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 30px 20px;
    position: relative;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 55px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), #e2e8f0, #e2e8f0);
    z-index: 0;
    border-radius: 2px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    flex: 1;
    max-width: 120px;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #94a3b8;
    margin-bottom: 12px;
    transition: all var(--transition-normal);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 3px solid #fff;
}

.step-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    transition: color var(--transition-fast);
}

/* 已完成步骤 */
.step.completed .step-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.35);
}

.step.completed .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* 当前步骤 */
.step.active .step-icon {
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: #fff;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    animation: pulse-step 2s infinite;
}

.step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes pulse-step {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(79, 70, 229, 0.4);
    }
    50% {
        box-shadow: 0 4px 25px rgba(79, 70, 229, 0.6);
    }
}

/* 悬停效果 */
.step:hover .step-icon {
    transform: translateY(-3px);
}

.step:hover .step-label {
    color: var(--primary-color);
}

/* 响应式 */
@media (max-width: 768px) {
    .process-steps {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        padding: 20px;
    }
    
    .process-steps::before {
        top: 25px;
        bottom: 25px;
        left: 44px;
        right: auto;
        width: 3px;
        height: auto;
        background: linear-gradient(180deg, var(--primary-color), var(--primary-light), #e2e8f0, #e2e8f0);
    }
    
    .step {
        flex-direction: row;
        max-width: none;
        gap: 15px;
    }
    
    .step-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .step-label {
        text-align: left;
    }
}
