/*
 * Halaman detail member (pages/member/show.blade.php).
 * Dimuat lewat @push('styles') di view tersebut.
 */

.expert-profile { --expert-accent: #175cdd; --expert-gold: #e8b400; }
.expert-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06);
    padding: 24px;
    margin-bottom: 24px;
}
.expert-card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--expert-accent);
    padding-bottom: 12px;
    margin-bottom: 16px;
    border-bottom: 1px solid #eef0f4;
}
/* Hero header */
.expert-hero {
    background: linear-gradient(120deg, #1b2a5e 0%, #175cdd 55%, #4b2f8f 100%);
    border-radius: 12px;
    padding: 32px;
    color: #fff;
    margin-bottom: 24px;
}
.expert-hero h1 { color: #fff; font-size: 28px; font-weight: 700; margin-bottom: 6px; }
.expert-avatar {
    width: 150px; height: 150px; object-fit: cover;
    border-radius: 50%; border: 4px solid var(--expert-gold);
}
.expert-meta { font-size: 14px; color: rgba(255, 255, 255, .9); }
.expert-meta span { display: inline-block; margin: 0 18px 6px 0; word-break: break-word; }
.expert-link-pill {
    display: inline-block; padding: 5px 14px; margin: 6px 6px 0 0;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .5); border-radius: 20px;
    font-size: 12px; color: #fff;
}
/* Statistik ringkas di bawah bagian About */
.expert-summary-card { display: flex; flex-direction: column; justify-content: center; text-align: center; }
.expert-summary-card b { display: block; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--expert-accent); word-break: break-word; }
.expert-summary-card span { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #6c7a91; }
/* Item grup */
.expert-group-item {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 12px 14px; border: 1px solid #eef0f4; border-radius: 10px; background: #fbfcfe;
}
.expert-group-item + .expert-group-item { margin-top: 10px; }
.expert-group-icon {
    flex: 0 0 38px; width: 38px; height: 38px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(23, 92, 221, .1); color: var(--expert-accent); font-size: 18px;
}
.expert-group-item strong { display: block; font-size: 14px; font-weight: 600; }
.expert-group-item strong a { color: #112344; text-decoration: none; }
.expert-group-item strong a:hover { color: var(--expert-accent); }
.expert-group-item small { display: block; color: #8a93a2; font-size: 12px; }
/* Timeline kualifikasi */
.expert-timeline { position: relative; padding-left: 22px; }
.expert-timeline::before { content: ''; position: absolute; left: 5px; top: 10px; bottom: 10px; width: 2px; background: #eef0f4; }
.expert-timeline-item { position: relative; padding: 8px 0; }
.expert-timeline-item::before {
    content: ''; position: absolute; left: -21px; top: 13px; width: 10px; height: 10px;
    border-radius: 50%; background: var(--expert-gold); box-shadow: 0 0 0 3px #fff;
}
.expert-timeline-item strong { display: block; font-size: 14px; font-weight: 600; color: #112344; }
.expert-timeline-item small { color: #8a93a2; font-size: 12px; }
.expert-toggle {
    background: none; border: 0; padding: 8px 0 0;
    color: var(--expert-accent); font-size: 13px; font-weight: 600; cursor: pointer;
}
/* Chart */
.expert-chart-title { text-align: center; font-size: 12px; font-weight: 700; letter-spacing: 1px; color: #6c7a91; text-transform: uppercase; margin-bottom: 16px; }
.expert-chart-box { position: relative; height: 260px; }
/* Collaborator */
.expert-collab { text-align: center; }
.expert-collab img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid #eef0f4; }
.expert-collab strong { display: block; font-size: 13px; margin-top: 8px; color: #112344; }
.expert-collab a { text-decoration: none; }
.expert-collab small { color: #8a93a2; font-size: 12px; }
/* Tabs + list */
.expert-tabs { border-bottom: 1px solid #eef0f4; margin-bottom: 8px; }
.expert-tabs .nav-link { color: #56606f; font-weight: 600; border: 0; border-bottom: 2px solid transparent; }
.expert-tabs .nav-link.active { color: var(--expert-accent); border-bottom-color: var(--expert-accent); background: none; }
.expert-tabs .badge { background: var(--expert-gold); color: #112344; }
/* Badge penghitung pada judul kartu */
.expert-badge { background: var(--expert-gold); color: #112344; }
.expert-list-item { padding: 14px 4px; border-bottom: 1px solid #eef0f4; font-size: 14px; }
.expert-list-item a { text-decoration: none; }
.expert-list-item a:hover { text-decoration: underline; }
.expert-doi { margin-top: 4px; font-size: 12px; color: #8a93a2; word-break: break-all; }
.expert-doi a { color: #8a93a2; }
/* Penyesuaian ringan untuk komponen pagination Bootstrap 5 bawaan Laravel */
.expert-card .pagination { margin: 16px 0 0; }
.expert-card .page-link { color: var(--expert-accent); }
.expert-card .page-item.active .page-link { background: var(--expert-accent); border-color: var(--expert-accent); color: #fff; }
@media (max-width: 991.98px) {
}
@media (max-width: 767.98px) {
    .expert-hero { padding: 24px; text-align: center; }
    .expert-hero h1 { font-size: 22px; }
    .expert-summary-card b { font-size: 26px; }
}
