body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}

/*.sidebar {*/
/*    position: fixed;*/
/*    top: 56px;*/
/*    bottom: 0;*/
/*    left: 0;*/
/*    z-index: 100;*/
/*    padding: 20px 0;*/
/*    overflow-x: hidden;*/
/*    overflow-y: auto;*/
/*    background-color: #f8f9fa;*/
/*    border-right: 1px solid #dee2e6;*/
/*    width: 230px; */
/*}*/

/*.sidebar-sticky {*/
/*    position: relative;*/
/*    top: 0;*/
/*    height: calc(100vh - 116px);*/
/*    padding-top: .5rem;*/
/*    overflow-x: hidden;*/
/*    overflow-y: auto;*/
/*}*/

.nav-link {
    color: #333;
    padding: 8px 16px;
    margin: 2px 8px;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-link:hover {
    color: #007bff;
    background-color: #e9ecef;
}

.nav-link.active {
    color: #007bff;
    background-color: #e9ecef;
    font-weight: bold;
}

.nav-link i {
    margin-right: 8px;
}

.card {
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.card-header {
    background-color: #007bff;
    color: white;
    border-radius: 10px 10px 0 0 !important;
    border: none;
}

.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
}

.btn-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}

.footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: auto;
    border-top: 1px solid #e7e7e7;
}

.dashboard-card {
    border-left: 5px solid #007bff;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.dashboard-card .card-body {
    padding: 20px;
}

.dashboard-card h5 {
    margin-bottom: 5px;
    color: #333;
    font-size: 1rem;
}

.dashboard-card h2 {
    margin-bottom: 0;
    color: #007bff;
    font-size: 2rem;
    font-weight: bold;
}

.chart-container {
    position: relative;
    height: 300px;
    width: 100%;
}

.table th {
    background-color: #f8f9fa;
}

.navbar-brand {
    font-weight: bold;
}

.form-group label {
    font-weight: 600;
}

.alert {
    border-radius: 10px;
}

.galeri-item {
    margin-bottom: 20px;
}

.galeri-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.lapak-item, .berita-item, .kegiatan-item {
    margin-bottom: 20px;
}

.lapak-item img, .berita-item img, .kegiatan-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.download-item {
    margin-bottom: 15px;
    padding: 15px;
    border: 1px solid #dee2e6;
    border-radius: 5px;
}

.download-item:hover {
    background-color: #f8f9fa;
}

.jumbotron {
    border-radius: 0;
    margin-bottom: 0;
}

/* Perbaikan tampilan dashboard */
/*.main-content {*/
/*    margin-left: 230px;*/
/*    padding: 20px;*/
/*    min-height: calc(100vh - 116px); */
/*}*/

/* Responsive untuk mobile */
/*@media (max-width: 768px) {*/
/*    .sidebar {*/
/*        position: static;*/
/*        height: auto;*/
/*        width: 100%;*/
/*        border-right: none;*/
/*        border-bottom: 1px solid #dee2e6;*/
/*    }*/
    
/*    .main-content {*/
/*        margin-left: 0;*/
/*    }*/
/*}*/

/* Tambahkan CSS untuk layout tanpa sidebar */
.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Tambahkan CSS untuk bottom navigation mobile */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    padding: 8px 0;
}

.bottom-nav-item {
    flex: 1;
    text-align: center;
    padding: 8px 0;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.3s;
}

.bottom-nav-item:hover {
    color: #007bff;
}

.bottom-nav-item i {
    font-size: 20px;
    display: block;
    margin-bottom: 4px;
}

.bottom-nav-item.active {
    color: #007bff;
}

@media (max-width: 768px) {
    .bottom-nav {
        display: flex;
    }
    
    .main-content {
        padding-bottom: 60px; /* Beri ruang untuk bottom nav */
    }
}

.sidebar {
    display: none !important;
}

.main-content {
    margin-left: 0 !important;
    width: 100% !important;
}