/* ================================================================
   PPID DISDIKBUD PROVINSI KALIMANTAN TIMUR
   COMMON PROFILE PAGES STYLESHEET (profile-common.css)
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --profile-navy: #0f2744;
    --profile-navy-dark: #091a2b;
    --profile-blue: #0284c7;
    --profile-blue-light: #e0f2fe;
    --profile-amber: #f59e0b;
    --profile-amber-light: #fef3c7;
    --profile-emerald: #10b981;
    --profile-slate-900: #0f172a;
    --profile-slate-800: #1e293b;
    --profile-slate-700: #334155;
    --profile-slate-600: #475569;
    --profile-slate-500: #64748b;
    --profile-slate-400: #94a3b8;
    --profile-slate-200: #e2e8f0;
    --profile-slate-100: #f1f5f9;
    --profile-slate-50: #f8fafc;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    background-color: #f8fafc !important;
    color: var(--profile-slate-700);
}

/* ================================================================
   1. PROFILE HERO / PAGE HEADER BANNER
   ================================================================ */
.profile-hero-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(9, 26, 43, 0.95) 0%, rgba(15, 39, 68, 0.9) 60%, rgba(2, 132, 199, 0.8) 100%),
                url('../img/hero-bg.jpg') center center / cover no-repeat;
    padding: 44px 0 38px 0 !important;
    color: #ffffff;
    overflow: hidden;
    margin-bottom: 0;
}

.profile-hero-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: 10%;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0) 70%);
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
}

/* ================================================================
   PAGE ENTRANCE ANIMATIONS (Smooth 0.6s - 0.8s Fade-In & Slide-Up)
   ================================================================ */
@keyframes profileEntranceFadeUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 24px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes profileEntranceHero {
    0% {
        opacity: 0;
        transform: translate3d(0, 18px, 0);
    }
    100% {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.profile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    color: #94a3b8;
    margin-bottom: 12px;
    animation: profileEntranceHero 0.65s cubic-bezier(0.16, 1, 0.3, 1) 0.05s both;
}

.profile-breadcrumb a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.profile-breadcrumb a:hover {
    color: #fbbf24;
}

.profile-breadcrumb span.current {
    color: #fbbf24;
    font-weight: 600;
}

.profile-hero-title {
    font-size: clamp(2.15rem, 4vw, 2.9rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
    animation: profileEntranceHero 0.75s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.profile-hero-subtitle {
    font-size: 0.98rem;
    color: #e2e8f0;
    max-width: 680px;
    line-height: 1.6;
    margin-bottom: 0;
    animation: profileEntranceHero 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.22s both;
}

/* ================================================================
   2. MAIN CONTENT CARD
   ================================================================ */
.page-wrapper {
    background-color: #f8fafc;
    padding: 45px 0 70px 0;
}

.profile-content-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 38px;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.03);
    border: 1px solid var(--profile-slate-200);
    animation: profileEntranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
    will-change: transform, opacity;
}

.profile-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-bottom: 22px;
    margin-bottom: 28px;
    border-bottom: 2px solid var(--profile-slate-100);
}

.profile-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: var(--profile-blue-light);
    color: var(--profile-blue);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.profile-badge-tag.amber {
    background: var(--profile-amber-light);
    color: #b45309;
}

.profile-card-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--profile-slate-900);
    margin: 0;
    line-height: 1.3;
}

/* ================================================================
   3. SIDEBAR PROFILE HUB NAVIGATION
   =============================================================== */
.profile-sidebar-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: sticky;
    top: 90px;
    animation: profileEntranceFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
    will-change: transform, opacity;
}

.profile-nav-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--profile-slate-200);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
}

.profile-nav-header {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--profile-slate-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--profile-slate-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-nav-header i {
    color: var(--profile-blue);
}

.profile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profile-nav-item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    color: var(--profile-slate-700);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.22s ease;
    border: 1px solid transparent;
}

