/* ============================================================
   PPM — Partner Page CSS
   ============================================================ */

/* PAGE HERO */
.page-hero {
    padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem) !important;
    background:
        radial-gradient(ellipse at 100% 0%, rgba(99,102,241,.2) 0%, transparent 50%),
        radial-gradient(ellipse at 0% 100%, rgba(245,158,11,.15) 0%, transparent 45%),
        linear-gradient(135deg, #0f172a 0%, #1e1b4b 60%, #312e81 100%) !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
    z-index: 0;
}
.page-hero > .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff !important; font-size: clamp(1.9rem, 4vw, 3rem) !important; font-weight: 800 !important; letter-spacing: -.035em !important; }
.page-hero p { color: rgba(255,255,255,.75) !important; font-size: 1.05rem !important; }
.page-hero .breadcrumb { --bs-breadcrumb-divider-color: rgba(255,255,255,.4); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,.7) !important; }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,.5) !important; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4) !important; }

/* FILTER BAR */
.form-control {
    border-radius: 10px !important; border-color: #e2e8f0 !important;
    padding: .65rem 1rem !important; font-size: .9rem !important;
    background: #f8fafc !important; box-shadow: none !important;
}
.form-control:focus {
    border-color: #6366f1 !important; background: #fff !important;
    box-shadow: 0 0 0 3px rgba(99,102,241,.12) !important;
}

/* Pill filter tahun */
.btn-outline-secondary.rounded-pill {
    border-color: #e2e8f0 !important; color: #64748b !important;
    background: #f8fafc !important; font-weight: 500 !important;
    font-size: .82rem !important;
    transition: all .2s !important;
}
.btn-outline-secondary.rounded-pill:hover {
    border-color: #c7d2fe !important; color: #4f46e5 !important;
    background: #eef2ff !important;
}
.btn-primary.rounded-pill {
    background: linear-gradient(135deg, #4f46e5, #6d28d9) !important;
    border: none !important; font-weight: 600 !important;
    font-size: .82rem !important;
    box-shadow: 0 4px 12px rgba(79,70,229,.3) !important;
}

/* PARTNER CARD */
@keyframes partnerGlow {
    0%, 100% { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 0 0 rgba(99,102,241,0); }
    50%       { box-shadow: 0 2px 12px rgba(15,23,42,.06), 0 0 18px 4px rgba(99,102,241,.16); }
}
.partner-page-card {
    border: 1px solid #e8ecf4 !important;
    border-radius: 20px !important;
    background: #fff !important;
    padding: 2rem 1.5rem 1.5rem !important;
    text-align: center !important;
    animation: partnerGlow 3s ease-in-out infinite !important;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1) !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}
.partner-page-card:hover {
    transform: translateY(-6px) !important;
    animation: none !important;
    box-shadow: 0 20px 48px rgba(79,70,229,.18), 0 0 0 2px rgba(99,102,241,.2) !important;
}

/* Logo box */
.partner-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 120px !important;
    border: 1px solid #e8ecf4 !important;
    border-radius: 14px !important;
    background: #f8fafc !important;
    margin-bottom: 1rem !important;
    overflow: hidden !important;
    text-decoration: none !important;
    transition: border-color .2s, background .2s !important;
}
.partner-card:hover {
    border-color: #c7d2fe !important;
    background: #eef2ff !important;
}
.partner-card img {
    max-width: 75% !important;
    max-height: 80px !important;
    object-fit: contain !important;
    filter: none !important;
    opacity: 1 !important;
}
.partner-placeholder {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #6366f1 !important;
}

/* Nama partner */
.partner-page-name {
    font-size: .95rem !important;
    font-weight: 700 !important;
    color: #0f172a !important;
    margin-bottom: .5rem !important;
    line-height: 1.4 !important;
}

/* Badge tahun */
.bg-primary-subtle { background: #eef2ff !important; }
.text-primary { color: #4f46e5 !important; }

/* Link website / PDF */
.partner-page-link {
    display: inline-flex !important;
    align-items: center !important;
    font-size: .8rem !important;
    font-weight: 600 !important;
    color: #4f46e5 !important;
    text-decoration: none !important;
    padding: .35rem .85rem !important;
    border-radius: 999px !important;
    background: #eef2ff !important;
    border: 1px solid #c7d2fe !important;
    transition: all .2s !important;
}
.partner-page-link:hover {
    background: #4f46e5 !important;
    color: #fff !important;
    border-color: #4f46e5 !important;
}
.partner-page-link.text-danger {
    color: #dc2626 !important;
    background: #fff1f2 !important;
    border-color: #fecaca !important;
}
.partner-page-link.text-danger:hover {
    background: #dc2626 !important;
    color: #fff !important;
    border-color: #dc2626 !important;
}

/* Empty state */
.empty-state { padding: 3rem 1rem; text-align: center; color: #94a3b8; }
.empty-state i { font-size: 2.5rem; opacity: .4; display: block; margin-bottom: .75rem; }
