/* Custom Styles */
.hero-section {
    background-color: #E6EEF9;
    padding: 120px 0 80px;
    min-height: calc(100vh - 76px);
}

.hero-image {
    max-width: 100%;
    margin: 0 auto;
    display: block;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2B319A;
    line-height: 1.3;
    margin-top: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1.2rem;
    color: #2B319A;
    font-weight: 600;
    margin-top: 2rem;
}

.hero-section .text-muted {
    font-size: 1.1rem;
    color: #6B7280 !important;
}

.hero-section .app-tagline {
    font-size: 1.2rem;
    color: #2B319A;
    font-weight: 500;
}

.hero-section .btn-primary {
    background-color: #2B319A;
    border-color: #2B319A;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.hero-section .btn-primary:hover {
    background-color: #191C64;
    border-color: #191C64;
}

.hero-section .features-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.hero-section .feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.hero-section .feature-icon {
    background-color: rgba(43, 49, 154, 0.1);
    border-radius: 50%;
    min-width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section .feature-item i {
    color: #2B319A;
    font-size: 1rem;
}

.hero-section .feature-item span {
    color: #4B5563;
    font-size: 1rem;
    line-height: 1.5;
    padding-top: 0.5rem;
}

/* Navbar Styles */
.navbar {
    position: relative;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 1.5rem;
    z-index: 1030;
    width: 100%;
    transition: margin-left 0.3s ease;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.navbar .container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

body.sidebar-open .navbar {
    margin-left: 250px;
    width: calc(100% - 250px);
}

.navbar-nav {
    gap: 2rem;
    margin-right: 20px;
    justify-content: flex-end;
    width: 100%;
}

.nav-link {
    color: #191C64;
    font-weight: 500;
    position: relative;
}

.nav-link:hover {
    color: #2B319A;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #2B319A;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.sidebar-toggle {
    position: absolute;
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: #4668B0;
    border: none;
    display: none; /* Sembunyikan di desktop secara default */
    z-index: 1060;
}

.sidebar-toggle:hover {
    transform: translateY(-50%);
    box-shadow: none !important;
}

body.sidebar-open .sidebar-toggle {
    left: calc(250px + 0.5rem);
}

/* Sidebar Styles */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 250px;
    background: #191C64;
    color: white;
    z-index: 1050; /* Higher than navbar */
    transition: transform 0.3s ease;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.sidebar.show {
    left: 0;
}

.profile-section {
    text-align: center;
    padding: 20px;
    margin-top: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.default-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3F2FD 0%, #90CAF9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.default-avatar i {
    font-size: 1.8rem;
    color: #191C64;
}

.profile-section h6 {
    color: white;
    font-weight: 500;
    margin: 0;
    font-size: 0.95rem;
}

.profile-section .user-info {
    text-align: center;
}

.profile-section .role-text {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-bottom: -2px;
}

/* Profile Link Styles */
.profile-link:hover h6 {
    text-decoration: underline;
    color: #e3e3e3;
}

.profile-link:hover .fa-user-edit {
    transform: translateX(3px);
}

.profile-link .fa-user-edit {
    transition: transform 0.2s ease;
}

/* Sidebar Navigation */
.sidebar-nav {
    padding: 1rem 0;
    flex-grow: 1;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: white;
    text-decoration: none;
    transition: background-color 0.2s ease, padding-left 0.2s ease;
}

.menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    padding-left: 1.8rem;
    color: white;
}

.menu-item.active {
    background-color: #4668B0;
    font-weight: 500;
}

.menu-item i {
    width: 20px;
    margin-right: 1rem;
    text-align: center;
}

/* Dropdown Menu */
.sidebar .dropdown-menu {
    position: static !important;
    transform: none !important;
    background-color: transparent !important;
    border: none !important;
    margin-top: 0 !important;
    padding: 0 !important;
    width: 100%;
}

.sidebar .dropdown-item {
    color: white !important;
    padding: 0.8rem 1rem 0.8rem 3.2rem !important;
    font-size: 0.95em;
    background: transparent;
    transition: all 0.3s ease;
}

.sidebar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    padding-left: 3.5rem !important;
}

.sidebar .dropdown-toggle {
    position: relative;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
}

.sidebar .dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-toggle::after {
    display: none !important;
}

.dropdown-icon {
    font-size: 0.8em;
    transition: transform 0.2s;
}

.dropdown.show .dropdown-icon {
    transform: rotate(180deg);
}

/* Main Content Styles */
.main-content {
    margin-left: 250px;
    padding: 1rem;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

body.sidebar-open .main-content {
    margin-left: 250px;
}

/* Overlay when sidebar is open */
body.sidebar-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1035;
    display: none; /* Hide by default on desktop */
}

@media (max-width: 768px) {
    body.sidebar-open::before {
        display: block; /* Show overlay on mobile */
    }
    
    .sidebar {
        width: 100%;
        max-width: 250px;
    }
    
    body.sidebar-open .navbar,
    body.sidebar-open .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    body.sidebar-open .sidebar-toggle {
        left: 1rem;
    }

    .sidebar .dropdown-item {
        padding-left: 2.5rem !important;
    }
}

/* Building Section Styles */
.building-section {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #191C64;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 4rem 3rem;
}

.buildings-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 0 2rem;
}

.buildings-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 2rem 1rem;
}

.building-card {
    background-color: #191C64;
    padding: 40px;
    border-radius: 25px;
    color: white;
    position: relative;
    width: calc(100% - 2rem);
    min-width: calc(100% - 2rem);
    flex-shrink: 0;
    margin: 0 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.building-card h2 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    text-align: center;
}

.building-images {
    margin-bottom: 2.5rem;
}

.image-placeholder {
    background-color: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    height: 180px;
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.image-placeholder:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
}

.room-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.room-item {
    color: white;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: max-content;
}

.room-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #395493;
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-arrow:hover {
    background: #4668B0;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.nav-arrow i {
    font-size: 1.2rem;
}

.nav-arrow.prev {
    left: 0.5rem;
}

.nav-arrow.next {
    right: 0.5rem;
}

@media (max-width: 768px) {
    .building-section {
        padding: 3rem 2rem;
    }
    
    .buildings-wrapper {
        padding: 0 1.5rem;
    }
    
    .building-card {
        padding: 30px;
    }
}

/* Reporting Section Styles */
.reporting-section {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #191C64;
    min-height: 60vh;
    padding: 50px 0;
    margin-top: -50px;
    display: flex;
    align-items: center;
    padding-bottom: 180px; /* Increased for more space below */
}

.reporting-section h2 {
    color: #2B319A;
    font-weight: 700;
    font-size: 2.2rem;
}

.reporting-section p {
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 90%;
}

.btn-buat-laporan {
    background-color: #2B319A;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 8px;
    border: none;
    transition: all 0.3s ease;
}

.btn-buat-laporan:hover {
    background-color: #191C64;
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-section {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #191C64;
    padding: 40px 0;
    min-height: auto;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 8px 32px rgba(25, 28, 100, 0.18); /* lebih tebal */
    border: 1.5px solid #4668B0; /* border biru tipis */
    width: 100%;
    text-align: left;
    transition: box-shadow 0.3s, border 0.3s;
}

.contact-card h2 {
    color: #191C64 !important;
    font-size: 2rem; /* lebih besar */
    font-weight: 700;
}

.contact-card:hover {
    box-shadow: 0 16px 48px rgba(25, 28, 100, 0.22);
    border-color: #191C64;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.contact-item i {
    color: #2B319A;
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.contact-item span {
    color: #4B5563;
    font-size: 0.95rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 0;
    }
    
    .contact-card {
        padding: 1.25rem;
        margin-bottom: 1rem;
    }
    
    .contact-card h2 {
        font-size: 1.6rem;
    }
}

/* About Section Styles */
.about-section {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #191C64;
    padding: 80px 0;
    padding-bottom: 180px; /* Increased for more space below */
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2B319A;
    margin-bottom: 1.5rem;
}

.section-description {
    color: #6B7280;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.feature-item i {
    color: #2B319A;
    font-size: 1.2rem;
}

.feature-item span {
    color: #4B5563;
    font-size: 1rem;
}

.about-image {
    max-width: 90%;
    margin: 0 auto;
    display: block;
}

/* Add smooth scrolling for navigation */
html {
    scroll-behavior: smooth;
}

/* Adjust padding-top for sections to account for fixed navbar */
section {
    padding-top: 76px;
    margin-top: -76px;
}

/* Base Styles */
body {
    background-color: #f8f9fa;
    color: #333;
    font-family: 'Segoe UI', sans-serif;
    transition: margin-left 0.3s ease;
}

.dashboard-header {
    background-color: #4668B0;
    width: 100%;
    margin: 0;
}

.dashboard-title {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-title span {
    color: white;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
}

.navbar-brand {
    color: #191C64;
    font-weight: 600;
    font-size: 1.3rem;
    margin-left: 3rem;
    margin-right: 20px;
    text-decoration: none;
    pointer-events: none;
}

.navbar .container-fluid {
    justify-content: flex-end;
    padding-left: 2rem;
    padding-right: 2rem;
}

.nav-tabs {
    border: none;
    padding: 20px 3.5rem 0 3.5rem;
    margin-bottom: 30px;
    position: relative;
}

.nav-tabs::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 3.5rem;
    right: 3.5rem;
    height: 1px;
    background: linear-gradient(to right, rgba(70, 104, 176, 0.05), rgba(70, 104, 176, 0.15), rgba(70, 104, 176, 0.05));
}

.nav-tabs .nav-link {
    border: none;
    padding: 12px 24px;
    color: #666;
    font-weight: 500;
    background: none;
    position: relative;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    margin-right: 10px;
}

.nav-tabs .nav-link:hover {
    color: #4668B0;
}

.nav-tabs .nav-link.active {
    color: #191C64;
    font-weight: 600;
    border: none;
    background: linear-gradient(to bottom, rgba(70, 104, 176, 0.08), rgba(70, 104, 176, 0.02));
    border-radius: 8px 8px 0 0;
}

.nav-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4668B0, #191C64);
    border-radius: 2px;
    z-index: 1;
}

