/* ==========================================================================
   Global Mobile Viewport & Anti-Horizontal Overflow Protection
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
}

.container-fluid {
    max-width: 100%;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* Global Carousel & Media Overflow Protection */
.owl-carousel,
.owl-carousel .owl-stage-outer,
.slick-slider,
.swiper {
    max-width: 100% !important;
    overflow: hidden !important;
}



/* Sidebar Modern Styling */
.box_account {
    background-color: #1e1e1e;
    padding: 25px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
    border: 1px solid #333;
}

.customer-sidebar .list-group-item {
    border: none;
    padding: 14px 20px;
    margin-bottom: 8px;
    border-radius: 8px !important;
    font-weight: 500;
    color: #b0b0b0;
    transition: all 0.2s ease-in-out;
    background: transparent;
    display: flex;
    align-items: center;
}

.customer-sidebar .list-group-item i {
    margin-right: 12px;
    font-size: 1.2rem;
    vertical-align: middle;
    opacity: 0.7;
    transition: all 0.2s;
}

.customer-sidebar .list-group-item:hover {
    background-color: #333;
    color: #D4AF37;
    transform: translateX(5px);
}

.customer-sidebar .list-group-item:hover i {
    opacity: 1;
    color: #D4AF37;
}

.customer-sidebar .list-group-item.active {
    background: linear-gradient(45deg, #B8860B, #D4AF37);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.customer-sidebar .list-group-item.active i {
    color: #000;
    opacity: 1;
}

/* Enhancements for the content area to match */
.header_box {
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

.header_box h3 {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 600;
}