/* ===== NAVBAR ===== */
.landing-navbar-custom {
    background-color: #87e2e4;
    background-image: linear-gradient(to bottom, #00b0b3, #008f91);
    border: none !important;
}

/* Override Vuexy light-style navbar (specificity 0-4-0 > 0-3-0 bawaan Vuexy) */
.light-style .layout-navbar .navbar.landing-navbar.landing-navbar-custom {
    background: linear-gradient(to bottom, #00b0b3, #008f91) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 143, 145, 0.2);
}

/* Override saat scrolled (navbar-active) */
.light-style
    .layout-navbar.navbar-active
    .navbar.landing-navbar.landing-navbar-custom {
    background: linear-gradient(to bottom, #00b0b3, #008f91) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 143, 145, 0.3);
}

/* Override Vuexy dark-style navbar */
.dark-style .layout-navbar .navbar.landing-navbar.landing-navbar-custom {
    background: linear-gradient(to bottom, #00b0b3, #008f91) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(0, 143, 145, 0.25);
}

.dark-style
    .layout-navbar.navbar-active
    .navbar.landing-navbar.landing-navbar-custom {
    background: linear-gradient(to bottom, #009496, #007a7c) !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(0, 143, 145, 0.4);
}

/* Pastikan menu text tetap putih di kedua mode */
.light-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .menu-text,
.dark-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .menu-text {
    color: #fff !important;
}

/* ===== NAVBAR NAV-LINK HOVER & ACTIVE (PILL STYLE) ===== */
.landing-navbar-custom .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.88) !important;
    font-weight: 600;
    padding: 8px 16px !important;
    border-radius: 8px;
    transition: all 0.25s ease;
}

/* Hover state: Pill background transparan */
.landing-navbar-custom .navbar-nav .nav-link:hover,
.landing-navbar-custom .navbar-nav .nav-link:focus {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.18) !important;
}

/* Active state: Solid White Pill + Teal Text (Kontras Tinggi) */
.landing-navbar-custom .navbar-nav .active > .nav-link,
.landing-navbar-custom .navbar-nav .nav-link.active {
    color: #008f91 !important;
    background: #ffffff !important;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Penyesuaian khusus Light & Dark mode jika Vuexy menimpa specificity */
.light-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .navbar-nav
    .active
    > .nav-link,
.light-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .navbar-nav
    .nav-link.active,
.dark-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .navbar-nav
    .active
    > .nav-link,
.dark-style
    .layout-navbar
    .navbar.landing-navbar.landing-navbar-custom
    .navbar-nav
    .nav-link.active {
    color: #008f91 !important;
    background: #ffffff !important;
}

/* ===== HERO SECTION ===== */
#landingHero {
    padding-top: 135px !important;
    padding-bottom: 2rem !important;
}

.banner-img {
    width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.carousel-item:hover .banner-img {
    transform: scale(1.01);
}

.carousel-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
    pointer-events: none;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background-color: transparent;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #fff;
    opacity: 1;
    transform: scale(1.2);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    background-size: 50%;
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.6);
}

/* ===== TABLET & MOBILE RESPONSIVE (max-width: 991px) ===== */
@media screen and (max-width: 991px) {
    /* Mobile Drawer Navigation Menu Fix */
    .navbar.landing-navbar .landing-nav-menu {
        padding-top: 3.5rem !important;
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
    }

    .navbar.landing-navbar .landing-nav-menu .navbar-toggler {
        top: 0.75rem !important;
        right: 0.75rem !important;
        position: absolute;
        z-index: 10;
        padding: 6px !important;
        background: rgba(255, 255, 255, 0.15) !important;
        border-radius: 50% !important;
        width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .navbar.landing-navbar .landing-nav-menu .navbar-toggler i {
        color: #ffffff !important;
        font-size: 1.4rem !important;
    }

    .navbar.landing-navbar .landing-nav-menu .navbar-nav {
        margin-top: 0.5rem;
    }

    #landingHero {
        padding-top: 110px !important;
        padding-bottom: 1.5rem !important;
    }

    .landing-navbar-custom {
        margin-top: 0.5rem !important;
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .landing-navbar-custom .app-brand-link img {
        width: 34px !important;
        height: 34px !important;
    }

    .landing-navbar-custom .app-brand-text {
        font-size: 1rem !important;
    }

    .landing-navbar-custom .btn {
        padding: 6px 12px !important;
        font-size: 0.8rem !important;
    }

    .banner-img {
        max-height: 220px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .footer-modern .footer-top-section .row > div {
        margin-bottom: 1.5rem;
    }
}

/* ===== MOBILE RESPONSIVE (max-width: 640px) ===== */
@media screen and (max-width: 640px) {
    #landingHero {
        padding-top: 95px !important;
        padding-bottom: 1rem !important;
    }

    .banner-img {
        max-height: 180px;
        min-height: 110px;
    }

    .carousel-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 2rem;
        height: 2rem;
    }

    #carouselExample {
        border-radius: 8px !important;
    }

    .landing-navbar-custom .app-brand-link img {
        width: 32px !important;
        height: 32px !important;
    }

    .landing-navbar-custom .app-brand-text {
        font-size: 0.95rem !important;
    }

    .btn-cta-teal {
        padding: 10px 24px;
        font-size: 0.85rem;
    }

    .footer-modern .footer-top-section {
        padding: 2.5rem 0 1.5rem;
    }

    .footer-modern .footer-section-title {
        font-size: 0.8rem;
        margin-bottom: 1rem;
    }

    .footer-modern .footer-social-icons {
        justify-content: center;
    }

    .footer-modern .footer-brand-desc {
        text-align: center;
        margin: 0 auto;
    }

    .footer-modern .footer-bottom-section .d-flex {
        flex-direction: column !important;
        text-align: center !important;
        gap: 0.5rem !important;
    }

    .footer-modern .footer-clock {
        justify-content: center;
    }
}