.profile-nav-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-nav-item-left i {
    width: 22px;
    text-align: center;
    color: var(--profile-slate-400);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.profile-nav-item a:hover {
    background: var(--profile-slate-50);
    color: var(--profile-blue);
    border-color: var(--profile-slate-200);
    transform: translateX(3px);
}

.profile-nav-item a:hover .profile-nav-item-left i {
    color: var(--profile-blue);
}

.profile-nav-item.active a {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.profile-nav-item.active a .profile-nav-item-left i {
    color: #ffffff;
}

.profile-nav-item a .nav-arrow {
    font-size: 0.75rem;
    opacity: 0.6;
    transition: transform 0.2s;
}

.profile-nav-item a:hover .nav-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.profile-nav-item.active a .nav-arrow {
    opacity: 1;
    color: #ffffff;
}

/* Sidebar Recent Posts Card */
.sidebar-posts-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    border: 1px solid var(--profile-slate-200);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.05);
}

.sidebar-posts-header {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--profile-slate-900);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--profile-slate-100);
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-posts-header i {
    color: var(--profile-blue);
}

.recent-post-item {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--profile-slate-100);
}

.recent-post-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
}

.recent-post-item .post-info a {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--profile-slate-800);
    text-decoration: none;
    display: block;
    line-height: 1.35;
    margin-bottom: 4px;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-item .post-info a:hover {
    color: var(--profile-blue);
}

.recent-post-item .post-info span {
    font-size: 0.78rem;
    color: var(--profile-slate-400);
    display: block;
}

/* Sidebar Quick Helpdesk Banner */
.sidebar-helpdesk-box {
    background: linear-gradient(135deg, #091a2b 0%, #0f2744 100%);
    border-radius: 18px;
    padding: 22px;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.15);
}

.sidebar-helpdesk-box h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
}

.sidebar-helpdesk-box p {
    font-size: 0.82rem;
    color: #cbd5e1;
    margin-bottom: 14px;
    line-height: 1.45;
}

.btn-sidebar-wa {
    background: #25d366;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 8px 14px;
    border-radius: 9999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.btn-sidebar-wa:hover {
    background: #20ba59;
    transform: translateY(-2px);
    color: #ffffff !important;
}

/* ================================================================
   4. RESPONSIVE MEDIA QUERIES
   ================================================================ */
@media (max-width: 991px) {
    .profile-hero-banner {
        padding: 32px 0 28px 0 !important;
        text-align: center;
    }
    .profile-breadcrumb {
        justify-content: center;
    }
    .profile-hero-title {
        font-size: 1.85rem;
    }
    .profile-content-card {
        padding: 24px;
    }
    .profile-sidebar-wrapper {
        position: static;
        margin-top: 30px;
    }
}

/* ================================================================
   MAKLUMAT PELAYANAN INFORMASI PUBLIK (GovTech Premium UI/UX)
   ================================================================ */
.maklumat-document-wrapper {
    position: relative;
}

.maklumat-header-section {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.maklumat-badge {
    display: inline-flex;
    align-items: center;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 12px;
    letter-spacing: 0.3px;
    border: 1px solid #bae6fd;
}

.maklumat-title {
    font-size: 1.55rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
    margin: 0;
    line-height: 1.35;
    text-transform: uppercase;
}

.maklumat-lead-statement {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #334155;
    margin-bottom: 28px;
    font-weight: 500;
}

.maklumat-ordered-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.maklumat-ordered-list li {
    margin: 0;
}

.maklumat-list-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.maklumat-list-content:hover {
    background: #ffffff;
    border-color: #38bdf8;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
    transform: translateX(4px);
}

.maklumat-item-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: #0284c7;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.92rem;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.maklumat-item-text {
    font-size: 1rem;
    line-height: 1.65;
    color: #1e293b;
    font-weight: 500;
    padding-top: 3px;
}

.maklumat-signature-wrapper {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1.5px solid #cbd5e1;
    border-left: 5px solid #0284c7;
    border-radius: 16px;
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 28px;
}

.maklumat-signer-info {
    flex: 1;
    min-width: 240px;
}

.maklumat-signer-role {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px 0;
}

.maklumat-signer-instansi {
    font-size: 0.92rem;
    color: #64748b;
    margin: 0;
    font-weight: 600;
}

.maklumat-stamp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid #10b981;
    color: #065f46;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.12);
}