.stats-container {
    padding: 0 3.5rem;
}

.stats-container .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.stats-card {
    background: linear-gradient(135deg, #ffffff 0%, #f7f7f9 100%);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 120px;
    margin: 0;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.12);
}

.stats-card:hover::before {
    opacity: 1;
}

.stats-card .icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 1;
}

.stats-card .info {
    text-align: right;
    padding-left: 15px;
    position: relative;
    z-index: 1;
}

.stats-card .info h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    color: #191C64;
    line-height: 1.2;
}

.stats-card .info p {
    margin: 5px 0 0 0;
    color: #666;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
}

.stats-card .info small {
    color: #4668B0;
    cursor: pointer;
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.stats-card .info small:hover {
    color: #191C64;
    text-decoration: underline;
}

/* Scan QR Styles */
.scan-header {
    background-color: #4668B0;
    width: 100%;
    margin: 0;
}

.scan-title {
    height: 85px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-title span {
    color: white;
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
}

.scan-container {
    margin-top: -60px;
    background: linear-gradient(135deg, #f5f7ff 0%, #ffffff 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-card {
    background: white;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 1rem;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.qr-icon-wrapper {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 4px 15px rgba(70, 104, 176, 0.2);
}

.qr-icon-wrapper i {
    color: white;
    font-size: 2.5rem;
}

.scan-card h2 {
    color: #191C64;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.scan-card p {
    color: #6B7280;
    font-size: 0.95rem;
    line-height: 1.5;
}

.scan-card .btn-primary {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    border: none;
    box-shadow: 0 4px 15px rgba(70, 104, 176, 0.2);
    padding: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.scan-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(70, 104, 176, 0.3);
    background: linear-gradient(135deg, #5577BC 0%, #232873 100%);
}

.scan-card .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 10px rgba(70, 104, 176, 0.2);
}

@media (max-width: 768px) {
    .scan-container {
        padding: 1rem;
    }
    
    .scan-card {
        padding: 2rem;
    }
    
    .qr-icon-wrapper {
        width: 80px;
        height: 80px;
    }
    
    .qr-icon-wrapper i {
        font-size: 2rem;
    }
}

.search-filter-section,
.table-section {
    padding-left: 3.5rem;
    padding-right: 3.5rem;
}

/* Search Bar Styles */
.search-bar {
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-bar .form-control {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.search-bar .form-control:focus {
    border-color: #191C64;
    box-shadow: 0 0 0 3px rgba(25, 28, 100, 0.1);
}

.search-bar .btn-primary {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    border: none;
    border-radius: 8px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(25, 28, 100, 0.2);
}

.search-bar .btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.search-bar .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(25, 28, 100, 0.3);
    background: linear-gradient(135deg, #5577B8 0%, #222576 100%);
}

.search-bar .btn-primary:hover::before {
    transform: translateX(0);
}

.search-bar .btn-primary:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(25, 28, 100, 0.2);
}

.search-bar .btn-primary i {
    font-size: 0.9rem;
    transition: transform 0.3s ease;
}

.search-bar .btn-primary:hover i {
    transform: scale(1.1);
}

/* Filter Section Styles */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.filter-buttons .form-select {
    min-width: 180px;
    max-width: 180px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #191C64;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-buttons .form-select[data-width="wide"] {
    min-width: 200px;
    max-width: 200px;
}

.filter-buttons .form-select:hover {
    border-color: rgba(70, 104, 176, 0.3);
}

.filter-buttons .form-select:focus {
    border-color: #4668B0;
    box-shadow: 0 0 0 2px rgba(70, 104, 176, 0.1);
    outline: none;
}

.date-range {
    background: white;
    border-radius: 8px;
    padding: 8px 12px;
    margin-top: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.date-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.date-group {
    position: relative;
    width: 160px;
}

.date-group label {
    font-size: 0.75rem;
    color: #4668B0;
    margin-bottom: 2px;
    display: block;
}

.date-group .input-group {
    width: 100%;
}

.date-group .input-group-text {
    padding: 4px 8px;
    font-size: 0.85rem;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-right: none;
    color: #666;
    border-radius: 6px 0 0 6px;
}

.date-group input[type="date"] {
    padding: 4px 8px;
    font-size: 0.85rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-left: none;
    border-radius: 0 6px 6px 0;
    color: #191C64;
}

.date-group input[type="date"]:focus {
    outline: none;
    border-color: #4668B0;
}

.date-group .input-group:focus-within .input-group-text {
    border-color: #4668B0;
}

.date-separator {
    color: #666;
    font-size: 0.85rem;
    padding: 0 4px;
    margin-top: 20px;
}

/* Keanggotaan Page Styles */
.top-boxes {
    padding: 2rem 3.5rem;
    margin: 2rem auto;
    max-width: 1600px;
    width: 100%;
}

.register-box, .management-box {
    background: linear-gradient(145deg, #EEF2FF 0%, #E8EBF3 100%);
    border: 2px solid #4668B0;
    border-radius: 15px;
    padding: 3rem 4rem;
    height: 100%;
    min-height: 500px;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(70, 104, 176, 0.1),
        0 4px 8px rgba(70, 104, 176, 0.05);
}

.register-box:hover, .management-box:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 35px rgba(70, 104, 176, 0.15),
        0 5px 10px rgba(70, 104, 176, 0.1);
}

.box-title {
    color: #191C64;
    font-size: 1.75rem;
    font-weight: 600;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    position: relative;
    display: block;
    text-align: center;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    text-transform: uppercase;
}

.custom-form {
    margin-top: 2.5rem;
}

.custom-form .form-control {
    background: white;
    border: 1.5px solid rgba(70, 104, 176, 0.2);
    border-radius: 10px;
    padding: 1.2rem 1.5rem;
    margin-bottom: 2rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    color: #2a2a2a;
    box-shadow: 0 2px 4px rgba(70, 104, 176, 0.05);
    height: auto;
}

.custom-form .form-control:focus {
    border-color: #4668B0;
    box-shadow: 0 0 0 4px rgba(70, 104, 176, 0.1);
    transform: translateY(-1px);
}

.custom-form .form-control::placeholder {
    color: #94A3B8;
    font-size: 1rem;
}

.custom-form select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234668B0' d='M6 8.825L1.175 4 2.238 2.938 6 6.7l3.763-3.763L10.825 4z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.5rem center;
    padding-right: 3rem;
}

.btn-action {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    border: none;
    border-radius: 10px;
    padding: 1.2rem 3rem;
    color: white;
    font-weight: 500;
    font-size: 1rem;
    float: right;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(25, 28, 100, 0.15);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2rem;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(25, 28, 100, 0.2);
    background: linear-gradient(135deg, #5577BC 0%, #232873 100%);
}

.btn-action:active {
    transform: translateY(1px);
}

@keyframes cardFloat {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.register-box, .management-box {
    animation: cardFloat 0.8s ease-out forwards;
}

.management-box {
    animation-delay: 0.2s;
}

@media (max-width: 768px) {
    .top-boxes {
        padding: 1rem;
    }
    
    .register-box, .management-box {
        padding: 2rem;
        margin-bottom: 2rem;
        min-height: auto;
    }
}


/* Keanggotaan Page Specific Styles */
.form-control {
    border-radius: 25px;
    padding: 10px 15px;
}

.btn {
    border-radius: 25px;
    padding: 8px 20px;
}

.card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body {
    background: linear-gradient(135deg, #F8F9FF 0%, #F1F3FF 100%);
}

.form-control:focus, .form-select:focus {
    border-color: #474D8C;
    box-shadow: 0 0 0 3px rgba(71, 77, 140, 0.15);
}

.btn:hover {
    background: linear-gradient(135deg, #191C64 0%, #191C64 100%) !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(25, 28, 100, 0.2) !important;
}

/* Select2 Custom Styles */
.select2-container {
    width: 100% !important;
}

.select2-container--classic {
    width: 100% !important;
}

.select2-container--classic .select2-selection--single {
    height: 45px !important;
    padding: 8px 15px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    background: white !important;
    display: flex !important;
    align-items: center !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    background-image: none !important;
}

.select2-container--classic.select2-container--open .select2-selection--single {
    border-color: #adb5bd !important;
    box-shadow: 0 0 0 2px rgba(173, 181, 189, 0.15) !important;
}

.select2-container--classic .select2-selection--single .select2-selection__rendered {
    color: #495057 !important;
    line-height: 28px !important;
    padding-left: 0 !important;
    padding-right: 25px !important;
    font-size: 0.95rem !important;
}

.select2-container--classic .select2-selection--single .select2-selection__placeholder {
    color: #6c757d !important;
    font-size: 0.95rem !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow {
    height: 43px !important;
    width: 25px !important;
    background: none !important;
    border: none !important;
    border-left: none !important;
    position: absolute !important;
    right: 5px !important;
    top: 0 !important;
    background-image: none !important;
}

.select2-container--classic .select2-selection--single .select2-selection__arrow b {
    border-color: #6c757d transparent transparent transparent !important;
    border-width: 5px 4px 0 4px !important;
    margin-left: -4px !important;
    margin-top: -2px !important;
}

.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b {
    border-color: transparent transparent #6c757d transparent !important;
    border-width: 0 4px 5px 4px !important;
}

.select2-container--classic .select2-search--dropdown {
    padding: 8px !important;
    background: white !important;
}

.select2-container--classic .select2-search--dropdown .select2-search__field {
    border: 1px solid #dee2e6 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    height: 38px !important;
    font-size: 0.95rem !important;
}

.select2-container--classic .select2-search--dropdown .select2-search__field:focus {
    outline: none !important;
    border-color: #adb5bd !important;
    box-shadow: 0 0 0 2px rgba(173, 181, 189, 0.15) !important;
}

.select2-container--classic .select2-dropdown {
    background-color: white !important;
    border: 1px solid #adb5bd !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
    margin-top: 3px !important;
}

.select2-container--classic .select2-results {
    margin: 0 !important;
    padding: 5px !important;
}

.select2-container--classic .select2-results__options {
    max-height: 280px !important;
    padding: 5px !important;
}

.select2-container--classic .select2-results__option {
    padding: 8px 12px !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease !important;
    border-radius: 4px !important;
    margin: 2px 0 !important;
    color: #495057 !important;
}

.select2-container--classic .select2-results__option--highlighted[aria-selected] {
    background-color: #f8f9fa !important;
    color: #212529 !important;
}

.select2-container--classic .select2-results__option[aria-selected=true] {
    background-color: #e9ecef !important;
    color: #212529 !important;
}

/* Custom scrollbar for webkit browsers */
.select2-container--classic .select2-results__options::-webkit-scrollbar {
    width: 8px;
}

.select2-container--classic .select2-results__options::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container--classic .select2-results__options::-webkit-scrollbar-thumb {
    background: rgba(70, 104, 176, 0.3);
    border-radius: 4px;
}

.select2-container--classic .select2-results__options::-webkit-scrollbar-thumb:hover {
    background: rgba(70, 104, 176, 0.5);
}

/* Alert Notification Styles */
.alert-notification {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    width: calc(100% - 7rem);
    max-width: 1200px;
    transition: all 0.3s ease;
    pointer-events: none;
}

.alert {
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
    margin-bottom: 0;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    color: white;
    pointer-events: auto;
    opacity: 0;
    transform: translateY(-20px);
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, #4CAF50 0%, #45A049 100%);
}

.alert-danger {
    background: linear-gradient(135deg, #EF5350 0%, #E53935 100%);
}

.alert-warning {
    background: linear-gradient(135deg, #FFA726 0%, #FB8C00 100%);
}

.alert-icon {
    font-size: 1.2rem;
    margin-right: 1rem;
}

.btn-close {
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.3s ease;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem -0.5rem 1rem;
    pointer-events: auto;
}

.btn-close:hover {
    opacity: 1;
}

.alert-dismissible {
    padding-right: 1.5rem;
}

.alert-dismissible .btn-close {
    position: static;
}

.alert-notification.hide {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.3s ease;
}

/* Override sidebar toggle hover */
.sidebar-toggle:hover {
    background: none !important;
    transform: none !important;
    box-shadow: none !important;
}

.sidebar-toggle {
    transition: none !important;
}

/* Export Buttons */
.export-btn {
    border-radius: 12px;
    font-size: 1.1rem;
    padding: 0.6rem 1.2rem;
    background: #fff;
    border: 1px solid #191C64;
    color: #191C64;
    transition: all 0.3s ease;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.export-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    background: #191C64 !important;
    color: white !important;
}

.export-btn[title="Export PDF"]:hover {
    background: #dc3545 !important;
}

.export-btn[title="Export Excel"]:hover {
    background: #198754 !important;
}

/* Add Button */
.btn-add {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(25, 28, 100, 0.15);
}

.btn-add::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, rgba(255,255,255,0) 100%);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(70, 104, 176, 0.25);
}

.btn-add:hover::before {
    transform: translateX(0);
}

.btn-add:active {
    transform: translateY(1px);
    box-shadow: 0 2px 6px rgba(70, 104, 176, 0.15);
}

/* Form Controls */
.form-control:focus {
    box-shadow: none;
    border-color: #80bdff;
}

.input-group .form-control {
    border-radius: 8px;
}

.input-group .form-control:focus,
.input-group .input-group-text {
    border-color: #dee2e6;
    box-shadow: none;
}

/* Date Range Picker */
.date-range input[type="date"]::-webkit-calendar-picker-indicator {
    color: rgba(0, 0, 0, 0);
    opacity: 1;
    display: block;
    background: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24"%3E%3Cpath d="M7 10l5 5 5-5z" fill="%23191C64"/%3E%3C/svg%3E') no-repeat;
    width: 12px;
    height: 12px;
    border-width: thin;
    cursor: pointer;
}

.date-range input[type="date"]:focus {
    outline: none;
    box-shadow: none;
}

.date-range .input-group:focus-within {
    border-bottom: 2px solid #191C64;
}

.date-range .input-group {
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

/* Profile Page Styles */
.profile-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto;
}

.profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-change-photo {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #4668B0;
    color: white;
    border: 3px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.btn-change-photo:hover {
    background: #191C64;
    color: white;
    transform: scale(1.1);
}

.default-avatar-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.default-avatar-large i {
    font-size: 4rem;
    color: white;
}

.profile-details {
    margin-top: 2rem;
    padding: 0 1rem;
}

.profile-details .form-label {
    color: #666;
    font-weight: 500;
}

.profile-details .form-control-static {
    color: #191C64;
    font-weight: 500;
    margin: 0;
    padding: 0.5rem 0;
}

.profile-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.profile-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.profile-actions .btn:hover {
    transform: translateY(-2px);
}

.profile-actions .btn-primary {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    border: none;
}

.profile-actions .btn-secondary {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #191C64;
}

.profile-actions .btn-secondary:hover {
    background: #e9ecef;
    border-color: #dee2e6;
    color: #191C64;
}

/* Modal Styles */
.modal-content {
    border-radius: 15px;
    border: none;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
}

/* Form Styles */
.form-control, .form-select {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #4668B0;
    box-shadow: 0 0 0 3px rgba(70, 104, 176, 0.1);
}

.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #495057;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .profile-card {
        padding: 1.5rem;
    }

    .profile-details {
        padding: 0;
    }

    .profile-actions {
        flex-direction: column;
    }

    .profile-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.modal-header {
    border-bottom: 1px solid #dee2e6;
    padding: 1rem 1.5rem;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040; /* Lower than sidebar */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .sidebar-toggle {
        display: block; /* Tampilkan di mobile */
    }

    .sidebar {
        transform: translateX(-100%);
    }

    .main-content {
        margin-left: 0;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }
    body.sidebar-open .sidebar-overlay {
        opacity: 1;
        visibility: visible;
    }
}

/* =====================
   DASHBOARD MOBILE UX
   ===================== */
@media (max-width: 576px) {
  .navbar {
    padding: 0.5rem 1rem !important;
    min-height: 48px !important;
    height: 48px !important;
    box-sizing: border-box !important;
  }
  .navbar .container-fluid {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .main-content {
    padding-top: 0 !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    font-size: 0.92rem !important;
  }
  .main-content select,
  .main-content input,
  .main-content label,
  .main-content .form-label,
  .main-content .form-select,
  .main-content .input-group-text {
    font-size: 0.7rem !important;
  }
  .main-content table,
  .main-content th,
  .main-content td {
    font-size: 0.7rem !important;
  }
  .main-content h1,
  .main-content h2,
  .main-content h3,
  .main-content h4,
  .main-content h5 {
    font-size: 0.9rem !important;
  }
  .reporting-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    left: unset !important;
    right: unset !important;
    transform: none !important;
    box-sizing: border-box !important;
  }
  .reporting-list .card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin: 0 !important;
    left: unset !important;
    right: unset !important;
    transform: none !important;
    box-sizing: border-box !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  .reporting-list .table-responsive {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
  }
  .dashboard-header {
    margin: 0 !important;
    margin-top: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
  }
  .search-filter-section,
  .table-section {
    padding: 1rem !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }
  .search-filter-section .row.g-3 > .col,
  .search-filter-section .row.g-3 > .col-md-6 {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .search-filter-section .input-group {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .table-section .d-flex,
  .table-section .d-flex.justify-content-between {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .table-section .table-responsive {
    overflow-x: auto;
  }
  .stats-container {
    padding: 0 1.2rem !important;
  }
  .stats-container .row {
    --bs-gutter-x: 0.5rem;
    --bs-gutter-y: 0.5rem;
  }
  .stats-card {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.7rem 0.7rem !important;
    min-height: 70px !important;
    height: auto !important;
    margin-bottom: 0.7rem;
    width: 100%;
    min-width: 0;
  }
  .stats-card .icon {
    margin-bottom: 0 !important;
    margin-right: 0.7rem !important;
    margin-left: 0 !important;
    width: 44px !important;
    height: 44px !important;
    font-size: 1.4rem !important;
    flex-shrink: 0;
  }
  .stats-card .info {
    text-align: right !important;
    padding-left: 0 !important;
    width: 100%;
  }
  .stats-card .info h3 {
    font-size: 1rem !important;
  }
  .stats-card .info p {
    font-size: 0.8rem !important;
  }
  .stats-card .info small {
    font-size: 0.7rem !important;
  }
  .nav-tabs {
    font-size: 0.7rem !important;
    flex-wrap: nowrap !important;
    gap: 0.05rem !important;
    justify-content: center !important;
  }
  .nav-tabs .nav-link {
    font-size: 0.7rem !important;
    padding: 0.4rem 0.3rem !important;
    min-width: 0 !important;
  }
  .tab-content {
    padding: 0.2rem 0;
  }
  .card.chart-card, .card {
    padding: 0.5rem !important;
    border-radius: 10px !important;
  }
  .card-header, .card-body {
    padding: 0.7rem 0.5rem !important;
  }
  .chart-legend {
    padding-right: 0.2rem !important;
    font-size: 0.85rem;
  }
  .legend-item {
    margin-bottom: 0.5rem;
    padding: 0.3rem;
    border-radius: 6px;
  }
  .monthly-stats {
    padding: 0 0.5rem !important;
  }
  .monthly-summary {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    text-align: center !important;
  }
  .summary-item h3 {
    font-size: 1.1rem !important;
  }
  .breakdown-scroll {
    max-height: 120px !important;
    font-size: 0.85rem;
  }
  .reporting-list .card-header, .reporting-list .card-body {
    padding: 0.7rem 0.5rem !important;
  }
  .reporting-list .table th, .reporting-list .table td {
    padding: 0.5rem !important;
    font-size: 0.8rem !important;
  }
  .pagination-container .btn,
  .pagination-container .btn-group .btn {
    font-size: 0.7rem !important;
    padding: 0.12rem 0.32rem !important;
    min-width: 1.5rem !important;
    height: 22px !important;
    border-radius: 5px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  #itemsPerPage, #sortOrder, #displayLimit {
    font-size: 0.6rem !important;
    width: 100px !important;
    border-radius: 8px !important;
    padding: 0.5rem !important;
  }
  .alert-container {
    min-width: 90vw !important;
    max-width: 95vw !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
  }
  .scan-header, .scan-title {
    height: auto !important;
    padding: 0.5rem 0 !important;
  }
  .scan-title span {
    font-size: 1.2rem !important;
  }
  .scan-card {
    padding: 1rem !important;
  }
  .qr-icon-wrapper {
    width: 60px !important;
    height: 60px !important;
  }
  .qr-icon-wrapper i {
    font-size: 1.2rem !important;
  }
  .dashboard-title h1 {
    font-size: 1.25rem !important;
  }
  .chart-card, .card.chart-card {
    padding: 0.5rem !important;
    border-radius: 10px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .chart-card .card-header {
    text-align: center !important;
    padding-bottom: 0.3rem !important;
  }
  .chart-card .card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.2rem !important;
  }
  .chart-card .chart-container,
  .card.chart-card .chart-container {
    width: 100% !important;
    max-width: 220px !important;
    aspect-ratio: 1/1 !important;
    height: auto !important;
    min-height: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  .chart-card canvas,
  .card.chart-card canvas,
  .chartjs-render-monitor {
    width: 100% !important;
    height: 100% !important;
    aspect-ratio: 1/1 !important;
    object-fit: contain !important;
    display: block;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  .chart-card .card-title, .chart-card h5, .chart-card h6 {
    font-size: 1rem !important;
    text-align: center !important;
    margin-bottom: 0.3rem !important;
  }
  .section-title {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem !important;
  }
  #monthlyStatsChart {
    width: 100% !important;
    max-width: 320px !important;
    aspect-ratio: 1.5/1 !important;
    height: auto !important;
    display: block;
    margin: 0 auto !important;
    box-sizing: border-box;
  }
  .card-body.py-3 {
    padding: 0.7rem 0.2rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .monthly-stats {
    padding: 0 0.5rem !important;
  }
  .monthly-summary {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
    text-align: center !important;
  }
  .breakdown-scroll {
    max-height: 120px !important;
    font-size: 0.85rem;
  }
  .reporting-list {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .reporting-list,
  .reporting-list .card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }
  .reporting-list .table-responsive {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: auto !important;
  }
  .reporting-list .card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box !important;
  }
  #showingInfo {
    font-size: 0.7rem !important;
  }
  #searchResults {
    font-size: 0.7rem !important;
  }
  /* Tombol Tambah */
  .btn-add {
    font-size: 0.92rem !important;
    padding: 0.45rem 0.9rem !important;
    height: 32px !important;
    min-width: 0 !important;
    width: auto !important;
    border-radius: 8px !important;
    line-height: 1.1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* Tombol Export PDF/Excel */
  .export-btn {
    font-size: 0.92rem !important;
    padding: 0.35rem 0.7rem !important;
    height: 30px !important;
    min-width: 0 !important;
    width: auto !important;
    border-radius: 8px !important;
    line-height: 1.1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  /* Tombol Aksi di tabel */
  .action-btn,
  .btn-status,
  .btn-edit,
  .btn-view,
  .btn-delete {
    font-size: 0.7rem !important;
    padding: 0.12rem 0.32rem !important;
    height: 22px !important;
    min-width: 0 !important;
    width: auto !important;
    border-radius: 5px !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .action-btn i,
  .btn-status i,
  .btn-edit i,
  .btn-view i,
  .btn-delete i {
    font-size: 0.95em !important;
    line-height: 1 !important;
  }
  /* Rapatkan gap antar tombol */
  .table-controls,
  .action-wrapper,
  .d-flex.gap-2,
  .d-flex.gap-3 {
    gap: 0.25rem !important;
  }
}

@media (max-width: 600px) {
    .sidebar .dropdown-item {
        padding-left: 2.5rem !important;
    }
}

.sidebar-footer {
    margin-top: auto;
    background: linear-gradient(90deg, #4668B0 0%, #191C64 100%);
    padding: 1rem 1.5rem;
    border-top: 2px solid #fff2;
    box-shadow: 0 -2px 8px rgba(25,28,100,0.08);
}

.sidebar-footer .menu-item {
    background: #fff2;
    color: #fff;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s;
}

.sidebar-footer .menu-item:hover {
    background: #fff4;
    color: #fff;
}

@media (max-width: 600px) {
  .table-controls .d-flex.align-items-center.gap-3 {
    flex-direction: row !important;
    flex-wrap: wrap;
    gap: 8px !important;
    justify-content: flex-start;
  }
  .table-controls .d-flex.align-items-center {
    margin-bottom: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  .table-controls label {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
  }
  .table-controls select.form-select {
    min-width: 90px;
    font-size: 0.95rem;
    padding: 0.4rem 0.5rem;
    margin-bottom: 0 !important;
  }
  /* Samakan lebar dropdown di mobile */
  .table-controls .d-flex.align-items-center.gap-3 select.form-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 600px) {
  .btn-add {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
}

/* Modal Content Styles */
.modal-content {
    border: none;
    border-radius: 12px;
    background: #f5f6f8;
}
.modal-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}
.close-btn {
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    background-color: #4668B0;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 1060;
}
.close-btn i {
    font-size: 1rem;
}
.close-btn:hover {
    background-color: #34508e;
    transform: translateY(-50%) scale(1.05);
}
.btn-close,
.custom-close {
    display: none !important;
}
.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}
.modal-body {
    padding: 1.5rem;
}
.modal-body h6 {
    color: #4668B0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
}
.modal-body h6::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #4668B0;
    margin-right: 8px;
    border-radius: 2px;
}
.modal-body .table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
}
.modal-body .table th {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    background-color: #f8f9fa;
}
.modal-body .table td {
    padding: 0.75rem 1rem;
    border-color: #e9ecef;
    vertical-align: middle;
    font-size: 0.9rem;
}

/* Action Button Styles */
.action-wrapper {
    display: flex;
    justify-content: center;
    gap: 4px;
}
.action-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    border: none;
    transition: all 0.2s ease;
    color: white;
    margin: 0 2px;
}
.action-btn:hover {
    transform: translateY(-1px);
}
.action-btn.view-btn {
    background-color: #6c757d;
}
.action-btn.view-btn:hover {
    background-color: #5a6268;
}
.action-btn.edit-btn {
    background-color: #4CAF50;
}
.action-btn.edit-btn:hover {
    background-color: #3d8b40;
}
.action-btn.delete-btn {
    background-color: #EF5350;
}
.action-btn.delete-btn:hover {
    background-color: #d32f2f;
}
.action-btn.label-btn {
    background-color: #17a2b8;
}
.action-btn.label-btn:hover {
    background-color: #138496;
}
.action-btn i {
    font-size: 0.875rem;
}

/* Pagination Styles */
.pagination-container .btn-group {
    display: inline-flex;
    align-items: center;
    background: white;
    border-radius: 4px;
    overflow: hidden;
}
.pagination-container .btn {
    min-width: 32px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 1px solid #dee2e6;
    background: white;
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}
.pagination-container .btn:not(:last-child) {
    border-right: none;
}
.pagination-container .btn:first-child {
    border-radius: 4px 0 0 4px;
}
.pagination-container .btn:last-child {
    border-radius: 0 4px 4px 0;
}
.pagination-container .btn:hover:not(:disabled) {
    background-color: #191C64;
    border-color: #191C64;
    color: white;
    z-index: 2;
}
.pagination-container .btn:hover:not(:disabled) i {
    color: white;
}
.pagination-container .btn.active {
    background-color: #191C64;
    border-color: #191C64;
    color: white;
    z-index: 1;
}
.pagination-container .btn:disabled {
    background-color: #f8f9fa;
    color: #adb5bd;
    cursor: not-allowed;
}
.pagination-container .btn i {
    font-size: 0.8rem;
}
#pageNumbers {
    display: inline-flex;
}
#pageNumbers .btn {
    margin: 0;
    border-radius: 0;
}

/* Info Group Styles (untuk modal detail) */
.info-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.info-group i {
    color: #4668B0;
    font-size: 1.1rem;
    background: #e8eef9;
    padding: 8px;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-group > div {
    flex: 1;
}
.info-group label {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.info-group div:not(label) {
    color: #1a202c;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .info-group {
        padding: 0.75rem;
    }
    .info-group div:not(label) {
        padding: 0.5rem;
    }
    .info-group i {
        font-size: 1rem;
        padding: 6px;
        width: 28px;
        height: 28px;
    }
}

/* Loading Overlay & Spinner */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
.loading-overlay.show {
    display: flex;
}
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #4668B0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Table Section Positioning */
.table-section {
    position: relative;
}
.table-responsive {
    position: relative;
    transition: all 0.2s ease;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1rem;
}
.table-responsive.loading {
    pointer-events: none;
    opacity: 0.6;
}

/* Main Table Styles */
.table {
    background: white;
    border-radius: 0;
    overflow: hidden;
    margin-bottom: 0;
}
.table th {
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem;
    border: none;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}
.table td {
    padding: 0.75rem;
    border-color: #dee2e6;
    vertical-align: middle;
    font-size: 1rem;
}
.table tbody tr {
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}
.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

/* Modal Content */
.modal-content {
    border: none;
    border-radius: 12px;
    background: #f5f6f8;
}
.modal-header {
    background: white;
    border-bottom: 1px solid #e9ecef;
    border-radius: 12px 12px 0 0;
    padding: 1rem 1.5rem;
}
.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
}
.modal-body {
    padding: 1.5rem;
}
.modal-body h6 {
    color: #4668B0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding-bottom: 0.75rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    display: flex;
    align-items: center;
}
.modal-body h6::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 16px;
    background: #4668B0;
    margin-right: 8px;
    border-radius: 2px;
}

/* Table Styles in Modal */
.modal-body .table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0 !important;
}
.modal-body .table th {
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border: none;
    background-color: #f8f9fa;
}
.modal-body .table td {
    padding: 0.75rem 1rem;
    border-color: #e9ecef;
    vertical-align: middle;
    font-size: 0.9rem;
}
.modal-body #detailBarangList th,
.modal-body #detailBarangList td {
    font-weight: normal;
    padding: 0.5rem;
    font-size: 0.9rem;
}
#detailBarangList tr {
    padding: 0.5rem;
    border-bottom: 1px solid #e9ecef;
    font-size: 0.95rem;
}
#detailBarangList tr:last-child {
    border-bottom: none;
}
#detailBarangList {
    margin: 0;
    padding: 0;
}

/* Info Groups */
.info-group {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: white;
    padding: 1rem;
    border-radius: 10px;
    height: 100%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    border: 1px solid #e9ecef;
}
.info-group i {
    color: #4668B0;
    font-size: 1.1rem;
    background: #e8eef9;
    padding: 8px;
    border-radius: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-group > div {
    flex: 1;
}
.info-group label {
    display: block;
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
}
.info-group div:not(label) {
    color: #1a202c;
    font-size: 0.9rem;
}
@media (max-width: 768px) {
    .info-group {
        padding: 0.75rem;
    }
    .info-group div:not(label) {
        padding: 0.5rem;
    }
    .info-group i {
        font-size: 1rem;
        padding: 6px;
        width: 28px;
        height: 28px;
    }
}

/* Preview Images & Container */
#detailBuktiPeminjamanPreview img,
#detailBuktiPengembalianPreview img,
#detailBeritaAcaraPreview img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #e9ecef;
    margin-top: 0.5rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}
#detailBuktiPeminjamanPreview img:hover,
#detailBuktiPengembalianPreview img:hover,
#detailBeritaAcaraPreview img:hover {
    transform: scale(1.02);
}
#detailBuktiPeminjamanPreview,
#detailBuktiPengembalianPreview,
#detailBeritaAcaraPreview {
    margin-top: 0.5rem;
    background: white;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Preview Actions */
.preview-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
    justify-content: flex-start;
}
.preview-actions .btn {
    flex: 1;
    font-size: 0.85rem;
    padding: 0.5rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.preview-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    flex: 0 1 auto;
}

/* PDF Preview Actions */
.preview-actions .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
}

/* File Preview Styles */
.modal-body .text-muted {
    font-size: 0.85rem;
}
.modal-body img.img-preview {
    max-width: 200px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    cursor: pointer;
}
.modal-body img.img-preview:hover {
    transform: scale(1.05);
}

/* Modal Primary Button */
.modal-body .btn-primary {
    background-color: #4668B0;
    border-color: #4668B0;
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}
.modal-body .btn-primary:hover {
    background-color: #34508e;
    border-color: #34508e;
    transform: translateY(-1px);
}
.modal-body .btn-primary i {
    margin-right: 0.5rem;
}

/* Zoom Modal Styles */
#zoomBuktiModal .modal-body {
    padding: 0;
    background: black;
    border-radius: 0 0 12px 12px;
    position: relative;
}
#zoomBuktiModal img {
    width: 100%;
    height: auto;
    display: block;
}
#zoomBuktiModal .download-btn {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: rgba(70, 104, 176, 0.9);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}
#zoomBuktiModal .download-btn:hover {
    background: rgba(70, 104, 176, 1);
    transform: translateY(-1px);
}