/* ===== SMALL MOBILE (max-width: 375px) ===== */
@media screen and (max-width: 375px) {
    #landingHero {
        padding-top: 88px !important;
    }

    .banner-img {
        max-height: 140px;
        min-height: 95px;
    }

    .landing-navbar-custom .app-brand-link img {
        width: 28px !important;
        height: 28px !important;
    }

    .landing-navbar-custom .app-brand-text {
        font-size: 0.85rem !important;
    }

    .btn-cta-teal {
        padding: 8px 20px;
        font-size: 0.8rem;
    }
}

/* ===== QUICK STATS ===== */
.stats-card {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 14px !important;
    overflow: hidden;
    background: var(--bs-paper-bg);
    border: 1px solid var(--bs-border-color) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05) !important;
}

.light-style .stats-card {
    background: #ffffff;
    border: 1px solid #e2e8f0 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04) !important;
}

.dark-style .stats-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2) !important;
}

.stats-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 176, 179, 0.18) !important;
    border-color: #00b0b3 !important;
}

.stats-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    transition: transform 0.3s ease;
}

.stats-card:hover .stats-icon {
    transform: scale(1.1);
}

.stats-number {
    font-size: 1.5rem;
    line-height: 1.2;
}

@media (max-width: 576px) {
    .stats-number {
        font-size: 1.1rem;
    }
    .stats-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
}

/* ===== PENGUMUMAN SECTION ===== */
.notice-card {
    border-radius: 10px !important;
    transition: all 0.3s ease;
    border-left: none;
}

.notice-card:hover {
    transform: translateX(6px);
    box-shadow: var(--bs-box-shadow) !important;
}

.notice-title:hover {
    color: var(--bs-primary) !important;
}

/* ===== PAKET TAB & TABLE ===== */
#paketTab .nav-link {
    border-radius: 50px !important;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--bs-body-color);
    border: 1px solid #d0d7de;
    background: #ffffff;
    padding: 10px 24px !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.dark-style #paketTab .nav-link {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
}

#paketTab .nav-link:hover {
    background: rgba(0, 176, 179, 0.08);
    border-color: #00b0b3;
    color: #008f91;
    transform: translateY(-2px);
}

#paketTab .nav-link.active {
    background: linear-gradient(135deg, #00b0b3 0%, #008f91 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 176, 179, 0.35) !important;
}

.paket-card {
    border-radius: 12px !important;
    overflow: hidden;
    transition: all 0.3s ease;
}

.paket-card:hover {
    box-shadow: var(--bs-box-shadow) !important;
}

