.bg-ppid {
    background: #8F0408 !important;
}

.header-box-ppid {
    background: linear-gradient(135deg, #8F0408 0%, #6D1825 55%, #1A466C 100%);
    padding: 0px;
}

.header-list-ppid {
    max-width: 100%;
    margin: 0px;
}

.header-list-new-ppid {
    max-width: 100%;
    margin: 3vh;
}

.bg-ppid a {
    color: #8F0408;
    pointer-events: none;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.form-control-ppid:focus {
    border-color: #8F0408;
    box-shadow: 0 0 0 0.25rem rgba(143, 4, 8, .25);
}

.service-card-ppid {
    background-color: #8F0408 !important;
}

.service-card-ppid:hover {
    background-color: #116D6E !important;
}

.btn-ppid {
    background-color: #8F0408;
    border-color: #8F0408;
}

.btn-ppid:focus {
    background-color: #8F0408;
}

#GrafikTahunanInformasi .apexcharts-legend-text {
    color: #ffffff !important;
}

.visitor-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    color: #fff;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
}

.visitor-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
}

.visitor-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    opacity: 0.9;
    color: #ffd700;
}

.visitor-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.visitor-count {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.visitor-label {
    font-size: 11px;
    opacity: 0.8;
    margin-bottom: 2px;
}

.visitor-number {
    font-size: 18px;
    font-weight: 700;
}

.visitor-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
}

.visitor-total-pill {
    background: rgba(143, 4, 8, 0.8);
    border-radius: 30px;
    padding: 8px 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 5px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.modal-analytics .modal-content {
    border-radius: 25px;
    border: none;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.stat-box-mini {
    background: #fff;
    padding: 15px;
    border-radius: 15px;
    height: 100%;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-box-mini:hover {
    transform: translateY(-5px);
}

.navbar-modern {
    padding: 0 !important;
    width: 100%;
}

.navbar-toggler-modern {
    display: none;
    background: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    margin: 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-toggler-icon-modern {
    color: #8F0408;
    font-size: 20px;
}

.navbar-nav-modern {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 5px;
}

.nav-item-modern {
    position: relative;
}

.nav-link-modern {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-link-modern i {
    font-size: 16px;
    opacity: 0.7;
}

.nav-link-modern:hover, 
.nav-item-modern:hover .nav-link-modern {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 3px solid #ffd700;
}

.dropdown-menu-modern {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 250px;
    background: #fff;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    display: none;
    list-style: none;
    padding: 15px 0;
    margin: 0;
    z-index: 1000;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-top: 3px solid #8F0408;
}

.nav-item-modern:hover .dropdown-menu-modern {
    display: block;
    transform: translateY(0);
}

.dropdown-item-modern {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 25px;
    color: #444 !important;
    text-decoration: none !important;
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item-modern i {
    width: 20px;
    color: #8F0408;
    opacity: 0.8;
    font-size: 14px;
    text-align: center;
}

.dropdown-item-modern:hover {
    background: #f8f9fa;
    color: #8F0408 !important;
    padding-left: 30px;
}

.dropdown-arrow {
    font-size: 10px !important;
    opacity: 0.5 !important;
    margin-left: 5px;
}

.dropdown-submenu-modern {
    position: relative;
}

.submenu-modern {
    top: 0;
    left: 100%;
    border-radius: 0 15px 15px 15px;
    transform: translateX(10px);
    border-top: none;
    border-left: 3px solid #8F0408;
}

.dropdown-submenu-modern:hover .submenu-modern {
    display: block;
    transform: translateX(0);
}

.submenu-arrow {
    margin-left: auto;
    font-size: 10px !important;
    opacity: 0.5;
}

@media (max-width: 991px) {
    .navbar-toggler-modern {
        display: block;
    }
    .navbar-nav-modern {
        flex-direction: column;
        background: #8F0408;
        padding: 20px;
    }
    .dropdown-menu-modern, .submenu-modern {
        position: static;
        transform: none;
        box-shadow: none;
        background: rgba(0,0,0,0.1);
        border: none;
        padding-left: 20px;
    }
    .nav-link-modern {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
}