/* Section Spacing */
.section-barang {
    margin-bottom: 0 !important;
}

/* Remove margin from table in modal */
.modal-body .table-responsive {
    margin-bottom: 0;
}

/* Remove spacing between table and documents section */
.modal-body > div:last-child h6 {
    margin-top: 0;
}

/* Remove spacing from daftar barang section */
.modal-body .daftar-barang-section {
    margin-bottom: 0;
}
.modal-body .daftar-barang-section + div {
    margin-top: 0;
}
.modal-body .daftar-barang-section .table-responsive {
    margin-bottom: 0;
}
.modal-body .daftar-barang-section .table {
    margin-bottom: 0;
}

/* Utility Classes */
.gap-2 {
    gap: 0.5rem !important;
}

@media (max-width: 600px) {
  .date-range .input-group {
    flex-direction: row !important;
    align-items: center !important;
    gap: 4px !important;
  }
  .date-range .input-group input[type="date"] {
    min-width: 0;
    width: 100px;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
  .date-range .input-group-text {
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
  .date-range label {
    margin-bottom: 0 !important;
    font-size: 0.85rem;
  }
}

@media (max-width: 600px) {
    .date-range{
        width: 100%;
    }
  .date-range .input-group input.form-control[type="date"] {
    max-width: 80px;
    min-width: 0;
    width: 80px;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
  .date-range .input-group input.form-control[type="text"] {
    max-width: 80px;
    min-width: 0;
    width: 80px;
    font-size: 0.85rem;
    padding: 0.3rem 0.5rem;
  }
}

#itemsPerPage, #sortOrder, #displayLimit {
    font-size: 0.9rem;
    width: 120px;
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    border: 1px solid #dee2e6;
    background-color: white;
    transition: all 0.3s ease;
}

#itemsPerPage:focus, #sortOrder:focus, #displayLimit:focus {
    border-color: #4668B0;
    box-shadow: 0 0 0 3px rgba(70, 104, 176, 0.1);
    outline: none;
}

#itemsPerPage:hover, #sortOrder:hover, #displayLimit:hover {
    border-color: #adb5bd;
}

