/* ==========================================================================
   RSU Sebening Kasih - Redesign V2 Stylesheet (Exact Stitch Fidelity)
   Colors: Medical Blue (#0472c7) & Warm Golden Yellow (#ffc621)
   ========================================================================== */

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

:root {
    --rsbk-blue: #0472c7;
    --rsbk-blue-dark: #005696;
    --rsbk-blue-light: #eff6ff;
    --rsbk-blue-soft: #f0f7fd;
    --rsbk-yellow: #ffc621;
    --rsbk-yellow-hover: #e5b018;
    --rsbk-yellow-light: #fffbeb;
    --rsbk-red: #dc2626;
    --rsbk-red-light: #fef2f2;
    --rsbk-dark: #0f172a;
    --rsbk-slate: #334155;
    --rsbk-muted: #64748b;
    --rsbk-border: #e2e8f0;
    --rsbk-card-bg: #ffffff;
    --rsbk-body-bg: #ffffff;
    --stitch-footer-bg: #e0f2fe;
    --stitch-footer-border: #bae6fd;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--rsbk-slate);
    background-color: var(--rsbk-body-bg);
    overflow-x: hidden;
}

/* ==========================================================================
   RSBK THEME COLOR SYSTEM (Enforce brand colors, eliminate Bootstrap defaults)
   ========================================================================== */
.text-primary,
a.text-primary,
.link-primary {
    color: var(--rsbk-blue) !important;
}

.bg-primary {
    background-color: var(--rsbk-blue) !important;
}

.border-primary {
    border-color: var(--rsbk-blue) !important;
}

.btn-primary {
    background-color: var(--rsbk-blue) !important;
    border-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--rsbk-blue-dark) !important;
    border-color: var(--rsbk-blue-dark) !important;
    color: #ffffff !important;
}

.btn-outline-primary {
    color: var(--rsbk-blue) !important;
    border-color: var(--rsbk-blue) !important;
}

.btn-outline-primary:hover {
    background-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
}

/* Yellow / Warning Brand Tokens */
.text-warning,
a.text-warning {
    color: var(--rsbk-yellow) !important;
}

.bg-warning {
    background-color: var(--rsbk-yellow) !important;
    color: var(--rsbk-dark) !important;
}

.border-warning {
    border-color: var(--rsbk-yellow) !important;
}

.btn-warning {
    background-color: var(--rsbk-yellow) !important;
    border-color: var(--rsbk-yellow) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
    background-color: var(--rsbk-yellow-hover) !important;
    border-color: var(--rsbk-yellow-hover) !important;
    color: #0f172a !important;
}

/* Soft Brand Badges & Backgrounds */
.bg-primary-soft,
.bg-primary-subtle {
    background-color: var(--rsbk-blue-light) !important;
    color: var(--rsbk-blue) !important;
}

.border-primary-subtle {
    border-color: #bfdbfe !important;
}

.border-light-subtle {
    border-color: #e2e8f0 !important;
}

.p-3\.5 {
    padding: 1.125rem !important;
}

/* Legal / Regulatory Callout Card */
.legal-callout-card {
    background: linear-gradient(135deg, #f0f7fd 0%, #ffffff 100%) !important;
    border: 1px solid #cce3f8 !important;
    border-left: 5px solid var(--rsbk-blue) !important;
    box-shadow: 0 2px 12px rgba(4, 114, 199, 0.06);
}

.legal-callout-card .legal-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 12px;
    background: var(--rsbk-blue);
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(4, 114, 199, 0.22);
}

.bg-warning-soft {
    background-color: var(--rsbk-yellow-light) !important;
    color: #92400e !important;
}

.text-rsbk-blue {
    color: var(--rsbk-blue) !important;
}

.text-rsbk-yellow {
    color: var(--rsbk-yellow) !important;
}

.text-rsbk-muted {
    color: var(--rsbk-muted) !important;
}

/* --------------------------------------------------------------------------
   Top Bar Area (RS JIH Solo Style)
   -------------------------------------------------------------------------- */
.top-bar-v2 {
    background-color: #ffffff;
    border-bottom: 1px solid var(--rsbk-border);
    padding: 0.75rem 0;
}

.top-bar-v2 .brand-logo img {
    height: 52px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.top-bar-v2 .brand-logo:hover img {
    transform: scale(1.02);
}

.top-bar-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background-color: #ffffff;
    transition: all 0.2s ease;
    text-decoration: none;
}

.top-bar-info-item:hover {
    background-color: var(--rsbk-blue-soft);
    text-decoration: none;
}

.top-bar-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}

.top-bar-icon-box.emergency {
    background-color: var(--rsbk-red-light);
    color: var(--rsbk-red);
}

.top-bar-icon-box.callcenter {
    background-color: var(--rsbk-blue-light);
    color: var(--rsbk-blue);
}

.top-bar-icon-box.whatsapp {
    background-color: #ecfdf5;
    color: #059669;
}

.top-bar-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.top-bar-text .label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--rsbk-muted);
    text-transform: uppercase;
}

.top-bar-text .value {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--rsbk-dark);
}

/* --------------------------------------------------------------------------
   Main Navigation Bar
   -------------------------------------------------------------------------- */
.main-navbar-v2 {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--rsbk-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    z-index: 1030 !important;
}

