/* ============================================================
   PANEL / CARD COMPONENTS
   panels.css
   ============================================================ */

/* ── BASE PANEL ─────────────────────────────────────────────── */
.panel {
    background: var(--panel-bg);
    border: 1px solid var(--panel-border);
    border-radius: 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Top accent line */
.panel::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--teal), transparent);
    opacity: 0.7;
}

/* ── PANEL HEADER ───────────────────────────────────────────── */
.panel__header {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal);
    padding: 10px 14px;
    border-bottom: 1px solid rgba(0, 180, 160, 0.15);
    display: flex;
    align-items: center;
    gap: 8px;
}

.panel__header-icon {
    width: 18px; height: 18px;
    background: var(--teal);
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 8px var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: #000;
    font-weight: 900;
}

/* ── PANEL BODY ─────────────────────────────────────────────── */
.panel__body {
    padding: 14px;
}

/* ── ORNAMENT DIVIDER ───────────────────────────────────────── */
.ornament {
    text-align: center;
    color: var(--teal-dim);
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    opacity: 0.5;
    padding: 8px 0;
}

/* ── STAT BAR ───────────────────────────────────────────────── */
.stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.stat-badge {
    width: 38px; height: 38px;
    border-radius: 50%;
    border: 2px solid var(--teal-dim);
    background: rgba(0, 180, 160, 0.1);
    box-shadow: 0 0 10px var(--teal-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--teal);
    flex-shrink: 0;
}

.stat-info { flex: 1; }

.stat-info__label {
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.08em;
}

.stat-bar {
    height: 4px;
    background: rgba(0, 40, 60, 0.8);
    border-radius: 2px;
    margin-top: 4px;
    overflow: hidden;
}

.stat-bar__fill {
    height: 100%;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--teal-dim), var(--teal));
    box-shadow: 0 0 6px var(--teal);
}

.stat-bar__fill--gold {
    background: linear-gradient(90deg, #c8a84b, #f0d070);
    box-shadow: 0 0 6px #c8a84b;
}

.stat-bar__fill--purple {
    background: linear-gradient(90deg, #9b4dca, #cc77ff);
    box-shadow: 0 0 6px #9b4dca;
}

/* ── QUICK LINK ITEM ────────────────────────────────────────── */
.quick-link {
    display: block;
    padding: 7px 10px;
    font-size: 0.78rem;
    color: var(--text-dim);
    text-decoration: none;
    border-left: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s, padding-left 0.2s;
}

.quick-link:hover {
    color: var(--teal);
    border-left-color: var(--teal);
    padding-left: 14px;
    text-decoration: none;
}

/* ── NEWS ITEM ──────────────────────────────────────────────── */
.news-item {
    padding: 10px 12px;
    border-left: 2px solid var(--teal);
    background: rgba(0, 180, 160, 0.04);
    margin-bottom: 8px;
}

.news-item--muted {
    border-left-color: rgba(0, 180, 160, 0.3);
    background: rgba(0, 180, 160, 0.02);
}

.news-item__title {
    font-family: 'Roboto', sans-serif;
    font-size: 0.75rem;
    color: var(--teal);
    letter-spacing: 0.1em;
}

.news-item--muted .news-item__title {
    color: var(--text-dim);
}

.news-item__body {
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 3px;
}