/* Margin horizontal khusus box dashboard */
.box-margin-x {
    margin-left: 4.5rem;
    margin-right: 4.5rem;
}

/* Monthly breakdown beautify */
.monthly-breakdown .breakdown-item {
    font-size: 0.97rem;
    padding: 0.18rem 0.2rem;
    border-radius: 4px;
    margin-bottom: 2px;
    transition: background 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.monthly-breakdown .breakdown-item:hover {
    background: #f5f7fa;
}
.monthly-breakdown .month {
    color: #444;
    font-weight: 500;
}
.monthly-breakdown .total {
    color: #191C64;
    font-weight: 600;
    min-width: 2.2em;
    text-align: right;
    display: inline-block;
}
.monthly-breakdown .d-flex {
    align-items: center;
}

/* Pastikan scroll breakdown bulan selalu aktif jika overflow */
.breakdown-scroll {
    max-height: 220px;
    overflow-y: auto;
    padding-right: 4px;
}

@media (max-width: 600px) {
  .monthly-stats .row {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .monthly-stats .card {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
    box-sizing: border-box !important;
  }
  .monthly-stats .card-body.py-3 {
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0.5rem 0.2rem !important;
  }
  .monthly-stats .row > [class^="col-"],
  .monthly-stats .row > [class*=" col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  #monthlyStatsChart {
    max-width: 100% !important;
    min-width: 0 !important;
    aspect-ratio: 1.5/1 !important;
    margin-bottom: 1rem !important;
  }
  .monthly-summary {
    border-left: none !important;
    border-top: 1px solid #eee !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .monthly-breakdown .d-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
  }
  .breakdown-scroll {
    max-height: 160px !important;
    min-height: 60px;
    overflow-y: auto !important;
    margin-bottom: 0.5rem;
  }
  .breakdown-item {
    font-size: 0.92rem !important;
    padding: 0.12rem 0.1rem !important;
  }
  .summary-item h3 {
    font-size: 1.05rem !important;
  }
}

@media (max-width: 600px) {
  .stats-container {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
}

@media (max-width: 600px) {
  .monthly-stats {
    padding-left: 1.2rem !important;
    padding-right: 1.2rem !important;
  }
  .monthly-stats .card {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .reporting-list {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: auto !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .reporting-list .card {
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .monthly-stats {
    margin-left: 2rem !important;
    margin-right: 2rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .monthly-stats .card {
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

@media (max-width: 600px) {
  .monthly-stats .card {
    gap: 1.1rem;
    padding: 0.9rem 1rem 1rem 1rem !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
  }
  .monthly-stats .card-body.py-3 {
    padding: 0.6rem 0.1rem 0 0.1rem !important;
    gap: 0.8rem;
  }
  .monthly-summary {
    padding: 0.3rem 0.1rem 0.2rem 0.1rem !important;
    margin-top: 0.4rem !important;
    margin-bottom: 0.4rem !important;
  }
  .monthly-summary h6 {
    font-size: 0.97rem !important;
    font-weight: 600;
    margin-bottom: 0.18rem !important;
  }
  .summary-item h3 {
    font-size: 1.01rem !important;
    font-weight: 700;
    margin-bottom: 0.05rem !important;
  }
  .summary-item small,
  .summary-item span,
  .summary-item .text-muted {
    font-size: 0.88rem !important;
  }
  .monthly-breakdown {
    margin-top: 0.3rem !important;
  }
  .monthly-breakdown .btn-group {
    gap: 0.18rem !important;
    margin-bottom: 0.22rem !important;
  }
  .monthly-breakdown .btn {
    padding: 0.13rem 0.7rem !important;
    font-size: 0.93rem !important;
    border-radius: 6px !important;
  }
  .breakdown-scroll {
    max-height: 90px !important;
    min-height: 30px;
    margin-bottom: 0.1rem;
    padding-left: 0.08rem !important;
    padding-right: 0.08rem !important;
  }
  .breakdown-item {
    font-size: 0.93rem !important;
    padding: 0.07rem 0.05rem !important;
    margin-bottom: 1px;
    font-weight: 500;
  }
  .breakdown-item .month {
    min-width: 60px;
    font-size: 0.91rem !important;
    text-align: left;
  }
  .breakdown-item .total {
    min-width: 2em;
    font-size: 0.93rem !important;
    text-align: right;
    font-weight: 600;
  }
}

@media (max-width: 600px) {
  .btn-add {
    font-size: 0.9rem !important;
    padding: 0.5rem 1rem !important;
  }
}

@media (max-width: 600px) {
  .monthly-summary {
    text-align: center !important;
  }
  .summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.1rem;
    margin-bottom: 0.3rem !important;
  }
  .summary-item h3 {
    text-align: center !important;
    display: block;
    width: 100%;
    margin-bottom: 0.05rem !important;
  }
  .summary-item .summary-growth {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 0.05rem;
    font-size: 0.9rem;
    color: #1a7f37;
    font-weight: 500;
  }
  .monthly-summary small,
  .monthly-summary span,
  .monthly-summary .text-muted {
    display: block;
    margin-bottom: 0.13rem;
  }
  .monthly-breakdown h6 {
    text-align: center !important;
    margin-bottom: 0.25rem !important;
  }
  .monthly-breakdown .btn-group {
    text-align: center !important;
    justify-content: center !important;
    width: 100%;
    display: flex !important;
    margin-bottom: 0.18rem !important;
  }
  .monthly-breakdown .btn {
    min-width: 60px;
    max-width: 90px;
    padding: 0.08rem 0.4rem !important;
    font-size: 0.82rem !important;
    border-radius: 5px !important;
    margin: 0 0.03rem;
  }
  .monthly-breakdown {
    text-align: center !important;
    margin-bottom: 0.2rem !important;
  }
  .breakdown-scroll,
  .breakdown-item {
    text-align: left !important;
  }
}

@media (max-width: 600px) {
  .monthly-breakdown h6 {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    display: block;
  }
  .monthly-breakdown .btn-group {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    width: fit-content;
  }
}

@media (max-width: 600px) {
  .breakdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0.07rem 0.05rem !important;
    margin-bottom: 1px !important;
    font-size: 0.93rem !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
  }
  .breakdown-item .month,
  .breakdown-item .total {
    display: inline !important;
    width: auto !important;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
  .breakdown-item .month {
    flex: 1 1 60% !important;
    min-width: 60px !important;
    font-size: 0.91rem !important;
    text-align: left !important;
  }
  .breakdown-item .total {
    flex: 0 0 auto !important;
    min-width: 2em !important;
    font-size: 0.93rem !important;
    text-align: right !important;
    font-weight: 600 !important;
    margin-left: 0.5rem !important;
  }
  .breakdown-scroll {
    overflow-x: auto !important;
  }
}

@media (max-width: 600px) {
  .breakdown-scroll {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(25,28,100,0.06);
    padding: 0.2rem 0.1rem 0.2rem 0.1rem !important;
    margin-bottom: 0.5rem;
    max-height: 120px !important;
    min-height: 40px;
    overflow-y: auto !important;
  }
  .breakdown-item {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0.3rem !important;
    width: 100% !important;
    padding: 0.11rem 0.2rem !important;
    margin-bottom: 0 !important;
    font-size: 0.91rem !important;
    font-weight: 500 !important;
    color: #222;
    border-bottom: 1px solid #f0f0f0;
    background: transparent;
    transition: background 0.15s;
  }
  .breakdown-item:last-child {
    border-bottom: none;
  }
  .breakdown-item:hover, .breakdown-item:active {
    background: #f5f7fa;
  }
  .breakdown-item .month {
    flex: 1 1 60% !important;
    min-width: 60px !important;
    font-size: 0.91rem !important;
    text-align: left !important;
    color: #444;
    font-weight: 500;
    display: inline !important;
    width: auto !important;
    max-width: 70%;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
  }
  .breakdown-item .total {
    flex: 0 0 auto !important;
    min-width: 2em !important;
    font-size: 0.93rem !important;
    text-align: right !important;
    font-weight: 700 !important;
    color: #191C64;
    margin-left: 0.5rem !important;
    display: inline !important;
    width: auto !important;
    vertical-align: middle;
  }
}

@media (max-width: 600px) {
  .breakdown-scroll {
    padding: 0.2rem 0.7rem !important;
    margin-top: 0.7rem !important;
    margin-bottom: 0.7rem !important;
  }
}

@media (max-width: 600px) {
  .breakdown-item .month {
    font-size: 0.82rem !important;
  }
  .breakdown-item .total {
    font-size: 0.85rem !important;
  }
}

/* User Details Modal Styles */
.user-details {
    background: white;
    border-radius: 20px;
    margin: 0 1rem 1rem;
}

.profile-header {
    background: linear-gradient(135deg, rgba(70, 104, 176, 0.05) 0%, rgba(25, 28, 100, 0.05) 100%);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

.info-container {
    padding: 1rem 1rem 0.5rem;
}

.info-section {
    background: white;
    border-radius: 8px;
    padding: 0.8rem;
    box-shadow: 0 1px 3px rgba(25, 28, 100, 0.05);
    margin-bottom: 0.75rem;
}

.section-title {
    color: #191C64;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.6rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid rgba(70, 104, 176, 0.1);
}

.info-item {
    background: rgba(240, 243, 255, 0.5);
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    border: 1px solid rgba(70, 104, 176, 0.08);
    transition: all 0.2s ease;
    margin-bottom: 0.5rem;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item:hover {
    background: rgba(240, 243, 255, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 1px 4px rgba(25, 28, 100, 0.05);
}

.info-item label {
    color: #666;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.2rem;
}

.info-item label i {
    color: #4668B0;
    font-size: 0.8rem;
    width: 12px;
}

.info-item span {
    color: #333;
    font-size: 0.85rem;
    display: block;
    padding-left: 1.5rem;
    line-height: 1.2;
}

/* Specific Modal Dialog Styles */
.modal-dialog {
    max-width: 650px;
}

.modal-content {
    border-radius: 12px;
}

.modal-header {
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, rgba(70, 104, 176, 0.05) 0%, rgba(25, 28, 100, 0.05) 100%);
    border-bottom: 1px solid rgba(70, 104, 176, 0.1);
    border-radius: 12px 12px 0 0;
}

.modal-title {
    font-size: 1rem;
    font-weight: 600;
    color: #191C64;
    letter-spacing: 0.3px;
    padding-left: 0.25rem;
}

#userDetailModal .modal-header .btn-close {
    position: relative !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 6px !important;
    background: rgba(70, 104, 176, 0.1) !important;
    opacity: 1 !important;
    transition: all 0.2s ease !important;
    padding: 0 !important;
    margin: 0 !important;
}

#userDetailModal .modal-header .btn-close::before,
#userDetailModal .modal-header .btn-close::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    width: 14px !important;
    height: 2px !important;
    background-color: #4668B0 !important;
    border-radius: 1px !important;
}

#userDetailModal .modal-header .btn-close::before {
    transform: translate(-50%, -50%) rotate(45deg) !important;
}

#userDetailModal .modal-header .btn-close::after {
    transform: translate(-50%, -50%) rotate(-45deg) !important;
}

#userDetailModal .modal-header .btn-close:hover {
    background-color: rgba(70, 104, 176, 0.2) !important;
    transform: rotate(90deg) !important;
}

#userDetailModal .modal-header .btn-close:focus {
    box-shadow: none !important;
    outline: none !important;
    opacity: 1 !important;
    background: rgba(70, 104, 176, 0.1) !important;
}

/* Profile Photo Styles */
#userDetailModal .profile-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(25, 28, 100, 0.15);
}

#userDetailModal .default-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(25, 28, 100, 0.15);
}

#userDetailModal .default-avatar i {
    font-size: 2rem;
    color: white;
}

#userDetailModal .profile-header {
    background: linear-gradient(135deg, rgba(70, 104, 176, 0.05) 0%, rgba(25, 28, 100, 0.05) 100%);
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: center;
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .info-container {
        padding: 0.75rem 0.75rem 0.5rem;
    }
    
    .info-section {
        padding: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .profile-header {
        padding: 0.75rem;
    }
    
    #userDetailModal .profile-photo,
    #userDetailModal .default-avatar {
        width: 70px;
        height: 70px;
    }
    
    #userDetailModal .default-avatar i {
        font-size: 1.75rem;
    }
}