.paket-card .table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--bs-body-color);
    border-bottom: 2px solid var(--bs-border-color);
}

.paket-card .table tbody tr {
    transition: background-color 0.2s ease;
}

.tab-content > .tab-pane {
    animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* ===== SUB-PAGE COMMON STYLES ===== */

/* --- Page Header Banner (Soft Elegant Style) --- */
.page-header-banner {
    background: linear-gradient(135deg, #f0fdfa 0%, #e6fffa 50%, #ccfbf1 100%);
    border: 1px solid #b2f5ea;
    border-radius: 12px;
    padding: 1.15rem 1.4rem;
    margin-bottom: 1.25rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 143, 145, 0.06);
    display: flex;
    align-items: center;
    gap: 1.15rem;
}

.dark-style .page-header-banner {
    background: linear-gradient(
        135deg,
        rgba(15, 118, 110, 0.22) 0%,
        rgba(13, 148, 136, 0.15) 100%
    );
    border-color: rgba(45, 212, 191, 0.25);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-header-banner::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -5%;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(0, 143, 145, 0.04);
    pointer-events: none;
}

.dark-style .page-header-banner::before {
    background: rgba(45, 212, 191, 0.04);
}

.page-header-banner::after {
    content: "";
    position: absolute;
    bottom: -50%;
    left: -5%;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(0, 143, 145, 0.03);
    pointer-events: none;
}

.page-header-banner .page-header-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00b0b3, #008f91);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 0;
    box-shadow: 0 3px 10px rgba(0, 176, 179, 0.25);
    flex-shrink: 0;
}

.page-header-banner .page-header-content {
    flex-grow: 1;
}

.page-header-banner .page-header-title {
    color: #0f766e;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.15rem;
    letter-spacing: -0.2px;
    line-height: 1.3;
}

.dark-style .page-header-banner .page-header-title {
    color: #5ed5d7;
}

.page-header-banner .page-header-subtitle {
    color: #334155;
    font-size: 0.83rem;
    margin-bottom: 0;
    max-width: 600px;
}

.dark-style .page-header-banner .page-header-subtitle {
    color: rgba(255, 255, 255, 0.75);
}

.page-header-banner .page-header-breadcrumb {
    margin-top: 0.3rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
}

.page-header-banner .page-header-breadcrumb a {
    color: #0d9488;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-header-banner .page-header-breadcrumb a:hover {
    color: #0f766e;
    text-decoration: underline;
}

.dark-style .page-header-banner .page-header-breadcrumb a {
    color: #2dd4bf;
}

.dark-style .page-header-banner .page-header-breadcrumb a:hover {
    color: #5ed5d7;
}

.page-header-banner .page-header-breadcrumb .breadcrumb-separator {
    color: #94a3b8;
    font-size: 0.7rem;
}

.dark-style .page-header-banner .page-header-breadcrumb .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.page-header-banner .page-header-breadcrumb .breadcrumb-current {
    color: #0f766e;
    font-weight: 600;
}

.dark-style .page-header-banner .page-header-breadcrumb .breadcrumb-current {
    color: #ffffff;
}

/* --- Sub-Page Card Wrapper --- */
.subpage-card {
    border-radius: 14px !important;
    border: 1px solid var(--bs-border-color) !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
    transition: box-shadow 0.3s ease;
}

.light-style .subpage-card {
    background: #ffffff;
    border-color: #e2e8f0 !important;
}

.dark-style .subpage-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

/* --- Sub-Page Filter Section --- */
.subpage-filter {
    padding: 1.25rem;
    border-bottom: 1px solid var(--bs-border-color);
    background: var(--bs-body-bg);
    border-radius: 14px 14px 0 0;
}

.subpage-filter .filter-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #008f91;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.subpage-filter .btn-filter {
    background: linear-gradient(135deg, #00b0b3, #008f91);
    border: none;
    color: #fff;
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 176, 179, 0.25);
}

.subpage-filter .btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(0, 176, 179, 0.35);
}

