/* Custom Styles */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #1cc88a;
    --info-color: #36b9cc;
    --warning-color: #f6c23e;
    --danger-color: #e74a3b;
    --light-color: #f8f9fa;
    --dark-color: #5a5c69;
    --gray-300: #dddfeb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light-color);
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    overflow-x: hidden;
}

/* Struktur Halaman - PERBAIKAN UTAMA */
.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
}

.content-wrapper {
    flex: 1 0 auto;
    width: 100%;
    padding: 20px 0;
}

.footer-wrapper {
    flex-shrink: 0;
    background-color: #212529;
    color: #fff;
    padding: 1.5rem 0;
    width: 100%;
    box-shadow: 0 -0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: relative;
    z-index: 10;
    margin-top: auto;
}

/* PERBAIKAN NOTIFIKASI PEMBAYARAN - TAMBAHAN */
/* Reset positioning untuk semua notifikasi */
.alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Container khusus untuk notifikasi pembayaran */
.notification-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    z-index: 1;
}

/* Style untuk notifikasi pembayaran */
.alert-payment {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 0;
}

/* PERBAIKAN NOTIFIKASI KERANJANG - TAMBAHAN */
/* Notifikasi keranjang di navbar */
.navbar .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.6rem;
    padding: 0.2rem 0.3rem;
    background-color: var(--danger-color);
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Dropdown keranjang */
.cart-dropdown {
    position: relative;
}

.cart-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: auto;
    min-width: 320px;
    max-width: 400px;
    padding: 0;
    border: none;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    z-index: 1050;
    margin-top: 0.5rem;
    overflow: hidden;
}

.cart-dropdown .dropdown-menu.show {
    display: block;
}

/* Header dropdown keranjang */
.cart-header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 15px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Isi dropdown keranjang */
.cart-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 10px;
}

/* Item dalam keranjang */
.cart-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    transition: background-color 0.2s;
}

.cart-item:hover {
    background-color: #f8f9fa;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 10px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.cart-item-price {
    color: var(--dark-color);
    font-size: 0.85rem;
}