/* Tombol khusus halaman keanggotaan */
.keanggotaan-btn {
    background: linear-gradient(90deg, #5a8dee 0%, #1e3c72 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.85rem 2.5rem;
    border: none;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(70, 104, 176, 0.10);
    display: flex;
    align-items: center;
    gap: 0.7rem;
    transition: background 0.2s, box-shadow 0.2s;
    min-width: 240px;
    min-height: 48px;
}
.keanggotaan-btn i {
    font-size: 1.2rem;
}
.keanggotaan-btn:hover, .keanggotaan-btn.active {
    background: linear-gradient(90deg, #4668B0 0%, #191C64 100%);
    box-shadow: 0 6px 24px rgba(25, 28, 100, 0.13);
}

@media (max-width: 600px) {
  .keanggotaan-btn {
    width: calc(100% - 4rem);
    margin-left: 2rem;
    margin-right: 2rem;
    min-width: 0;
  }
  .keanggotaan-btn i {
    font-size: 0.92rem;
  }
}

.keanggotaan-btn {
    font-size: 0.98rem;
}
.keanggotaan-btn i {
    font-size: 1rem;
}
@media (max-width: 600px) {
  .keanggotaan-btn {
    font-size: 0.92rem;
    padding: 0.6rem 0.7rem;
  }
  .keanggotaan-btn i {
    font-size: 0.92rem;
  }
}

@media (max-width: 600px) {
  .d-flex.gap-3 {
    flex-direction: column !important;
    gap: 0.7rem !important;
  }
}

@media (max-width: 600px) {
  .container-fluid,
  .container-fluid > .row,
  .row,
  .col-12,
  .col-12.mb-3 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 600px) {
  .keanggotaan-btn {
    margin-left: 2rem;
    margin-right: 2rem;
  }
  .d-flex.gap-3 {
    margin-top: 1.2rem;
    margin-bottom: 0.7rem;
  }
}

.keanggotaan-btn-submit {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.8rem 2.2rem;
    border: none;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(70, 104, 176, 0.10);
    transition: background 0.2s, box-shadow 0.2s;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}
.keanggotaan-btn-submit:hover, .keanggotaan-btn-submit:focus {
    background: linear-gradient(135deg, #4668B0 0%, #191C64 100%);
    filter: brightness(0.95);
    box-shadow: 0 6px 24px rgba(25, 28, 100, 0.13);
}
@media (max-width: 600px) {
  .keanggotaan-btn-submit {
    width: calc(100% - 4rem);
    margin-left: 2rem;
    margin-right: 2rem;
    font-size: 0.98rem;
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
  }
}

@media (max-width: 576px) {
  .main-content small.form-text {
    font-size: 0.7rem !important;
  }
}

/* Carousel Styles */
.carousel-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 1.5rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    border-radius: 12px;
}

.carousel-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
}

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

.carousel-control-prev {
    left: 10px;
}

.carousel-control-next {
    right: 10px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.carousel-indicators {
    bottom: -40px;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(70, 104, 176, 0.5);
    border: none;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #4668B0;
}

/* Image Placeholder Styles */
.image-placeholder {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e8ecff 100%);
    border-radius: 12px;
    margin-bottom: 0;
}

/* Location Section Styles */
.location-section {
    background: #f8f9fa !important;
    background-color: #f8f9fa !important;
    color: #191C64;
    min-height: 30vh;
    margin: 0;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.location-section h2,
.location-section .section-subtitle {
    color: white;
}

.map-container {
    background: white;
    border-radius: 20px;
    padding: 1rem;
    box-shadow: 0 8px 24px rgba(25, 28, 100, 0.08);
}

/* Sidebar Overlay Styles */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.sidebar-open .sidebar-overlay {
    opacity: 1;
    visibility: visible;
}

/* Additional Menu Link Styles */
.menu-link {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem;
    display: block;
    transition: all 0.3s ease;
}

.menu-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.submenu {
    margin-left: 1rem;
    display: none;
}

.submenu-item {
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem 0.8rem 2.5rem;
    display: block;
    transition: all 0.3s ease;
    position: relative;
}

.submenu-item:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.submenu-icon {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.submenu-icon.active {
    transform: rotate(180deg);
}

.menu-item {
    margin-bottom: 0.2rem;
}

.menu-item-wrapper {
    margin: 0;
    padding: 0;
}

.menu-item-wrapper .menu-item {
    width: 100%;
    display: block;
    margin: 0;
}

.submenu-transaksi {
    background: rgba(0, 0, 0, 0.15);
    margin: 0;
}

.submenu-item {
    display: block;
    color: white;
    text-decoration: none;
    padding: 0.8rem 1rem 0.8rem 3.2rem;
    transition: all 0.3s ease;
    font-size: 0.95em;
}

.submenu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
}

/* Additional Container Styles */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-fluid {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Additional Body Styles */
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Additional Responsive Styles for Welcome Page */
@media (max-width: 768px) {
    .hero-section {
        min-height: 100vh;
        padding: 180px 1rem 80px 1rem;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }

    .hero-description {
        font-size: 1rem;
        margin: 1rem 0;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .feature-item {
        margin-bottom: 0.8rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .hero-image {
        max-width: 80%;
        margin: 0 auto;
        display: block;
    }

    .building-section {
        min-height: auto;
        padding: 2rem 1rem;
    }

    .buildings-container {
        padding: 1rem 0.5rem;
        gap: 1rem;
    }

    .building-card {
        padding: 1.5rem;
    }

    .building-card h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

    .room-list {
        gap: 0.5rem;
    }

    .room-item {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .carousel-container {
        max-width: 100%;
    }

    .carousel-container img {
        max-height: 180px;
        object-fit: cover;
        border-radius: 8px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 35px;
        height: 35px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 16px;
        height: 16px;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
    }

    .nav-arrow i {
        font-size: 1rem;
    }

    .reporting-section {
        padding: 3rem 1rem;
    }

    .reporting-section h2 {
        font-size: 1.8rem;
    }

    .reporting-section p {
        font-size: 1rem;
    }

    .btn-buat-laporan {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }

    .contact-section {
        padding: 3rem 1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .contact-card h2 {
        font-size: 1.8rem;
    }

    .contact-info {
        gap: 1rem;
    }

    .contact-item {
        font-size: 0.9rem;
    }

    .about-section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .section-description {
        font-size: 1rem;
    }

    .feature-item i {
        font-size: 1.2rem;
    }

    .feature-item span {
        font-size: 0.9rem;
    }

    .about-image {
        max-width: 100%;
        margin: 1rem 0;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 160px 0.5rem 60px 0.5rem;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .feature-item span {
        font-size: 0.85rem;
    }

    .hero-image {
        max-width: 90%;
    }

    .building-section {
        padding: 1.5rem 0.5rem;
    }

    .buildings-container {
        padding: 0.5rem 0.25rem;
    }

    .building-card {
        padding: 1rem;
    }

    .building-card h2 {
        font-size: 1.2rem;
    }

    .room-item {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .carousel-container {
        max-width: 100%;
        margin: 0 auto 0.8rem;
    }

    .carousel-container img {
        max-height: 140px;
        object-fit: cover;
        border-radius: 6px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        width: 30px;
        height: 30px;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 14px;
        height: 14px;
    }

    .nav-arrow {
        width: 30px;
        height: 30px;
    }

    .nav-arrow i {
        font-size: 0.9rem;
    }

    .reporting-section {
        padding: 2rem 0.5rem;
    }

    .reporting-section h2 {
        font-size: 1.6rem;
    }

    .reporting-section p {
        font-size: 0.9rem;
    }

    .btn-buat-laporan {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }

    .contact-section {
        padding: 2rem 0.5rem;
    }

    .contact-card {
        padding: 1.5rem 1rem;
    }

    .contact-card h2 {
        font-size: 1.6rem;
    }

    .contact-item {
        font-size: 0.85rem;
    }

    .about-section {
        padding: 2rem 0.5rem;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .section-description {
        font-size: 0.9rem;
    }

    .feature-item span {
        font-size: 0.8rem;
  }
}

/* Override: Hilangkan nested box pada Berita Acara di modal detail Barang Keluar */
#detailBeritaAcaraPreview {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Override: Hilangkan nested box pada Bukti Peminjaman & Pengembalian di modal detail Peminjaman */
#detailBuktiPeminjamanPreview,
#detailBuktiPengembalianPreview {
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Responsive: Tombol nota/bukti pembelian di detail barang */
@media (max-width: 576px) {
  #detailNotaButtons {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
  #detailNotaButtons .btn {
    width: 100%;
    border-radius: 1.5rem;
    font-size: 1rem;
    justify-content: center;
    margin: 0 !important;
  }
}

/* Responsive: Tombol dokumen di modal detail (Barang Keluar, Pemindahan, Perbaikan, Peminjaman, dll) */
@media (max-width: 576px) {
  #detailBuktiPreview .btn,
  #detailBeritaAcaraPreview .btn,
  #detailBuktiKerusakanContainer .btn,
  #detailBuktiPeminjamanPreview .btn,
  #detailBuktiPengembalianPreview .btn {
    width: 100%;
    border-radius: 1.5rem;
    font-size: 1rem;
    justify-content: center;
    margin: 0 0 0.5rem 0 !important;
  }
  #detailBuktiPreview .d-flex,
  #detailBeritaAcaraPreview .d-flex,
  #detailBuktiKerusakanContainer .d-flex,
  #detailBuktiPeminjamanPreview .d-flex,
  #detailBuktiPengembalianPreview .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.5rem !important;
  }
}

/* Responsive: Tambahan spacing untuk tombol di detail perbaikan (Berita Acara) */
@media (max-width: 576px) {
  #detailBeritaAcaraContainer .d-flex {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.75rem !important;
  }
  #detailBeritaAcaraContainer .btn {
    margin-bottom: 0.5rem !important;
  }
}

@media (max-width: 576px) {
  .filter-buttons .form-select {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
}