.subpage-filter .btn-refresh {
    background: var(--bs-body-bg);
    border: 1px solid var(--bs-border-color);
    color: var(--bs-body-color);
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.subpage-filter .btn-refresh:hover {
    background: var(--bs-tertiary-bg);
    transform: translateY(-1px);
}

/* --- Sub-Page DataTable Styling --- */
.subpage-card .card-datatable {
    padding: 0 1.25rem 1.25rem;
}

.subpage-card .table thead th {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #008f91;
    border-bottom: 2px solid rgba(0, 143, 145, 0.2);
    padding: 0.85rem 0.75rem;
    white-space: nowrap;
}

.dark-style .subpage-card .table thead th {
    color: #5ed5d7;
    border-bottom-color: rgba(0, 176, 179, 0.2);
}

.subpage-card .table tbody tr {
    transition: background-color 0.2s ease;
}

.subpage-card .table tbody tr:hover {
    background-color: rgba(0, 176, 179, 0.03) !important;
}

.dark-style .subpage-card .table tbody tr:hover {
    background-color: rgba(0, 176, 179, 0.06) !important;
}

/* --- Contact Page Redesign --- */
.contact-info-card {
    border-radius: 14px !important;
    border: 1px solid var(--bs-border-color) !important;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.light-style .contact-info-card {
    background: #ffffff;
    border-color: #e2e8f0 !important;
}

.dark-style .contact-info-card {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.contact-item:hover {
    background: rgba(0, 176, 179, 0.04);
    transform: translateX(4px);
}

.contact-item .contact-icon-box,
.contact-info-card .contact-icon-box {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover .contact-icon-box {
    transform: scale(1.08);
}

.contact-item .contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--bs-secondary-color);
    margin-bottom: 2px;
}

.contact-item .contact-value {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--bs-heading-color);
    margin-bottom: 0;
}

.contact-item .contact-value a {
    color: var(--bs-heading-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact-item .contact-value a:hover {
    color: #008f91;
}

/* Contact Icon Colors */
.contact-icon-schedule {
    background: rgba(0, 143, 145, 0.1);
    color: #008f91;
}
.contact-icon-email {
    background: rgba(25, 135, 242, 0.1);
    color: #1987f2;
}
.contact-icon-phone {
    background: rgba(255, 159, 67, 0.1);
    color: #ff9f43;
}
.contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}
.contact-icon-telegram {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}
.contact-icon-website {
    background: rgba(234, 84, 85, 0.1);
    color: #ea5455;
}
.contact-icon-address {
    background: rgba(108, 117, 125, 0.1);
    color: #6c757d;
}

/* Dark mode contact icon adjustments */
.dark-style .contact-icon-schedule {
    background: rgba(0, 176, 179, 0.15);
}
.dark-style .contact-icon-email {
    background: rgba(25, 135, 242, 0.15);
}
.dark-style .contact-icon-phone {
    background: rgba(255, 159, 67, 0.15);
}
.dark-style .contact-icon-whatsapp {
    background: rgba(37, 211, 102, 0.15);
}
.dark-style .contact-icon-telegram {
    background: rgba(0, 136, 204, 0.15);
}
.dark-style .contact-icon-website {
    background: rgba(234, 84, 85, 0.15);
}
.dark-style .contact-icon-address {
    background: rgba(108, 117, 125, 0.15);
}

/* --- Section spacing for sub-pages (override mt-5) --- */
.subpage-section {
    padding-top: 8rem !important;
    padding-bottom: 3rem !important;
}

@media screen and (max-width: 640px) {
    .subpage-section {
        padding-top: 6rem !important;
    }

    .page-header-banner {
        padding: 1.5rem 1.25rem;
        border-radius: 12px;
    }

    .page-header-banner .page-header-title {
        font-size: 1.2rem;
    }

    .page-header-banner .page-header-icon {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .subpage-filter .row {
        gap: 0.5rem;
    }

    .contact-item {
        padding: 0.75rem 1rem;
    }

    .contact-item .contact-icon-box {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
}

/* ===== FOOTER REDESIGN ===== */
.footer-modern {
    position: relative;
    overflow: hidden;
}

.footer-modern .footer-top-section {
    padding: 4rem 0 2.5rem;
    position: relative;
    z-index: 1;
}

.footer-modern .footer-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.footer-modern .footer-bg-pattern::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(0, 176, 179, 0.06);
}

.footer-modern .footer-bg-pattern::after {
    content: "";
    position: absolute;
    top: 10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(0, 143, 145, 0.04);
}

.footer-modern .footer-brand-desc {
    color: var(--bs-body-color);
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 400px;
}

.footer-modern .footer-section-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--bs-heading-color);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-modern .footer-section-title::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, #00b0b3, #008f91);
}

.footer-modern .footer-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.88rem;
    color: var(--bs-body-color);
    text-decoration: none;
    transition: all 0.25s ease;
}