.cart-item-quantity {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Footer dropdown keranjang */
.cart-footer {
    background-color: #f8f9fa;
    padding: 15px;
    border-top: 1px solid #dee2e6;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-empty {
    padding: 30px 15px;
    text-align: center;
    color: #6c757d;
}

/* Tombol aksi keranjang */
.cart-actions {
    display: flex;
    gap: 10px;
}

.cart-actions .btn {
    flex: 1;
}

/* Notifikasi tambah ke keranjang */
.cart-notification {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 9999;
    min-width: 300px;
    max-width: 400px;
    border-radius: 8px;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.cart-notification.fade-out {
    animation: slideOut 0.3s ease-out forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Perbaikan untuk notifikasi di halaman pembayaran */
.payment-section .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk toast notification */
.toast-container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk notifikasi yang muncul dari JavaScript */
.position-fixed {
    position: relative !important;
}

/* Perbaikan untuk notifikasi di pojok kanan atas */
.top-0 {
    top: auto !important;
}

.end-0 {
    right: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kiri atas */
.start-0 {
    left: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kanan bawah */
.bottom-0 {
    bottom: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kiri bawah */
.start-0.bottom-0 {
    left: auto !important;
    bottom: auto !important;
}

/* Perbaikan untuk notifikasi di tengah */
.translate-middle {
    transform: none !important;
}

/* Perbaikan untuk notifikasi di tengah atas */
.top-50.start-50.translate-middle {
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Perbaikan untuk notifikasi di tengah bawah */
.bottom-50.start-50.translate-middle {
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Perbaikan untuk notifikasi di halaman checkout */
.checkout-page .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk notifikasi di halaman konfirmasi */
.confirmation-page .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Navbar Styles */
.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Jumbotron Styles */
.jumbotron {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 15px;
    color: white;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Card Styles */
.card {
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
}

/* Button Styles */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 0.25rem;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

.btn-primary:hover {
    background-color: #5a67d8;
    border-color: #5a67d8;
}

.btn-success {
    background-color: var(--success-color);
    border-color: var(--success-color);
}

.btn-info {
    background-color: var(--info-color);
    border-color: var(--info-color);
}

.btn-warning {
    background-color: var(--warning-color);
    border-color: var(--warning-color);
}

.btn-danger {
    background-color: var(--danger-color);
    border-color: var(--danger-color);
}

/* Border Styles */
.border-left-primary {
    border-left: 0.25rem solid var(--primary-color) !important;
}

.border-left-success {
    border-left: 0.25rem solid var(--success-color) !important;
}

.border-left-info {
    border-left: 0.25rem solid var(--info-color) !important;
}

.border-left-warning {
    border-left: 0.25rem solid var(--warning-color) !important;
}

.border-left-danger {
    border-left: 0.25rem solid var(--danger-color) !important;
}

/* Text Styles */
.text-gray-800 {
    color: var(--dark-color) !important;
}

.text-gray-300 {
    color: var(--gray-300) !important;
}

.text-primary {
    color: var(--primary-color) !important;
}

.text-xs {
    font-size: 0.7rem;
}

.font-weight-bold {
    font-weight: 700 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

/* Admin Dashboard Styles */
.shadow {
    box-shadow: 0 0.15rem 1.75rem 0 rgba(58, 59, 69, 0.15) !important;
}

.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}

.h-100 {
    height: 100% !important;
}

.mr-2 {
    margin-right: 0.5rem !important;
}

.progress-sm {
    height: 0.5rem !important;
}

.mr-3 {
    margin-right: 1rem !important;
}

/* Admin Menu Hide Styles */
.admin-hide-menu {
    display: none !important;
}

/* Form Styles */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Badge Styles */
.badge {
    font-size: 0.75em;
    padding: 0.25em 0.4em;
    border-radius: 0.25rem;
}

/* Table Styles */
.table-responsive {
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.table {
    margin-bottom: 0;
}

.table th {
    border-top: none;
    background-color: #f8f9fc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.table td {
    vertical-align: middle;
}

/* Image Styles */
.img-fluid {
    border-radius: 0.375rem;
}

/* Alert Styles */
.alert {
    border-radius: 0.375rem;
    border: none;
    margin-bottom: 1.5rem;
}

/* Footer Styles */
.footer-wrapper a {
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-wrapper a:hover {
    color: #ddd;
}

.footer-wrapper p {
    margin-bottom: 0;
}

/* Utility Classes */
.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mt-4 {
    margin-top: 1.5rem !important;
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Solusi untuk browser lama */
@supports not (flex-wrap: wrap) {
    .page-wrapper {
        display: block;
        min-height: 100vh;
        position: relative;
        padding-bottom: 60px; /* Tinggi footer */
    }
    
    .content-wrapper {
        padding-bottom: 0;
    }
    
    .footer-wrapper {
        position: absolute;
        bottom: 0;
        height: 60px;
        width: 100%;
    }
}

/* Solusi untuk halaman dengan konten minimal */
.minimal-content {
    min-height: calc(100vh - 200px); /* Sesuaikan dengan tinggi header dan footer */
}

/* Perbaikan untuk container */
.container {
    max-width: 1140px;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Perbaikan untuk navbar */
.navbar {
    padding: 0.5rem 1rem;
}

/* Perbaikan untuk tautan aktif */
.nav-link.active {
    color: #fff !important;
    font-weight: 600;
}

/* Perbaikan untuk dropdown */
.dropdown-menu {
    border: none;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-radius: 0.375rem;
}

.dropdown-item {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}

.dropdown-item:hover {
    background-color: #f8f9fc;
}

/* PERBAIKAN TAMBAHAN UNTUK FOOTER */
/* Pastikan container di dalam content-wrapper memiliki tinggi minimum */
.content-wrapper .container {
    min-height: 300px;
}

/* Untuk halaman dengan sangat sedikit konten */
body.has-minimal-content .content-wrapper {
    min-height: calc(100vh - 250px); /* Sesuaikan dengan tinggi header + footer */
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .jumbotron {
        padding: 1.8rem;
        margin-bottom: 1.8rem;
    }
    
    /* Perbaikan dropdown keranjang untuk tablet */
    .cart-dropdown .dropdown-menu {
        min-width: 280px;
        max-width: 350px;
    }
    
    .cart-notification {
        right: 15px;
        min-width: 280px;
        max-width: 350px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
        padding-right: 10px;
        padding-left: 10px;
    }
    
    .jumbotron {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
        border-radius: 10px;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .content-wrapper {
        padding: 15px 0;
    }
    
    /* Perbaikan untuk mobile */
    .notification-container {
        margin: 0 -10px 15px;
        border-radius: 0;
    }
    
    .alert-payment {
        border-radius: 0;
    }
    
    /* Reset positioning untuk mobile */
    .alert {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .btn {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .table-responsive {
        border-radius: 0;
        margin: 0 -10px;
        width: calc(100% + 20px);
    }
    
    .footer-wrapper {
        padding: 1rem 0;
    }
    
    /* Perbaikan dropdown keranjang untuk mobile */
    .cart-dropdown .dropdown-menu {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        min-width: 100%;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
        max-height: 70vh;
        margin-top: 0;
        margin-bottom: 0;
    }
    
    .cart-items {
        max-height: 50vh;
    }
    
    .cart-notification {
        position: fixed;
        top: auto;
        bottom: 20px;
        left: 10px;
        right: 10px;
        min-width: auto;
        max-width: none;
    }
    
    @keyframes slideIn {
        from {
            transform: translateY(100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOut {
        from {
            transform: translateY(0);
            opacity: 1;
        }
        to {
            transform: translateY(100%);
            opacity: 0;
        }
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-right: 5px;
        padding-left: 5px;
    }
    
    .jumbotron {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 0.75rem;
    }
    
    .content-wrapper {
        padding: 10px 0;
    }
    
    .notification-container {
        margin: 0 -5px 10px;
    }
    
    .table-responsive {
        margin: 0 -5px;
        width: calc(100% + 10px);
    }
    
    .btn {
        padding: 0.2rem 0.4rem;
        font-size: 0.8rem;
    }
    
    .footer-wrapper {
        padding: 0.8rem 0;
        font-size: 0.9rem;
    }
    
    /* Perbaikan untuk mobile kecil */
    .cart-item-image {
        width: 40px;
        height: 40px;
    }
    
    .cart-item-name {
        font-size: 0.8rem;
    }
    
    .cart-item-price {
        font-size: 0.75rem;
    }
    
    .cart-item-quantity {
        font-size: 0.7rem;
    }
}

/* Full Screen untuk Desktop */
@media (min-width: 1201px) {
    body {
        min-height: 100vh;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .page-wrapper {
        min-height: 100vh;
        width: 100vw;
        overflow-x: hidden;
    }
    
    .content-wrapper {
        width: 100%;
        padding: 40px 0;
    }
    
    .container {
        max-width: 1200px;
    }
    
    .jumbotron {
        padding: 4rem;
        margin-bottom: 3rem;
    }
    
    .card {
        margin-bottom: 2rem;
    }
    
    .navbar {
        padding: 1rem 2rem;
    }
    
    .navbar-brand {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 1.1rem;
    }
    
    .footer-wrapper {
        padding: 2.5rem 0;
    }
    
    .form-control, .form-select {
        font-size: 1.1rem;
        padding: 0.75rem 1rem;
    }
    
    .form-label {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .table {
        font-size: 1.1rem;
    }
    
    .table th {
        font-size: 0.9rem;
        padding: 1rem;
    }
    
    .table td {
        padding: 1rem;
    }
    
    .card-header {
        font-size: 1.2rem;
        padding: 1.25rem;
    }
    
    .card-body {
        font-size: 1.1rem;
        padding: 1.5rem;
    }
    
    .alert {
        font-size: 1.1rem;
        padding: 1.25rem;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 0.35em 0.65em;
    }
    
    /* Perbaikan dropdown keranjang untuk desktop */
    .cart-dropdown .dropdown-menu {
        min-width: 350px;
        max-width: 450px;
    }
    
    .cart-notification {
        right: 30px;
        min-width: 350px;
        max-width: 450px;
    }
    
    /* Perbaikan ukuran elemen form - TAMBAHAN */
/* Form Styles - Perkecil ukuran */
.form-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
}

.form-control, .form-select {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    border-radius: 0.25rem;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.form-text {
    font-size: 0.75rem;
    margin-top: 0.25rem;
}

.input-group-text {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Button Styles - Perkecil ukuran */
.btn {
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
    border-radius: 0.25rem;
}

.btn-sm {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

.btn-lg {
    font-size: 1rem;
    padding: 0.5rem 1rem;
}

/* Card Styles - Perkecil ukuran */
.card {
    border: none;
    border-radius: 0.375rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 1rem;
    overflow: hidden;
}

.card-header {
    background-color: #f8f9fc;
    border-bottom: 1px solid #e3e6f0;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

.card-body {
    padding: 1rem;
    font-size: 0.875rem;
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.card-text {
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

/* Table Styles - Perkecil ukuran */
.table {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.table th {
    border-top: none;
    background-color: #f8f9fc;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.75rem;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
}

/* Badge Styles - Perkecil ukuran */
.badge {
    font-size: 0.65rem;
    padding: 0.2em 0.4em;
    border-radius: 0.25rem;
}

/* Alert Styles - Perkecil ukuran */
.alert {
    border-radius: 0.375rem;
    border: none;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Modal Styles - Perkecil ukuran */
.modal-header {
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.modal-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.modal-body {
    padding: 1rem;
    font-size: 0.875rem;
}

.modal-footer {
    padding: 1rem;
    border-top: 1px solid #dee2e6;
}

/* Navbar Styles - Perkecil ukuran */
.navbar {
    padding: 0.5rem 1rem;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.25rem;
}

.nav-link {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.nav-link i {
    font-size: 0.875rem;
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Dropdown Styles - Perkecil ukuran */
.dropdown-menu {
    font-size: 0.875rem;
    min-width: 200px;
}

.dropdown-item {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.dropdown-item i {
    font-size: 0.875rem;
    width: 20px;
    text-align: center;
    margin-right: 0.5rem;
}

/* Breadcrumb Styles - Perkecil ukuran */
.breadcrumb {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
    background-color: #f8f9fc;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.breadcrumb-item + .breadcrumb-item::before {
    font-size: 0.875rem;
}

/* Pagination Styles - Perkecil ukuran */
.pagination {
    font-size: 0.875rem;
}

.page-link {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

/* Progress Styles - Perkecil ukuran */
.progress {
    height: 0.5rem;
    font-size: 0.75rem;
}

/* List Group Styles - Perkecil ukuran */
.list-group-item {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

/* Custom Checkbox and Radio - Perkecil ukuran */
.form-check-input {
    width: 1rem;
    height: 1rem;
    margin-top: 0.25rem;
}

.form-check-label {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Custom Switch - Perkecil ukuran */
.form-switch .form-check-input {
    width: 2rem;
    height: 1rem;
}

.form-switch .form-check-label {
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Toast Styles - Perkecil ukuran */
.toast {
    font-size: 0.875rem;
    min-width: 250px;
}

.toast-header {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.toast-body {
    padding: 0.75rem;
    font-size: 0.875rem;
}

/* Tooltip Styles - Perkecil ukuran */
.tooltip-inner {
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Popover Styles - Perkecil ukuran */
.popover {
    font-size: 0.875rem;
}

.popover-header {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
}

.popover-body {
    font-size: 0.875rem;
    padding: 0.75rem;
}

/* Accordion Styles - Perkecil ukuran */
.accordion-button {
    font-size: 0.875rem;
    padding: 0.75rem 1rem;
}

.accordion-body {
    font-size: 0.875rem;
    padding: 1rem;
}

/* Responsive adjustments for smaller elements */
@media (max-width: 768px) {
    .form-label, .form-control, .form-select, .btn, .card-header, .card-body, .table, .badge, .alert, .nav-link, .dropdown-item, .breadcrumb, .page-link, .list-group-item, .form-check-label, .form-switch .form-check-label, .toast, .accordion-button, .accordion-body {
        font-size: 0.8rem;
    }
    
    .form-control, .form-select, .btn {
        padding: 0.375rem 0.5rem;
    }
    
    .card-header, .card-body, .modal-header, .modal-body, .modal-footer {
        padding: 0.75rem;
    }
    
    .table th, .table td {
        padding: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .nav-link {
        padding: 0.375rem 0.75rem;
    }
}

@media (max-width: 576px) {
    .form-label, .form-control, .form-select, .btn, .card-header, .card-body, .table, .badge, .alert, .nav-link, .dropdown-item, .breadcrumb, .page-link, .list-group-item, .form-check-label, .form-switch .form-check-label, .toast, .accordion-button, .accordion-body {
        font-size: 0.75rem;
    }
    
    .form-control, .form-select, .btn {
        padding: 0.25rem 0.5rem;
    }
    
    .card-header, .card-body, .modal-header, .modal-body, .modal-footer {
        padding: 0.5rem;
    }
    
    .table th, .table td {
        padding: 0.375rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .nav-link {
        padding: 0.25rem 0.5rem;
    }
    
    /* Perbaikan notifikasi admin - TAMBAHAN */
/* Reset positioning untuk semua notifikasi admin */
.admin-page .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    z-index: auto !important;
}

/* Container khusus untuk notifikasi admin */
.admin-notification-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    z-index: 1;
}

/* Style untuk notifikasi admin */
.alert-admin {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 0;
}

/* Perbaikan untuk notifikasi di halaman admin */
.admin-section .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk notifikasi di dashboard admin */
.admin-dashboard .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk notifikasi di halaman pembayaran admin */
.admin-payments .alert {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk toast notification admin */
.admin-page .toast-container {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 0 0 1rem 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Perbaikan untuk notifikasi yang muncul dari JavaScript di admin */
.admin-page .position-fixed {
    position: relative !important;
}

/* Perbaikan untuk notifikasi di pojok kanan atas admin */
.admin-page .top-0 {
    top: auto !important;
}

.admin-page .end-0 {
    right: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kiri atas admin */
.admin-page .start-0 {
    left: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kanan bawah admin */
.admin-page .bottom-0 {
    bottom: auto !important;
}

/* Perbaikan untuk notifikasi di pojok kiri bawah admin */
.admin-page .start-0.bottom-0 {
    left: auto !important;
    bottom: auto !important;
}

/* Perbaikan untuk notifikasi di tengah admin */
.admin-page .translate-middle {
    transform: none !important;
}

/* Perbaikan untuk notifikasi di tengah atas admin */
.admin-page .top-50.start-50.translate-middle {
    top: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Perbaikan untuk notifikasi di tengah bawah admin */
.admin-page .bottom-50.start-50.translate-middle {
    bottom: auto !important;
    left: auto !important;
    transform: none !important;
}

/* Perbaikan untuk mobile admin */
@media (max-width: 768px) {
    .admin-page .notification-container {
        margin: 0 -15px 15px;
        border-radius: 0;
    }
    
    .admin-page .alert-admin {
        border-radius: 0;
    }
    
    /* Reset positioning untuk mobile admin */
    .admin-page .alert {
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin: 0 0 1rem 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}