.main-navbar-v2 .navbar-nav-stitch {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navbar-v2 .navbar-nav-stitch .nav-link {
    font-size: 0.875rem;
    /* 14px like Stitch */
    font-weight: 500;
    color: #4b5563;
    padding: 0.5rem 0 0.25rem 0 !important;
    position: relative;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.main-navbar-v2 .navbar-nav-stitch .nav-link:hover {
    color: var(--rsbk-blue);
}

.main-navbar-v2 .navbar-nav-stitch .nav-link.active {
    color: var(--rsbk-blue) !important;
    font-weight: 600;
    border-bottom: 2px solid var(--rsbk-blue);
}

/* Desktop Header: Blue background with white menu text */
@media (min-width: 992px) {
    .main-navbar-v2 {
        background-color: var(--rsbk-blue) !important;
        border-bottom: none;
        box-shadow: 0 3px 12px rgba(4, 114, 199, 0.18);
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link {
        color: rgba(255, 255, 255, 0.88);
        padding: 0.75rem 0 0.55rem 0 !important;
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link:hover {
        color: #ffffff;
        border-bottom: 2px solid #bae6fd;
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link.active {
        color: #ffffff !important;
        font-weight: 600;
        border-bottom: 2px solid var(--rsbk-yellow);
    }
}

.btn-cta-pendaftaran {
    background-color: var(--rsbk-yellow) !important;
    color: var(--rsbk-blue) !important;
    font-weight: 800 !important;
    font-size: 0.88rem !important;
    padding: 0.55rem 1.25rem !important;
    border-radius: 8px !important;
    border: none !important;
    box-shadow: 0 2px 5px rgba(255, 198, 33, 0.35);
    transition: all 0.2s ease !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none !important;
}

.btn-cta-pendaftaran:hover {
    background-color: var(--rsbk-yellow-hover) !important;
    color: var(--rsbk-blue-dark) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(255, 198, 33, 0.45);
}

/* --------------------------------------------------------------------------
   Hero Carousel
   -------------------------------------------------------------------------- */
.hero-carousel-wrapper {
    padding: 1.5rem 0 0.5rem;
}

.hero-carousel-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.07);
    background-color: #0f172a;
    border: 1px solid var(--rsbk-border);
}

.hero-carousel-card .carousel-indicators [data-bs-target] {
    width: 24px;
    height: 5px;
    border-radius: 4px;
    background-color: #ffffff;
    opacity: 0.5;
    margin: 0 3px;
    transition: all 0.3s ease;
}

.hero-carousel-card .carousel-indicators .active {
    width: 38px;
    background-color: var(--rsbk-yellow);
    opacity: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1.25rem;
    opacity: 0.85;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: #ffffff;
    opacity: 1;
    transform: translateY(-50%) scale(1.06);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(34%) sepia(85%) saturate(1682%) hue-rotate(185deg) brightness(88%) contrast(98%);
    width: 18px;
    height: 18px;
}

/* --------------------------------------------------------------------------
   Room Detail Carousel (Layanan Inap V2)
   -------------------------------------------------------------------------- */
.room-slide-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background-color: #0f172a;
    overflow: hidden;
}

.room-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.room-slide-caption {
    position: absolute;
    bottom: 12px;
    left: 14px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.78rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    pointer-events: none;
    z-index: 2;
    display: inline-flex;
    align-items: center;
}

/* --------------------------------------------------------------------------
   Navigation Quick Action Cards (3 Cards ala Stitch)
   -------------------------------------------------------------------------- */
.quick-action-section {
    padding: 2rem 0 3.5rem;
}

.quick-card-link {
    text-decoration: none !important;
    display: block;
    height: 100%;
}

.quick-action-card {
    background: #ffffff;
    border: 1px solid var(--rsbk-border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--rsbk-yellow);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(4, 114, 199, 0.1);
    border-color: var(--rsbk-yellow);
}

.quick-action-card:hover::before {
    opacity: 1;
}

.quick-card-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background-color: var(--rsbk-yellow-light);
    color: var(--rsbk-yellow-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.65rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 198, 33, 0.3);
}

.quick-action-card:hover .quick-card-icon-box {
    background-color: var(--rsbk-yellow);
    color: var(--rsbk-dark);
    transform: scale(1.06);
}

.quick-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--rsbk-blue);
    margin-bottom: 0.35rem;
    transition: color 0.2s ease;
}

.quick-action-card:hover .quick-card-title {
    color: var(--rsbk-blue-dark);
}

.quick-card-desc {
    font-size: 0.85rem;
    color: var(--rsbk-muted);
    margin-bottom: 0;
    font-weight: 400;
}

/* --------------------------------------------------------------------------
/* ==========================================================================
   FOOTER V2 (NUANSA SEJUK #e0f2fe)
   ========================================================================== */
.footer-stitch {
    background-color: var(--stitch-footer-bg);
    background: linear-gradient(180deg, #e0f2fe 0%, #d5edfd 100%);
    color: #334155;
    margin-top: auto;
    font-size: 0.835rem;
    border-top: 1px solid var(--stitch-footer-border);
}

.footer-stitch .footer-col-content {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
}

.footer-desc {
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.65;
    margin-bottom: 1rem;
}

.footer-heading {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    border-bottom: 2px solid var(--stitch-footer-border);
    padding-bottom: 0.6rem;
    margin-bottom: 1.15rem;
    letter-spacing: -0.01em;
}

.footer-address-item:hover .footer-address-title {
    color: #0472c7 !important;
}

.footer-address-title {
    color: #0f172a !important;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-address-subtitle {
    color: #64748b !important;
    font-size: 0.8rem;
}

.text-stitch-yellow {
    color: #0284c7 !important;
}

.text-stitch-muted {
    color: #64748b !important;
}

.footer-contact-list li {
    font-size: 0.835rem;
    color: #334155;
}

.footer-contact-list strong,
.footer-contact-list strong a {
    color: #0f172a !important;
    transition: color 0.2s ease;
}

.footer-contact-list strong a:hover {
    color: #0472c7 !important;
}

/* --------------------------------------------------------------------------
   STITCH COMPONENT: EMERGENCY CALL CENTER CARD
   -------------------------------------------------------------------------- */
.emergency-call-card {
    background-color: #ffffff;
    border: 1px solid var(--stitch-footer-border);
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 14px rgba(4, 114, 199, 0.08);
}

.emergency-call-card:hover {
    background-color: #ffffff;
    border-color: #0472c7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(4, 114, 199, 0.16);
}

.emergency-card-header {
    margin-bottom: 0.4rem;
}

.emergency-card-title {
    color: #0284c7;
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.emergency-card-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: #dc2626 !important;
    text-decoration: none;
    display: block;
    margin-bottom: 0.35rem;
    letter-spacing: 0.02em;
    transition: color 0.2s ease;
}

.emergency-card-phone:hover {
    color: #b91c1c !important;
    text-decoration: none;
}

/* Social Media Buttons */
.footer-social-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background-color: #ffffff;
    border: 1px solid var(--stitch-footer-border);
    color: #0284c7 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(4, 114, 199, 0.06);
}

.footer-social-box:hover {
    background-color: #0472c7;
    border-color: #0472c7;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 114, 199, 0.24);
}