.footer-modern .footer-nav-link:hover {
    color: #00b0b3;
    padding-left: 6px;
}

.footer-modern .footer-nav-link i {
    font-size: 0.75rem;
    color: #00b0b3;
    transition: transform 0.25s ease;
}

.footer-modern .footer-nav-link:hover i {
    transform: translateX(3px);
}

.footer-modern .footer-social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-modern .footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #5d6778;
    background: #f0f2f5;
    border: 1px solid #e0e3e8;
    text-decoration: none;
    transition: all 0.3s ease;
}

/* Dark mode: icon social lebih terang agar terlihat jelas */
.dark-style .footer-modern .footer-social-btn {
    color: #c5cdd8;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

.footer-modern .footer-social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 176, 179, 0.3);
    color: #fff;
    border-color: transparent;
}

.footer-modern .footer-social-btn.tiktok:hover {
    background: #010101;
}
.footer-modern .footer-social-btn.facebook:hover {
    background: #1877f2;
}
.footer-modern .footer-social-btn.twitter:hover {
    background: #1da1f2;
}
.footer-modern .footer-social-btn.youtube:hover {
    background: #ff0000;
}
.footer-modern .footer-social-btn.instagram:hover {
    background: linear-gradient(
        45deg,
        #f09433,
        #e6683c,
        #dc2743,
        #cc2366,
        #bc1888
    );
}

.footer-modern .footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 1rem;
}

.footer-modern .footer-contact-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: rgba(0, 176, 179, 0.1);
    color: #00b0b3;
}

.footer-modern .footer-contact-text {
    font-size: 0.88rem;
    color: var(--bs-body-color);
    line-height: 1.5;
}

.footer-modern .footer-contact-text a {
    color: var(--bs-body-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-modern .footer-contact-text a:hover {
    color: #00b0b3;
}

.footer-modern .footer-divider {
    border-top: 1px solid var(--bs-border-color);
    margin: 0;
}

/* Light Mode Footer Bottom (Terang) */
.footer-modern .footer-bottom-section {
    padding: 1.25rem 0;
    background: #f8f9fa;
    border-top: 1px solid var(--bs-border-color);
    position: relative;
    z-index: 2;
}

.footer-modern .footer-bottom-text {
    font-size: 0.84rem;
    color: var(--bs-body-color);
}

.footer-modern .footer-bottom-text a {
    color: #008f91 !important;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-modern .footer-bottom-text a:hover {
    color: #00b0b3 !important;
    text-decoration: underline;
}

.footer-modern .footer-clock {
    font-size: 0.84rem;
    color: var(--bs-body-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Dark Mode Footer Bottom (Gelap - Tetap Sesuai) */
.dark-style .footer-modern .footer-bottom-section {
    background: #1a1c2e;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.dark-style .footer-modern .footer-bottom-text {
    color: rgba(255, 255, 255, 0.75);
}

.dark-style .footer-modern .footer-bottom-text a {
    color: #00b0b3 !important;
    font-weight: 700;
}

.dark-style .footer-modern .footer-bottom-text a:hover {
    color: #fff !important;
}

.dark-style .footer-modern .footer-clock {
    color: rgba(255, 255, 255, 0.75);
}

/* ===== CTA BUTTONS ===== */
.btn-cta-teal {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 32px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: #fff;
    background: linear-gradient(135deg, #00b0b3 0%, #008f91 100%);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 176, 179, 0.3);
    z-index: 1;
}

.btn-cta-teal::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00cdd0 0%, #00a5a8 100%);
    transition: left 0.4s ease;
    z-index: -1;
}

.btn-cta-teal:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 176, 179, 0.45);
}

.btn-cta-teal:hover::before {
    left: 0;
}

.btn-cta-teal:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 176, 179, 0.3);
}

.btn-cta-teal i,
.btn-cta-teal .tf-icons {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.btn-cta-teal:hover i,
.btn-cta-teal:hover .tf-icons {
    transform: translateX(3px);
}

.rup-modal .modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--bs-box-shadow);
}

