:root {
    --ppid-primary: #00736f;   /* teal utama — diseragamkan dgn Portal ADAK */
    --ppid-secondary: #00c9a7; /* aksen tombol/CTA terang, hasil ekstraksi dari screenshot ADAK */
    --ppid-dark: #004f4e;      /* navbar/footer gelap, hasil ekstraksi dari screenshot ADAK */
    --ppid-light: #e6f4f4;     /* background mint pucat, hasil ekstraksi dari screenshot ADAK */
}

body {
    background-color: #f6f9fa;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

/* ── Public site ───────────────────────────────────────── */
.hero-section {
    background: linear-gradient(135deg, var(--ppid-dark), var(--ppid-primary));
    color: #fff;
    padding: 4rem 0;
}

.btn-ppid-primary {
    background-color: var(--ppid-primary);
    border-color: var(--ppid-primary);
    color: #fff;
}
.btn-ppid-primary:hover {
    background-color: var(--ppid-dark);
    border-color: var(--ppid-dark);
    color: #fff;
}

.stat-card {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    transition: transform 0.15s ease;
}
.stat-card:hover { transform: translateY(-3px); }

.card-doc {
    border: none;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 3px solid var(--ppid-secondary);
}
.timeline-item { position: relative; padding-bottom: 1.5rem; }
.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.45rem;
    top: 0.2rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: var(--ppid-secondary);
    border: 2px solid #fff;
}

/* ── Admin panel ───────────────────────────────────────── */
.sidebar {
    min-height: calc(100vh - 56px);
    box-shadow: 1px 0 5px rgba(0,0,0,0.04);
}
.sidebar-heading {
    display: block;
    padding: 0.5rem 0.75rem 0.25rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8a98a5;
    font-weight: 700;
}
.sidebar-link {
    color: #344054;
    border-radius: 0.5rem;
    padding: 0.55rem 0.75rem;
    font-size: 0.92rem;
}
.sidebar-link:hover { background-color: var(--ppid-light); color: var(--ppid-primary); }
.sidebar-link.active { background-color: var(--ppid-primary); color: #fff; }

@media (max-width: 767.98px) {
    .sidebar { min-height: auto; }
}

/* ── WhatsApp Float Button ─────────────────────────────────── */
.wa-float {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    width: 3.5rem;
    height: 3.5rem;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    line-height: 1;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.45);
    z-index: 1050;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.wa-float:hover,
.wa-float:focus {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #fff;
    text-decoration: none;
}
.wa-float-tooltip {
    position: fixed;
    bottom: 2.5rem;
    right: 5.75rem;
    background: #fff;
    color: #333;
    font-size: 0.82rem;
    padding: 0.35rem 0.75rem;
    border-radius: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.12);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 1049;
}
.wa-float:hover ~ .wa-float-tooltip,
.wa-float:focus ~ .wa-float-tooltip {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 575.98px) {
    .wa-float { bottom: 1.25rem; right: 1.25rem; width: 3rem; height: 3rem; font-size: 1.5rem; }
    .wa-float-tooltip { display: none; }
}