/* Bottom Bar */
.footer-stitch-bottom {
    background-color: #0472c7;
    padding: 1rem 0;
    font-size: 0.78rem;
    color: #fff;
    font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .top-bar-info-wrapper {
        display: none !important;
    }

    .main-navbar-v2 .navbar-nav-stitch {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 0.75rem 0 0.5rem;
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link {
        padding: 0.7rem 0.5rem !important;
        border-bottom: 1px solid #f1f5f9;
        font-size: 0.92rem;
        font-weight: 500;
        color: #334155;
        transition: all 0.2s ease;
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link:hover,
    .main-navbar-v2 .navbar-nav-stitch .nav-link:focus {
        color: var(--rsbk-blue);
        background-color: #f0f7fd;
        border-radius: 6px;
    }

    .main-navbar-v2 .navbar-nav-stitch .nav-link.active {
        color: var(--rsbk-blue) !important;
        font-weight: 600;
        border-bottom: 1px solid var(--rsbk-blue);
        background-color: #f0f7fd !important;
        border-radius: 6px;
    }

    /* Fullwidth CTA on Mobile */
    .btn-cta-pendaftaran {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        text-align: center;
    }

    /* Mobile Quick Contact Cards at bottom of menu */
    .mobile-menu-footer {
        border-top: 1px solid #e2e8f0;
    }

    .mobile-contact-card {
        display: flex;
        align-items: center;
        gap: 0.85rem;
        padding: 0.7rem 0.85rem;
        background-color: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        text-decoration: none !important;
        transition: all 0.2s ease;
    }

    .mobile-contact-card:hover,
    .mobile-contact-card:active {
        background-color: #f1f5f9;
        border-color: #cbd5e1;
        transform: translateY(-1px);
    }

    .mobile-contact-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        flex-shrink: 0;
    }

    .mobile-contact-card.emergency .mobile-contact-icon {
        background-color: #fef2f2;
        color: #dc2626;
    }

    .mobile-contact-card.callcenter .mobile-contact-icon {
        background-color: #eff6ff;
        color: var(--rsbk-blue);
    }

    .mobile-contact-card.whatsapp .mobile-contact-icon {
        background-color: #ecfdf5;
        color: #059669;
    }

    .mobile-contact-text {
        display: flex;
        flex-direction: column;
        line-height: 1.25;
    }

    .mobile-contact-label {
        font-size: 0.68rem;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        color: #64748b;
    }

    .mobile-contact-val {
        font-size: 0.88rem;
        font-weight: 700;
        color: #1e293b;
    }
}

/* --------------------------------------------------------------------------
   Floating Draggable WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-wa-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    width: 76px;
    height: 76px;
    display: block;
    outline: none;
    text-decoration: none !important;
    border-radius: 18px;
    cursor: pointer;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -webkit-user-drag: none;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.floating-wa-container:hover {
    transform: scale(1.06);
}

.floating-wa-container.is-dragging {
    cursor: grabbing !important;
    transform: scale(1.04);
    transition: none !important;
}

.floating-wa-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 6px 16px rgba(37, 211, 102, 0.45)) drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
    transition: filter 0.2s ease;
    -webkit-user-drag: none;
}

.floating-wa-container:hover .floating-wa-img {
    filter: drop-shadow(0 8px 22px rgba(37, 211, 102, 0.65)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.22));
}

@media (max-width: 768px) {
    .floating-wa-container {
        width: 58px;
        height: 58px;
        bottom: 20px;
        right: 18px;
    }
}

/* --------------------------------------------------------------------------
   V2 Inner Pages Common Styles & Reusable Utilities
   -------------------------------------------------------------------------- */
.title-accent-bar,
.page-header-v2 .title-accent-bar {
    width: 48px;
    height: 3px;
    background-color: var(--rsbk-yellow);
    border-radius: 2px;
}

.leading-relaxed {
    line-height: 1.65 !important;
}

.leading-snug {
    line-height: 1.35 !important;
}

.letter-spacing-1 {
    letter-spacing: 0.05em !important;
}

.content-card-v2 {
    background-color: #ffffff;
    border: 1px solid var(--rsbk-border);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.sidebar-sticky-card {
    background-color: #ffffff;
    border: 1px solid var(--rsbk-border);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.sidebar-sticky-card a {
    color: var(--rsbk-slate);
    text-decoration: none;
    transition: color 0.2s ease;
}

.sidebar-sticky-card a:hover {
    color: var(--rsbk-blue);
    text-decoration: underline;
}

/* Nav Pills V2 (Layanan) */
.nav-pills-v2 .nav-link {
    color: var(--rsbk-slate);
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-pills-v2 .nav-link:hover {
    color: var(--rsbk-blue);
    background-color: rgba(4, 114, 199, 0.06);
}

.nav-pills-v2 .nav-link.active {
    background-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(4, 114, 199, 0.25);
}

/* Table V2 (Jadwal Dokter) */
.table-container-card {
    background-color: #ffffff;
    border: 1px solid var(--rsbk-border);
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.table-v2 thead th {
    background-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    padding: 0.85rem 0.75rem;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.table-v2 tbody th.table-col-num {
    background-color: #f8fafc;
    color: var(--rsbk-muted);
    font-weight: 700;
    font-size: 0.85rem;
}

.table-v2 tbody th.table-col-clinic {
    background-color: #f8fafc;
    color: var(--rsbk-blue);
    font-weight: 700;
    font-size: 0.85rem;
}

.table-v2 tbody td {
    font-size: 0.88rem;
    color: #334155;
    padding: 0.8rem 0.65rem;
}

.table-v2 tbody tr:hover td,
.table-v2 tbody tr:hover th {
    background-color: #f0f7fd !important;
}

/* Schedule Notice Card */
.schedule-notice-card {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.notice-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #eff6ff;
    color: var(--rsbk-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    border: 1px solid #bfdbfe;
}

.badge-notice-important {
    background-color: #dbeafe;
    color: #1e40af;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.15rem 0.55rem;
    border-radius: 9999px;
    letter-spacing: 0.02em;
}

/* Schedule Help Banner (Customer Care) */
.schedule-help-banner {
    background: linear-gradient(135deg, #004d88 0%, #00599e 50%, #0472c7 100%);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    color: #ffffff;
    box-shadow: 0 8px 20px -4px rgba(4, 114, 199, 0.22);
    position: relative;
    overflow: hidden;
}

.schedule-help-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
}

.schedule-help-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1.3;
}

.schedule-help-desc {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.86rem;
    line-height: 1.45;
    margin-bottom: 0;
}

.schedule-help-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    align-items: center;
    justify-content: flex-end;
}

.btn-help-call {
    background: #ffffff !important;
    color: var(--rsbk-blue, #00599e) !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-help-call:hover {
    background: #f8fafc !important;
    color: #003e6b !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.12);
}

.btn-help-wa {
    background: #ffc621 !important;
    color: #0f172a !important;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.55rem 1.15rem;
    border-radius: 50px;
    border: none;
    box-shadow: 0 3px 8px rgba(255, 198, 33, 0.25);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    text-decoration: none;
    white-space: nowrap;
}

.btn-help-wa:hover {
    background: #f5b80c !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(255, 198, 33, 0.35);
}

@media (max-width: 991.98px) {
    .schedule-help-actions {
        justify-content: flex-start;
        margin-top: 0.75rem;
    }
}

@media (max-width: 575.98px) {
    .schedule-help-banner {
        padding: 1.25rem;
    }

    .btn-help-call,
    .btn-help-wa {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   Dropdown Hover V2
   -------------------------------------------------------------------------- */
.dropdown-hover-v2 .dropdown-toggle::after {
    display: none !important;
}

.dropdown-chevron {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}

@media (min-width: 992px) {
    .dropdown-hover-v2 {
        position: relative;
        padding-bottom: 0.5rem;
        margin-bottom: -0.5rem;
    }

    .dropdown-hover-v2>.dropdown-menu-v2 {
        display: block !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(6px);
        transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
        pointer-events: none;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 200px;
        background: #ffffff;
        border-radius: 12px;
        box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15) !important;
        border: 1px solid rgba(226, 232, 240, 0.95) !important;
        margin-top: 0 !important;
        /* No gap between nav and dropdown */
        padding: 0.4rem !important;
        z-index: 1050;
    }

    /* Invisible bridge to prevent mouse leaving hover area */
    .dropdown-hover-v2>.dropdown-menu-v2::before {
        content: '';
        position: absolute;
        top: -16px;
        left: 0;
        right: 0;
        height: 16px;
        background: transparent;
        display: block;
    }

    .dropdown-hover-v2:hover>.dropdown-menu-v2,
    .dropdown-hover-v2:focus-within>.dropdown-menu-v2 {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .dropdown-hover-v2:hover .dropdown-chevron {
        transform: rotate(180deg);
    }
}

@media (max-width: 991.98px) {
    .dropdown-menu-v2 {
        background: #ffffff;
        border-radius: 12px;
        border: 1px solid #e2e8f0 !important;
        box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
        margin-top: 0.4rem;
        padding: 0.6rem 0.5rem !important;
    }
}

/* Simple text dropdown items (no icons, no descriptions) */
.dropdown-v2-simple-item {
    color: #1e293b !important;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 0.6rem 0.9rem !important;
    border-radius: 8px;
    transition: all 0.18s ease;
    text-decoration: none;
    display: block;
}

.dropdown-v2-simple-item:hover,
.dropdown-v2-simple-item:focus,
.dropdown-v2-simple-item.active {
    background-color: #f0f7fd !important;
    color: var(--rsbk-blue) !important;
    padding-left: 1.15rem !important;
}

/* --------------------------------------------------------------------------
   Profil & Tentang Kami Page Components
   -------------------------------------------------------------------------- */
html {
    scroll-behavior: smooth;
}

.scroll-target-v2 {
    scroll-margin-top: 100px;
}

/* Hero Picture with Glass Address Badge */
.profil-hero-img-wrap {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
    border: 1px solid var(--rsbk-border);
}

.profil-hero-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profil-hero-img-wrap:hover img {
    transform: scale(1.02);
}

.profil-hero-badge {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.25s ease;
    cursor: pointer;
}

.profil-hero-badge:hover {
    background: rgba(4, 114, 199, 0.94);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.profil-hero-badge .fa-arrow-up-right-from-square {
    transition: transform 0.2s ease, color 0.2s ease;
}

.profil-hero-badge:hover .fa-arrow-up-right-from-square {
    transform: translate(2px, -2px);
    color: #ffffff !important;
}

/* Milestone Timeline Cards */
.milestone-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.1rem;
    transition: all 0.25s ease;
}

.milestone-card:hover {
    border-color: var(--rsbk-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 114, 199, 0.08);
}

.milestone-card.highlight {
    background: #fffdf0;
    border-color: #fde047;
    box-shadow: 0 4px 14px rgba(255, 198, 33, 0.15);
}

.milestone-card.highlight:hover {
    border-color: #eab308;
    transform: translateY(-2px);
}

/* 9 Tugas & Fungsi Cards */
.fungsi-card {
    position: relative;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.25s ease;
    height: 100%;
}

.fungsi-card:hover {
    background: #ffffff;
    border-color: var(--rsbk-blue);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(4, 114, 199, 0.1);
}

.fungsi-bg-number {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    transform: translateY(-50%);
    font-size: 7.5rem;
    font-weight: 900;
    line-height: 0.85;
    color: #0f172a;
    opacity: 0.05;
    user-select: none;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.fungsi-card:hover .fungsi-bg-number {
    opacity: 0.11;
    color: var(--rsbk-blue);
    transform: translateY(-50%) scale(1.04);
}

.fungsi-card>*:not(.fungsi-bg-number) {
    position: relative;
    z-index: 1;
}

.fungsi-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--rsbk-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.fungsi-card:hover .fungsi-icon-box {
    transform: scale(1.08);
    background: var(--rsbk-blue);
    color: #ffffff;
}

/* Motto Banner Gradient */
.motto-banner-v2 {
    background: linear-gradient(135deg, #005696 0%, #0472c7 100%);
    border-radius: 16px;
    padding: 2rem 2.25rem;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(4, 114, 199, 0.2);
}

.motto-banner-v2::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.motto-quote-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--rsbk-yellow);
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* 6 Core Values Grid */
.value-card-v2 {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    transition: all 0.25s ease;
    height: 100%;
}

.value-card-v2:hover {
    border-color: var(--rsbk-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.value-num-badge {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #eff6ff;
    color: var(--rsbk-blue);
    font-weight: 800;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Visi & Misi */
.visi-card-v2 {
    background: #f0f7fd;
    border: 2px solid rgba(4, 114, 199, 0.2);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
}

.misi-card-v2 {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.75rem;
}

.misi-item-v2 {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 1rem 1.15rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.misi-item-v2:hover {
    transform: translateX(4px);
    border-color: #cbd5e1;
}

.misi-check-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dcfce7;
    color: #15803d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Sidebar Quick Nav & Widgets */
.quick-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.quick-nav-link:hover {
    color: var(--rsbk-blue) !important;
    background-color: #f1f5f9;
    transform: translateX(3px);
}

.quick-nav-link .nav-arrow {
    font-size: 0.75rem;
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
}

.quick-nav-link:hover .nav-arrow {
    transform: translateX(3px);
    color: var(--rsbk-blue);
}

.sidebar-emergency-card {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(220, 38, 38, 0.25);
    position: relative;
    overflow: hidden;
}

.pulse-beacon {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--rsbk-yellow);
    box-shadow: 0 0 0 0 rgba(255, 198, 33, 0.7);
    animation: beaconPulse 1.8s infinite;
}

@keyframes beaconPulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 198, 33, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(255, 198, 33, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(255, 198, 33, 0);
    }
}

/* --------------------------------------------------------------------------
   Clickable Address Links (Google Maps)
   -------------------------------------------------------------------------- */
.address-map-link {
    transition: all 0.2s ease;
    cursor: pointer;
}

.address-map-link:hover {
    color: var(--rsbk-blue) !important;
    text-decoration: underline !important;
}

.footer-address-item {
    transition: all 0.2s ease;
    cursor: pointer;
}

.footer-address-item:hover .footer-address-title {
    color: #0472c7 !important;
}

.footer-address-item:hover .footer-address-subtitle {
    color: #334155 !important;
}

.footer-address-item i {
    transition: transform 0.2s ease, color 0.2s ease;
}

.footer-address-item:hover i {
    color: #0472c7 !important;
    transform: translateY(-2px);
}

/* ==========================================================================
   RS JIH SOLO STYLE - LAYANAN RUMAH SAKIT
   Header Visual & Akreditasi + 5 Kategori Layanan Accordion
   ========================================================================== */
.hero-layanan-v2 {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-bottom: 1px solid rgba(226, 232, 240, 0.85);
    position: relative;
    overflow: hidden;
}

.hero-layanan-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    border-radius: 9999px;
    background-color: #e0f2fe;
    color: var(--rsbk-blue);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid #bae6fd;
}

.akreditasi-badge-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.95rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s ease;
}

.akreditasi-badge-card:hover {
    border-color: var(--rsbk-blue);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(4, 114, 199, 0.08);
}

.hero-visual-card {
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #ffffff;
    border: 3px solid #ffffff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.3s ease;
}

.hero-visual-img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.hero-visual-card:hover .hero-visual-img {
    transform: scale(1.03);
}

.floating-glass-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 0.75rem;
    padding: 0.5rem 0.85rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    z-index: 2;
}

.card-service-accordion {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    /* Fix GPU/WebKit overflow clipping bug */
    isolation: isolate;
    transform: translateZ(0);
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* Saat card sedang di-collapse (tertutup): tinggi menyusut otomatis mengikuti header */
.card-service-accordion.is-collapsed,
.card-service-accordion:not(:has(.collapse.show)):not(:has(.collapsing)) {
    height: auto !important;
    align-self: flex-start;
}

.card-service-accordion:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
    border-color: #cbd5e1;
}

.card-service-accordion .collapse.show {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.card-service-accordion .collapse.show>div {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.service-header-trigger {
    padding: 1.35rem 1.5rem;
    color: #ffffff;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    /* Eksplisit border-radius agar tidak mengandalkan clipping parent semata */
    border-top-left-radius: calc(1.15rem - 1px);
    border-top-right-radius: calc(1.15rem - 1px);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    transition: border-radius 0.25s ease;
}

.service-header-trigger.collapsed {
    border-bottom-left-radius: calc(1.15rem - 1px);
    border-bottom-right-radius: calc(1.15rem - 1px);
}

.service-header-trigger::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    pointer-events: none;
}

.service-header-trigger .chevron-toggle {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, background-color 0.2s ease;
    font-size: 0.9rem;
    color: #ffffff;
    flex-shrink: 0;
}

.service-header-trigger:hover .chevron-toggle {
    background: rgba(255, 255, 255, 0.35);
}

.service-header-trigger.collapsed .chevron-toggle {
    transform: rotate(0deg);
}

.service-header-trigger:not(.collapsed) .chevron-toggle {
    transform: rotate(180deg);
}

/* Specific Header Gradients */
.header-grad-igd {
    background: linear-gradient(135deg, #dc2626 0%, #be123c 100%);
}

.header-grad-rajal {
    background: linear-gradient(135deg, #0472c7 0%, #0284c7 100%);
}

.header-grad-ranap {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
}

.header-grad-penunjang {
    background: linear-gradient(135deg, #0472c7 0%, #059669 100%);
}

.header-grad-intensif {
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
}

/* Service Sub-item Link (Clickable for IGD & Ranap) */
.service-subitem-link {
    display: block;
    padding: 0.9rem 1.1rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    color: var(--rsbk-slate);
    text-decoration: none;
    transition: all 0.2s ease;
}

.service-subitem-link:hover {
    background: #ffffff;
    border-color: var(--rsbk-blue);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(4, 114, 199, 0.08);
    color: var(--rsbk-blue);
}

.service-subitem-link .subitem-arrow {
    transition: transform 0.2s ease;
    color: var(--rsbk-blue);
}

.service-subitem-link:hover .subitem-arrow {
    transform: translateX(3px);
}

/* Informative Clinic / Unit Item (Non-redirect) */
.service-static-item {
    padding: 0.65rem 0.85rem;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    border-radius: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.15s ease;
}

.service-static-item:hover {
    background: #f1f5f9;
}

.clinic-badge-num {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 50%;
    background: #e0f2fe;
    color: var(--rsbk-blue);
    font-weight: 700;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.clinic-scroll-container {
    max-height: 420px;
    overflow-y: auto;
    padding-right: 0.35rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

@media (min-width: 992px) {
    .clinic-scroll-container {
        flex: 1 1 0;
        min-height: 350px;
        max-height: 100%;
        height: 100%;
    }
}

.clinic-scroll-container::-webkit-scrollbar {
    width: 5px;
}

.clinic-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.clinic-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.clinic-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

.search-service-input:focus {
    border-color: var(--rsbk-blue) !important;
    box-shadow: 0 0 0 0.25rem rgba(4, 114, 199, 0.15) !important;
}

/* ==========================================================================
   Rawat Inap Distinct Card Items
   ========================================================================== */
.ranap-list-container {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.card-ranap-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.95rem 1.15rem;
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 0.95rem;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-ranap-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

/* VVIP Variant */
.card-ranap-vvip {
    background: linear-gradient(135deg, #fffbeb 0%, #fff7ed 100%);
    border-color: #fcd34d;
}

.card-ranap-vvip:hover {
    border-color: #f59e0b;
    box-shadow: 0 6px 18px rgba(245, 158, 11, 0.15);
}

/* VIP Variant */
.card-ranap-vip {
    background: #ffffff;
    border-color: #fed7aa;
}

.card-ranap-vip:hover {
    border-color: #f97316;
    box-shadow: 0 6px 18px rgba(249, 115, 22, 0.12);
}

/* Kelas 1, 2, 3 Variant */
.card-ranap-standard {
    background: #ffffff;
    border-color: #e2e8f0;
}

.card-ranap-standard:hover {
    border-color: var(--rsbk-blue);
    box-shadow: 0 6px 18px rgba(4, 114, 199, 0.1);
}

.ranap-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.ranap-chevron-box {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.card-ranap-link:hover .ranap-chevron-box {
    transform: translateX(3px);
}


/* ==========================================================================
   Penunjang Medis & Layanan Intensif Clean Card Styles
   ========================================================================== */
.penunjang-item-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    height: 100%;
    transition: all 0.2s ease;
}

.penunjang-item-card:hover {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.08);
    transform: translateY(-2px);
}

.penunjang-icon-box {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.penunjang-item-card:hover .penunjang-icon-box {
    background: #059669;
    color: #ffffff;
}

.intensif-banner-box {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    border: 1px solid #c7d2fe;
    border-radius: 0.85rem;
    padding: 0.85rem 1.15rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.intensif-banner-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: #4f46e5;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.intensif-unit-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 1rem 1.15rem;
    transition: all 0.2s ease;
}

.intensif-unit-card:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
    transform: translateY(-2px);
}

/* ==========================================================================
   Card Panggilan Cepat IGD (Layanan V2) - Attached Footer Design
   ========================================================================== */
.card-igd-emergency {
    margin-top: 1rem;
    background: #ffffff;
    border: 1.5px solid #fecaca;
    border-radius: 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.05);
    transition: all 0.25s ease;
}

.card-igd-emergency:hover {
    border-color: #f87171;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.12);
}

.card-igd-emergency-body {
    padding: 1.15rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: #ffffff;
}

.card-igd-emergency-icon {
    width: 2.85rem;
    height: 2.85rem;
    border-radius: 50%;
    background: #dc2626;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
}

.card-igd-emergency-label {
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #dc2626;
    display: block;
    margin-bottom: 0.15rem;
}

.card-igd-emergency-number {
    font-size: 1.45rem;
    font-weight: 800;
    color: #b91c1c;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.card-igd-emergency-footer {
    width: 100%;
    background: #dc2626;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.925rem;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border-top: 1px solid #dc2626;
    transition: all 0.2s ease;
}

.card-igd-emergency-footer:hover {
    background: #b91c1c;
    color: #ffffff !important;
    text-decoration: none;
}

/* ==========================================================================
   E-LEAFLET & BROSUR EDUKASI PORTAL (RS JIH SOLO STYLE & DETAIL LAYANAN)
   ========================================================================== */

.hero-leaflet-v2 {
    background: linear-gradient(135deg, #f8fafc 0%, #edf5ff 100%);
    border-bottom: 1px solid #e2e8f0;
}

.leaflet-pill-btn {
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #475569;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 9999px;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.leaflet-pill-btn:hover {
    background: #f1f5f9;
    color: var(--rsbk-blue);
    border-color: #93c5fd;
}

.leaflet-pill-btn.active {
    background: var(--rsbk-blue);
    color: #ffffff;
    border-color: var(--rsbk-blue);
    box-shadow: 0 4px 12px rgba(4, 114, 199, 0.25);
}

/* Vertical Category Filter in Card (Gaya Tentang Kami) */
.leaflet-cat-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    color: #334155;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none !important;
    background: transparent;
    border: none;
    text-align: left;
    transition: all 0.2s ease;
    cursor: pointer;
}

.leaflet-cat-item:hover {
    color: var(--rsbk-blue) !important;
    background-color: #f1f5f9;
    transform: translateX(2px);
}

.leaflet-cat-item.active {
    background-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(4, 114, 199, 0.2);
}

.leaflet-cat-item .cat-count {
    font-size: 0.725rem;
    background-color: #e2e8f0;
    color: #475569;
    font-weight: 600;
    padding: 0.25rem 0.55rem;
    transition: all 0.2s ease;
}

.leaflet-cat-item:hover .cat-count {
    background-color: #cbd5e1;
    color: #1e293b;
}

.leaflet-cat-item.active .cat-count {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

.sidebar-sticky-leaflet {
    position: sticky;
    top: 5.5rem;
    z-index: 20;
}

@media (max-width: 991.98px) {
    .sidebar-sticky-leaflet {
        position: relative;
        top: 0;
        z-index: 1;
    }
}

.leaflet-filter-card {
    max-height: calc(100vh - 7rem);
    display: flex;
    flex-direction: column;
}

.leaflet-category-nav {
    overflow-y: auto;
    flex: 1 1 auto;
    scrollbar-width: thin;
    padding-right: 4px;
}

.leaflet-category-nav::-webkit-scrollbar {
    width: 4px;
}

.leaflet-category-nav::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

/* Badge Button Filter Clickable (Card Search & Filter Terpadu) */
.leaflet-mobile-pill-scroll {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.4rem;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 992px) {
    .leaflet-mobile-pill-scroll {
        flex-wrap: wrap;
    }
}

.leaflet-mobile-pill-scroll::-webkit-scrollbar {
    height: 4px;
}

.leaflet-mobile-pill-scroll::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 4px;
}

.leaflet-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    border-radius: 9999px;
    font-size: 0.825rem;
    font-weight: 600;
    white-space: nowrap;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.leaflet-badge-pill:hover {
    background-color: #edf5ff;
    color: var(--rsbk-blue);
    border-color: #bfdbfe;
}

.leaflet-badge-pill.active {
    background-color: var(--rsbk-blue) !important;
    color: #ffffff !important;
    border-color: var(--rsbk-blue) !important;
    box-shadow: 0 2px 8px rgba(4, 114, 199, 0.25);
}

.leaflet-badge-pill .pill-count {
    font-size: 0.725rem;
    padding: 0.125rem 0.45rem;
    border-radius: 9999px;
    background-color: #e2e8f0;
    color: #475569;
    font-weight: 700;
    transition: all 0.2s ease;
}

.leaflet-badge-pill.active .pill-count {
    background-color: rgba(255, 255, 255, 0.25) !important;
    color: #ffffff !important;
}

/* Sticky Card Search & Filter Khusus di Layar Mobile (< 992px) */
@media (max-width: 991.98px) {
    .leaflet-mobile-sticky-card {
        position: sticky;
        top: 4.25rem;
        z-index: 1020;
        background-color: #ffffff !important;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1) !important;
        border-color: #cbd5e1 !important;
        transition: box-shadow 0.2s ease;
    }
}

.leaflet-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}

.leaflet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: #bfdbfe;
}

/* 3:4 Aspect Ratio Container for Vertical Brochure Mockup */
.leaflet-cover-box {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    background: #f1f5f9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.leaflet-cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.35s ease;
}

.leaflet-card:hover .leaflet-cover-img {
    transform: scale(1.03);
}

/* Elegant Placeholder Box when physical brochure image is pending */
.leaflet-placeholder-flyer {
    width: 100%;
    height: 100%;
    padding: 1.25rem;
    background: linear-gradient(145deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
    border-bottom: 1px solid #cbd5e1;
}

.leaflet-placeholder-watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 7rem;
    color: rgba(4, 114, 199, 0.05);
    pointer-events: none;
    z-index: 0;
}

.leaflet-placeholder-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    gap: 0.5rem;
}

.placeholder-dimension-tag {
    background: #ffffff;
    color: #0369a1;
    font-size: 0.725rem;
    font-weight: 700;
    padding: 0.35rem 0.65rem;
    border-radius: 0.375rem;
    border: 1px dashed #0284c7;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.leaflet-body {
    padding: 1.15rem 1.25rem 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.leaflet-edition-text {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.leaflet-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    margin-bottom: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leaflet-desc {
    font-size: 0.825rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.leaflet-actions {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-read-leaflet {
    flex: 1;
    background: #eff6ff;
    color: var(--rsbk-blue);
    border: 1px solid #bfdbfe;
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-read-leaflet:hover {
    background: var(--rsbk-blue);
    color: #ffffff;
    border-color: var(--rsbk-blue);
}

.btn-detail-leaflet {
    background: #f8fafc;
    color: #475569;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.825rem;
    padding: 0.45rem 0.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.btn-detail-leaflet:hover {
    background: #e2e8f0;
    color: #0f172a;
}

/* Quick Action 4-Cards (Lebih Dekat dengan RSU Sebening Kasih) */
.quick-touch-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    transition: all 0.25s ease;
    text-decoration: none !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.quick-touch-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    border-color: var(--rsbk-blue);
}

.quick-touch-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   INFORMASI V2: INDIKATOR MUTU NASIONAL (IMN) & PRESENTATION DECK
   ========================================================================== */
.imn-stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.imn-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
}

.imn-stat-icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
}

.imn-card-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem 1.35rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.imn-card-item:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 18px rgba(4, 114, 199, 0.08);
    transform: translateY(-2px);
}

.imn-progress-bar {
    height: 8px;
    border-radius: 999px;
    background-color: #e2e8f0;
    overflow: hidden;
}

.presentation-deck-wrap {
    background: #0f172a;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.15);
}

.presentation-slide-preview {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    overflow: hidden;
}

.presentation-pdf-frame {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #323639;
    overflow: hidden;
}

.presentation-pdf-frame object,
.presentation-pdf-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.leaflet-pdf-frame {
    position: relative;
    width: 100%;
    height: 740px;
    background: #323639;
    overflow: hidden;
}

@media (max-width: 768px) {
    .leaflet-pdf-frame {
        height: 520px;
    }
}

.leaflet-pdf-frame object,
.leaflet-pdf-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.pilar-budaya-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    height: 100%;
    transition: all 0.2s ease;
}

.pilar-budaya-card:hover {
    border-color: #0472c7;
    background: #f8fafc;
    transform: translateY(-2px);
}

/* ==========================================================================
   Perpustakaan Online Tabs & Document Cards
   ========================================================================== */
.library-nav-pills-wrap {
    background-color: #f1f5f9;
    padding: 0.375rem;
    border-radius: 999px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border: 1px solid #e2e8f0;
}

.library-nav-pills .nav-link {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1.25rem;
    color: #475569;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.library-nav-pills .nav-link:hover {
    color: #0472c7;
    background-color: rgba(255, 255, 255, 0.85);
}

.library-nav-pills .nav-link.active {
    background-color: #0472c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(4, 114, 199, 0.28);
}

/* ==========================================================================
   Alur Pelayanan V2 - Tab Navigation Pills
   ========================================================================== */
.alur-nav-pills-wrap {
    background-color: #f1f5f9;
    padding: 0.375rem;
    border-radius: 999px;
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    border: 1px solid #e2e8f0;
    max-width: 100%;
}

.alur-nav-pills .nav-link {
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.35rem;
    color: #475569;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alur-nav-pills .nav-link:hover {
    color: #0472c7;
    background-color: rgba(255, 255, 255, 0.85);
}

.alur-nav-pills .nav-link.active {
    background-color: #0472c7 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(4, 114, 199, 0.28);
}

@media (max-width: 575.98px) {
    .alur-nav-pills-wrap {
        width: 100%;
        border-radius: 1rem;
        flex-direction: column;
    }
    .alur-nav-pills {
        width: 100%;
        flex-direction: column;
    }
    .alur-nav-pills .nav-link {
        width: 100%;
        justify-content: center;
        border-radius: 0.75rem;
    }
}

.library-doc-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.25rem;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

.library-doc-card:hover {
    border-color: #0472c7;
    box-shadow: 0 8px 24px rgba(4, 114, 199, 0.12);
    transform: translateY(-3px);
}

.library-doc-card:hover h4 a {
    color: #0472c7 !important;
}

.hover-primary {
    transition: color 0.2s ease;
}

.hover-primary:hover {
    color: #0472c7 !important;
}

/* Quick Nav Sublist Tree Hierarchy */
.quick-nav-sublist {
    position: relative;
    margin-left: 1.1rem;
    padding-left: 0.85rem;
    border-left: 2px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.75rem;
}

.quick-nav-sublink {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.42rem 0.75rem !important;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    background-color: transparent;
}

.quick-nav-sublink .subnav-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #cbd5e1;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.quick-nav-sublink:hover {
    color: #0472c7 !important;
    background-color: #f0f7fd !important;
    transform: translateX(3px);
}

.quick-nav-sublink:hover .subnav-bullet {
    background-color: #0472c7;
    transform: scale(1.3);
}

.quick-nav-sublink.active {
    color: #0472c7 !important;
    font-weight: 600;
    background-color: #e8f3fc !important;
}

.quick-nav-sublink.active .subnav-bullet {
    background-color: #0472c7;
    transform: scale(1.3);
    box-shadow: 0 0 0 3px rgba(4, 114, 199, 0.2);
}

/* ==========================================================================
   Dropdown Submenu (Level 2)
   ========================================================================== */
.dropdown-submenu {
    position: relative;
}

@media (min-width: 992px) {
    .dropdown-submenu>.dropdown-submenu-menu {
        display: block !important;
        position: absolute;
        top: 0;
        left: 100%;
        margin-top: -0.25rem !important;
        margin-left: 0.25rem !important;
        min-width: 220px;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateX(-6px);
        transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1060;
    }

    /* Invisible hover bridge to prevent mouse leaving hover area */
    .dropdown-submenu-menu::before {
        content: '';
        position: absolute;
        top: -6px;
        left: -12px;
        width: 14px;
        height: calc(100% + 12px);
        background: transparent;
        display: block;
    }

    .dropdown-submenu:hover>.dropdown-submenu-menu,
    .dropdown-submenu:focus-within>.dropdown-submenu-menu {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(0);
    }

    .submenu-chevron {
        transition: transform 0.18s ease, color 0.18s ease;
    }

    .dropdown-submenu:hover>.dropdown-v2-simple-item,
    .dropdown-submenu:focus-within>.dropdown-v2-simple-item,
    .dropdown-submenu>.dropdown-v2-simple-item.active {
        background-color: #f0f7fd !important;
        color: var(--rsbk-blue) !important;
        padding-left: 1.15rem !important;
    }

    .dropdown-submenu:hover>.dropdown-item .submenu-chevron,
    .dropdown-submenu:focus-within>.dropdown-item .submenu-chevron,
    .dropdown-submenu>.dropdown-item.active .submenu-chevron {
        color: var(--rsbk-blue) !important;
        transform: translateX(3px);
    }

    .dropdown-submenu-level3 {
        min-width: 320px !important;
    }
}

.mobile-submenu-bullet {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #94a3b8;
    flex-shrink: 0;
    display: inline-block;
    transition: all 0.2s ease;
}

@media (max-width: 991.98px) {
    .dropdown-submenu {
        margin-bottom: 0.55rem;
    }

    .dropdown-submenu:last-child {
        margin-bottom: 0.15rem;
    }

    /* Judul menu induk di mobile */
    .dropdown-submenu>.dropdown-v2-simple-item {
        font-weight: 700 !important;
        color: #0f172a !important;
        font-size: 0.92rem;
        padding: 0.55rem 0.75rem !important;
        border-radius: 8px;
    }

    /* Submenu tree guide line di mobile */
    .dropdown-submenu-menu {
        display: flex !important;
        flex-direction: column;
        gap: 0.2rem;
        position: static;
        background: transparent;
        border: none !important;
        box-shadow: none !important;
        margin: 0.25rem 0 0.4rem 1.15rem !important;
        padding: 0.15rem 0 0.15rem 0.85rem !important;
        border-left: 2px solid #e2e8f0 !important;
    }

    .dropdown-submenu-menu .dropdown-v2-simple-item {
        font-size: 0.85rem;
        font-weight: 500;
        padding: 0.42rem 0.75rem !important;
        color: #475569 !important;
        border-radius: 6px;
        transition: all 0.18s ease;
        display: flex;
        align-items: center;
        gap: 0.6rem;
    }

    .dropdown-submenu-menu .dropdown-v2-simple-item:hover,
    .dropdown-submenu-menu .dropdown-v2-simple-item:active,
    .dropdown-submenu-menu .dropdown-v2-simple-item.active {
        background-color: #f0f7fd !important;
        color: var(--rsbk-blue) !important;
        padding-left: 0.95rem !important;
    }

    .dropdown-submenu-menu .dropdown-v2-simple-item:hover .mobile-submenu-bullet,
    .dropdown-submenu-menu .dropdown-v2-simple-item:active .mobile-submenu-bullet,
    .dropdown-submenu-menu .dropdown-v2-simple-item.active .mobile-submenu-bullet {
        background-color: var(--rsbk-blue);
        transform: scale(1.3);
    }

    .dropdown-submenu-menu .dropdown-submenu {
        margin-bottom: 0.35rem;
    }

    .dropdown-submenu-menu .dropdown-submenu-menu {
        margin: 0.2rem 0 0.35rem 0.5rem !important;
        padding: 0.15rem 0 0.15rem 0.75rem !important;
        border-left: 2px dashed #cbd5e1 !important;
    }
}

/* ==========================================================================
   IGD Detail Clean Feature List Styling
   ========================================================================== */
.igd-features-clean {
    display: flex;
    flex-direction: column;
}

.igd-feature-item {
    padding: 1.25rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.igd-feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0.5rem;
}

.igd-feature-icon {
    width: 44px;
    height: 44px;
    background-color: #fef2f2;
    color: #dc2626;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.igd-feature-subcard {
    padding: 1.25rem 1.35rem;
    border-radius: 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
}

.igd-subcard-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.igd-subcard-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

/* Quick IGD service item in Layanan V2 Overview card */
.igd-quick-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 1rem !important;
    border-radius: 0.65rem !important;
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    color: #334155 !important;
    line-height: 1.5;
    transition: all 0.2s ease;
}

.igd-quick-feature:hover {
    background-color: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

/* Fractional Spacing Utility Classes (Tailwind to Bootstrap compatibility) */
.p-2\.5 {
    padding: 0.65rem 0.85rem !important;
}

.py-2\.5 {
    padding-top: 0.65rem !important;
    padding-bottom: 0.65rem !important;
}

.px-2\.5 {
    padding-left: 0.85rem !important;
    padding-right: 0.85rem !important;
}

.py-0\.5 {
    padding-top: 0.15rem !important;
    padding-bottom: 0.15rem !important;
}

.px-1\.5 {
    padding-left: 0.4rem !important;
    padding-right: 0.4rem !important;
}

.mb-1\.5 {
    margin-bottom: 0.45rem !important;
}

.gap-1\.5 {
    gap: 0.45rem !important;
}

.gap-2\.5 {
    gap: 0.65rem !important;
}

/* ==========================================================================
   Jadwal Dokter V2 - Filter & Enhanced Table Styles
   ========================================================================== */
.filter-container-card {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.2s ease;
}

.search-input-group .form-control {
    border-color: #cbd5e1;
    font-size: 0.95rem;
    padding: 0.65rem 0.85rem;
}

.search-input-group .form-control:focus {
    border-color: var(--rsbk-blue, #0472c7);
    box-shadow: 0 0 0 3px rgba(4, 114, 199, 0.15);
}

.search-input-group:focus-within {
    border-color: var(--rsbk-blue, #0472c7) !important;
    box-shadow: 0 0 0 3px rgba(4, 114, 199, 0.15) !important;
}

.search-input-group .input-group-text {
    border-color: #cbd5e1;
    color: #64748b;
    padding-left: 1rem;
    padding-right: 0.85rem;
}

.clinic-select {
    border-color: #cbd5e1;
    font-size: 0.92rem;
    font-weight: 500;
    color: #1e293b;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
}

.clinic-select:focus {
    border-color: var(--rsbk-blue, #0472c7);
    box-shadow: 0 0 0 3px rgba(4, 114, 199, 0.15);
}

.day-filter-scroll-wrapper {
    overflow-x: auto;
    scrollbar-width: thin;
    padding-bottom: 2px;
}

.btn-day-filter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.4rem 0.9rem;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    color: #475569;
    white-space: nowrap;
    transition: all 0.18s ease;
    cursor: pointer;
}

.btn-day-filter:hover {
    background-color: #f1f5f9;
    border-color: #cbd5e1;
    color: #0f172a;
}

.btn-day-filter.active {
    background-color: var(--rsbk-blue, #0472c7) !important;
    border-color: var(--rsbk-blue, #0472c7) !important;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(4, 114, 199, 0.3);
}

.badge-clinic-name {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    background-color: #eff6ff;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.doctor-name-display {
    font-weight: 600;
    color: #0f172a;
    font-size: 0.92rem;
}

.badge-day-pill {
    display: inline-block;
    padding: 0.3rem 0.7rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    font-size: 0.82rem;
    color: #334155;
    font-weight: 600;
}

.filter-active-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background-color: #dbeafe;
    color: #1e40af;
    border-radius: 50px;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.filter-active-pill .btn-remove-pill {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #1e40af;
    display: inline-flex;
    align-items: center;
}

.filter-active-pill .btn-remove-pill:hover {
    color: #dc2626;
}

.schedule-row {
    transition: background-color 0.15s ease;
}

.schedule-row.row-highlight {
    background-color: #fefce8 !important;
}

.schedule-empty-state {
    background-color: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}