.rup-modal .modal-header {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #764ba2 100%);
    padding: 20px 28px;
    border-bottom: none;
}

.rup-modal .modal-header .modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: 0.3px;
}

.rup-modal .rup-close-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.25s ease;
    padding: 0;
    line-height: 1;
}

.rup-modal .rup-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: rotate(90deg);
}

.rup-modal .modal-body {
    padding: 28px;
    background: var(--bs-body-bg);
}

.rup-modal .rup-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.rup-modal .rup-section-title i {
    font-size: 1.1rem;
}

.rup-modal .rup-section-title::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--bs-primary) 0%, transparent 100%);
    border-radius: 2px;
}

.rup-modal .rup-info-card {
    background: var(--bs-modal-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--bs-box-shadow-sm);
    border: 1px solid var(--bs-border-color);
}

.rup-modal .rup-info-grid {
    width: 100%;
    border-collapse: collapse;
}

.rup-modal .rup-info-grid tr {
    border-bottom: 1px solid var(--bs-border-color);
    transition: background-color 0.2s ease;
}

.rup-modal .rup-info-grid tr:last-child {
    border-bottom: none;
}

.rup-modal .rup-info-grid tr:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.06);
}

.rup-modal .rup-info-grid .rup-label {
    padding: 13px 18px;
    font-weight: 600;
    color: var(--bs-body-color);
    background: rgba(var(--bs-primary-rgb), 0.04);
    border-right: 3px solid var(--bs-primary);
    width: 250px;
    font-size: 0.82rem;
    white-space: nowrap;
    vertical-align: middle;
}

.rup-modal .rup-info-grid .rup-label i {
    margin-right: 8px;
    color: var(--bs-primary);
    font-size: 0.95rem;
    vertical-align: middle;
}

.rup-modal .rup-info-grid .rup-value {
    padding: 13px 18px;
    color: var(--bs-heading-color);
    font-size: 0.85rem;
    vertical-align: middle;
}

.rup-modal .rup-info-grid .rup-value.rup-value-highlight {
    font-weight: 700;
    color: var(--bs-primary);
    font-size: 0.9rem;
}

.rup-modal .modal-footer {
    background: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding: 16px 28px;
}

.rup-modal .modal-footer .btn {
    border-radius: 8px;
    padding: 8px 20px;
    font-weight: 600;
    font-size: 0.82rem;
    transition: all 0.25s ease;
}

.rup-modal .modal-footer .btn-rup-close {
    background: var(--bs-secondary-bg);
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
}

.rup-modal .modal-footer .btn-rup-close:hover {
    background: var(--bs-border-color);
    color: var(--bs-heading-color);
}

.rup-modal .modal-footer .btn-rup-print {
    background: linear-gradient(135deg, var(--bs-primary) 0%, #764ba2 100%);
    color: #fff;
    border: none;
    box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.35);
}

.rup-modal .modal-footer .btn-rup-print:hover {
    box-shadow: 0 6px 20px rgba(var(--bs-primary-rgb), 0.5);
    transform: translateY(-1px);
}

/* Empty state */
.rup-modal .rup-empty-state {
    text-align: center;
    padding: 40px 20px;
}

.rup-modal .rup-empty-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: rgba(var(--bs-primary-rgb), 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: rup-pulse 2s ease-in-out infinite;
}

.rup-modal .rup-empty-icon i {
    font-size: 2rem;
    color: var(--bs-primary);
}

@keyframes rup-pulse {
    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(var(--bs-primary-rgb), 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 12px rgba(var(--bs-primary-rgb), 0);
    }
}

.rup-modal .rup-empty-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--bs-heading-color);
    margin-bottom: 8px;
}

