/* ============================================
   铁蛋电竞 - 考官入驻页专属样式
   布局：左侧固定sidebar + 右侧Tab内容区（后台式）
   ============================================ */

/* ---------- 页面头部（面包屑风格） ---------- */
.examiner-page-head {
    padding: 40px 0 30px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.12) 0%, transparent 100%);
    border-bottom: 1px solid rgba(124, 58, 237, 0.15);
}

.breadcrumb {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: #9ca3af;
    text-decoration: none;
}

.breadcrumb span {
    margin: 0 6px;
    color: #6b7280;
}

.breadcrumb .current {
    color: #a78bfa;
}

.examiner-page-head h1 {
    font-size: 36px;
    font-weight: 800;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.examiner-sub {
    color: #9ca3af;
    font-size: 15px;
}

/* ---------- 主体布局：sidebar + content ---------- */
.examiner-body {
    padding: 40px 0 60px;
}

.examiner-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: flex-start;
}

/* ---------- 左侧 sidebar ---------- */
.examiner-sidebar {
    position: sticky;
    top: 84px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-card {
    background: #1a1333;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 18px;
}

.sidebar-title {
    font-size: 14px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-menu li {
    margin-bottom: 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #9ca3af;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.sidebar-link:hover {
    background: rgba(124, 58, 237, 0.08);
    color: #a78bfa;
}

.sidebar-link.active {
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
    border-left-color: #7c3aed;
    font-weight: 600;
}

.sicon {
    font-size: 16px;
}

.sidebar-contact .contact-item {
    margin-bottom: 10px;
}

.ci-label {
    font-size: 11px;
    color: #6b7280;
    margin-bottom: 2px;
}

.ci-value {
    font-size: 15px;
    font-weight: 700;
    color: #a78bfa;
}

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

.sidebar-quote {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.quote-text {
    font-size: 13px;
    color: #d1d5db;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 10px;
}

.quote-author {
    font-size: 12px;
    color: #a78bfa;
    text-align: right;
}

/* ---------- 右侧 Tab 内容区 ---------- */
.examiner-content {
    min-height: 500px;
}

.tab-panel {
    display: none;
    background: #1a1333;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 36px;
    animation: fadeIn 0.3s ease;
}

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

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

.panel-head {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.panel-tag {
    display: inline-block;
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.panel-head h2 {
    font-size: 26px;
    font-weight: 800;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.panel-head p {
    color: #9ca3af;
    font-size: 14px;
}

/* ---------- Tab1: 职责卡片网格（3列2行） ---------- */
.duty-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.duty-card {
    position: relative;
    background: rgba(15, 10, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    padding: 22px 18px;
    transition: all 0.3s;
}

.duty-card:hover {
    border-color: #7c3aed;
    background: rgba(124, 58, 237, 0.08);
}

.duty-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.duty-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 8px;
}

.duty-card p {
    font-size: 13px;
    color: #9ca3af;
    line-height: 1.6;
    margin-bottom: 14px;
}

.duty-tag {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(124, 58, 237, 0.15);
    color: #a78bfa;
    font-size: 11px;
    border-radius: 10px;
}

/* ---------- Tab2: 待遇三栏 ---------- */
.pay-highlight {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 20px;
    align-items: center;
    background: rgba(15, 10, 30, 0.5);
    border-radius: 12px;
    padding: 26px;
    margin-bottom: 24px;
}

.pay-block {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.pay-block-icon {
    font-size: 32px;
    width: 56px;
    height: 56px;
    background: rgba(124, 58, 237, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pay-block-title {
    font-size: 13px;
    color: #9ca3af;
    margin-bottom: 4px;
}

.pay-block-value {
    font-size: 24px;
    font-weight: 800;
    color: #a78bfa;
    line-height: 1.2;
    margin-bottom: 6px;
}

.pay-block-value span {
    font-size: 13px;
    color: #9ca3af;
    font-weight: 400;
}

.pay-block-desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.5;
}

.pay-divider {
    width: 1px;
    height: 70px;
    background: rgba(255, 255, 255, 0.08);
}

.pay-example {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.05));
    border: 1px solid rgba(124, 58, 237, 0.3);
    border-radius: 12px;
    padding: 24px;
}

.pe-title {
    font-size: 16px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 16px;
}

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

.pe-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(15, 10, 30, 0.4);
    border-radius: 8px;
    font-size: 14px;
}

.pe-item span {
    color: #9ca3af;
}

.pe-item strong {
    color: #f3f4f6;
    font-weight: 700;
}

.pe-item.pe-total {
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid #7c3aed;
}

.pe-item.pe-total strong {
    color: #a78bfa;
    font-size: 18px;
}

/* ---------- Tab3: 垂直流程步骤 ---------- */
.process-vertical {
    padding: 10px 0;
}

.pv-step {
    display: flex;
    gap: 20px;
}

.pv-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.pv-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #5b21b6);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.2);
}

.pv-num.pv-final {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2);
}

.pv-line {
    flex: 1;
    width: 2px;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.5), rgba(124, 58, 237, 0.1));
    margin: 8px 0;
    min-height: 40px;
}

.pv-content {
    flex: 1;
    padding-bottom: 30px;
}

.pv-content h3 {
    font-size: 18px;
    font-weight: 700;
    color: #f3f4f6;
    margin-bottom: 6px;
}

.pv-content p {
    font-size: 14px;
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 8px;
}

.pv-meta {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(124, 58, 237, 0.1);
    color: #a78bfa;
    font-size: 12px;
    border-radius: 4px;
}

.pv-meta-final {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

/* ---------- Tab4: 等级体系 ---------- */
.level-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.level-card {
    position: relative;
    background: rgba(15, 10, 30, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 22px 16px;
    transition: all 0.3s;
}

.level-card:hover {
    transform: translateY(-4px);
}

.lv-1:hover { border-color: #9ca3af; }
.lv-2:hover { border-color: #a78bfa; }
.lv-3:hover { border-color: #eab308; }

.level-card.lv-featured {
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.25), rgba(15, 10, 30, 0.5));
    border: 2px solid #7c3aed;
    box-shadow: 0 10px 30px rgba(124, 58, 237, 0.4);
}

.lv-ribbon {
    position: absolute;
    top: 12px;
    right: -5px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px 0 0 3px;
}

.lv-badge {
    text-align: center;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.lv-medal {
    font-size: 36px;
    display: block;
    margin-bottom: 6px;
}

.lv-name {
    font-size: 18px;
    font-weight: 800;
    color: #f3f4f6;
}

.lv-req {
    font-size: 11px;
    color: #a78bfa;
    text-align: center;
    margin-bottom: 14px;
    padding: 6px;
    background: rgba(124, 58, 237, 0.08);
    border-radius: 6px;
    line-height: 1.4;
}

.lv-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lv-list li {
    font-size: 12px;
    color: #9ca3af;
    padding: 5px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.lv-list li:last-child {
    border-bottom: none;
    color: #a78bfa;
}

/* ---------- 底部申请条 ---------- */
.examiner-bottom {
    padding: 0 0 60px;
}

.eb-inner {
    background: linear-gradient(90deg, #5b21b6, #7c3aed, #ec4899);
    border-radius: 16px;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.4);
    flex-wrap: wrap;
    gap: 20px;
}

.eb-text h2 {
    font-size: 24px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 4px;
}

.eb-text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}

.eb-inner .btn-primary {
    background: #fff;
    color: #7c3aed;
}

.eb-inner .btn-primary:hover {
    background: #f3f4f6;
}

/* ---------- 响应式 ---------- */
@media (max-width: 992px) {
    .examiner-layout {
        grid-template-columns: 1fr;
    }
    .examiner-sidebar {
        position: static;
    }
    .duty-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pay-highlight {
        grid-template-columns: 1fr;
    }
    .pay-divider {
        width: 100%;
        height: 1px;
    }
    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .examiner-page-head h1 { font-size: 26px; }
    .tab-panel { padding: 20px; }
    .duty-grid { grid-template-columns: 1fr; }
    .level-grid { grid-template-columns: 1fr; }
    .eb-inner { padding: 24px; flex-direction: column; text-align: center; }
}
