/* Reset default */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar styling */
.navbar {
    background: linear-gradient(145deg, #f0f8ff, #ffeefa);
    padding: 10px 20px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: bold;
    color: #914d7c;
    display: flex;
    align-items: center;
}

.navbar-brand:hover {
    color: #000000;
}

.navbar-toggler {
    border: none;
    color: #000000;
    font-size: 1.3rem;
}

/* Sidebar styling */
#sidebar {
    width: 250px;
    height: 100vh;
    position: fixed;
    top: 56px;
    left: 0;
    background: linear-gradient(145deg, #f0f8ff, #ffeefa);
    padding-top: 1rem;
    padding-top: 1rem;
    transition: all 0.3s ease;
    z-index: 999;
    overflow-y: auto;
    overflow-x: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#sidebar .nav-link {
    color: #000000;
    padding: 12px 20px;
    font-size: 1rem;
    display: block;
    transition: all 0.2s ease-in-out;
}

#sidebar .nav-link:hover {
    background-color: #f7b9e3;
    backdrop-filter: blur(8px); /* efek blur */
    -webkit-backdrop-filter: blur(8px); /* untuk Safari */
    color: #ffffff; /* pastikan teks tetap terlihat */
    border-radius: 8px;
    transition: all 0.3s ease;
}

/* Dropdown submenu styling */
#sidebar ul ul {
    padding-left: 10px;
    background-color: #edcddf;
}

#sidebar ul ul .nav-link {
    padding-left: 35px;
}

/* Sidebar icon spacing */
#sidebar i {
    margin-right: 10px;
    color: #b25e8e;
}

/* Logo styling */
.logo2 {
    display: flex;
    align-items: center;
    margin-left: 15px;
}

.logo2 img {
    width: 75px;
    height: 35px;
    margin-right: 10px;
}

/* Content */
#content {
    padding: 80px 20px 50px 270px;
    transition: all 0.3s ease;
}

#content.active {
    padding-left: 20px;
}

/* Tables & buttons */
.table-responsive {
    overflow-x: auto;
    max-height: 400px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.05);
    background: white;
    padding: 1rem;
}

.btn {
    border-radius: 20px;
}

.card-header.bg-gradient {
    font-family: 'Segoe UI', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.container.shadow-sm {
    transition: all 0.3s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
    #sidebar {
        left: -250px;
    }

    #sidebar.active {
        left: 0;
    }

    #content {
        padding-left: 20px;
    }

    .navbar-toggler {
        margin-right: auto;
    }
}

/* Pagination */
.pagination {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    text-decoration: none;
    color: #2c3e50;
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.pagination a:hover {
    background-color: #1abc9c;
    color: white;
}

.pagination .disabled {
    color: #ccc;
    pointer-events: none;
}

.pagination .active a {
    background-color: #1abc9c;
    color: white;
    border-color: #1abc9c;
}