.rup-modal .rup-empty-subtitle {
    font-size: 0.85rem;
    color: var(--bs-body-color);
    max-width: 380px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Schedule sub-table */
.rup-modal .rup-schedule-row {
    border-bottom: 1px solid var(--bs-border-color);
}

.rup-modal .rup-schedule-row:last-child {
    border-bottom: none;
}

.rup-modal .rup-schedule-row:hover {
    background-color: rgba(var(--bs-primary-rgb), 0.06);
}

.rup-modal .rup-schedule-label {
    padding: 13px 18px;
    font-weight: 600;
    color: var(--bs-body-color);
    background: rgba(var(--bs-primary-rgb), 0.04);
    border-right: 3px solid var(--bs-primary);
    width: 250px;
    font-size: 0.82rem;
    vertical-align: middle;
}

.rup-modal .rup-schedule-label i {
    margin-right: 8px;
    color: var(--bs-primary);
    font-size: 0.95rem;
    vertical-align: middle;
}

.rup-modal .rup-schedule-detail {
    padding: 8px 18px;
    vertical-align: middle;
}

.rup-modal .rup-schedule-inner {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--bs-border-color);
    border-radius: 8px;
    overflow: hidden;
}

.rup-modal .rup-schedule-inner th {
    background: rgba(var(--bs-primary-rgb), 0.06);
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--bs-body-color);
    border: 1px solid var(--bs-border-color);
    width: 50%;
}

.rup-modal .rup-schedule-inner td {
    padding: 8px 14px;
    font-size: 0.82rem;
    color: var(--bs-heading-color);

    /* ===== REDESIGN LOGIN USER TYPE MODAL ===== */
    .btn-close-modal-custom:hover {
        background: rgba(255, 255, 255, 0.4) !important;
        transform: rotate(90deg);
    }

    .user-option-btn {
        position: relative;
        overflow: hidden;
    }

    .user-option-btn.penyedia-btn:hover {
        border-color: #10b981 !important;
        background: #ecfdf5 !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(16, 185, 129, 0.18) !important;
    }

    .user-option-btn.internal-btn:hover {
        border-color: #6366f1 !important;
        background: #eef2ff !important;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(99, 102, 241, 0.18) !important;
    }

    /* Dark Mode Modal Styles */
    .dark-style .login-user-modal .modal-content {
        background: #1e293b !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .dark-style .user-option-btn {
        background: #0f172a !important;
        border-color: rgba(255, 255, 255, 0.12) !important;
    }

    .dark-style .user-option-btn.penyedia-btn:hover {
        background: rgba(0, 176, 179, 0.15) !important;
        border-color: #00c9cc !important;
    }

    .dark-style .user-option-btn.internal-btn:hover {
        background: rgba(99, 102, 241, 0.15) !important;
        border-color: #818cf8 !important;
    }

    .dark-style .user-option-btn p {
        color: #94a3b8 !important;
    }

    @media print {
        nav,
        footer,
        section,
        .modal-backdrop,
        .modal:not(.rup-modal) {
            display: none !important;
        }

        .rup-modal .modal-footer {
            display: none !important;
        }

        .rup-modal .rup-close-btn {
            display: none !important;
        }

        .rup-modal {
            position: static !important;
            display: block !important;
            overflow: visible !important;
            background: transparent !important;
        }

        .rup-modal .modal-dialog {
            max-width: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            transform: none !important;
        }

        .rup-modal .modal-content {
            border: none !important;
            box-shadow: none !important;
            border-radius: 0 !important;
        }

        .rup-modal .modal-body {
            padding: 15px !important;
        }

        .rup-modal .modal-header {
            background: #667eea !important;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }

        .rup-modal .rup-info-card {
            background: #fff !important;
            border: 1px solid #ddd !important;
        }

        .rup-modal .rup-info-grid .rup-label,
        .rup-modal .rup-schedule-label {
            background: #f5f5f5 !important;
            color: #333 !important;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }

        .rup-modal .rup-info-grid .rup-value,
        .rup-modal .rup-schedule-inner td {
            color: #333 !important;
            background: #fff !important;
        }

        .rup-modal .rup-schedule-inner th {
            background: #eee !important;
            color: #333 !important;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }

        .rup-modal .rup-section-title {
            color: #667eea !important;
            -webkit-print-color-adjust: exact !important;
            print-color-adjust: exact !important;
        }

        html,
        body {
            height: auto !important;
            overflow: visible !important;
        }

        .rup-modal .rup-info-card {
            page-break-inside: avoid;
        }
    }
}

/* === Statistik Anggaran Accordion Toggle === */
.badge[data-bs-toggle="collapse"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(115, 103, 240, 0.3);
}

.badge[data-bs-toggle="collapse"]:active {
    transform: translateY(0);
}
