@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

/* Base Styles */
body, html { min-height: 100vh; background: transparent !important; position: relative; margin: 0; padding: 0; }
body::before, html::before { display: none !important; }
body > *, html > * { position: relative; z-index: 1; }

/* Header & Navigation */
header { background: #ffb300; color: #fff; padding: 20px 0; text-align: center; }
nav a { color: #fff; margin: 0 10px; text-decoration: none; }

/* Menu Components */
.menu-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 30px 0; }
.menu-item { background: #fff; border-radius: 8px; box-shadow: 0 2px 8px #ddd; padding: 16px; width: 180px; text-align: center; }
.menu-item img { width: 100px; height: 100px; object-fit: cover; margin-bottom: 10px; }
.menu-item button { background: #ffb300; color: #fff; border: none; padding: 8px 16px; border-radius: 4px; cursor: pointer; }
.menu-item button:hover { background: #ff9800; }

/* Cards */
.card, .checkout-card, .keranjang-card { border-radius: 18px; box-shadow: 0 8px 32px rgba(0,0,0,0.10); border: none; margin-bottom: 24px; background: #fff !important; }
.card:hover, .checkout-card:hover, .keranjang-card:hover { transform: translateY(-6px) scale(1.01); box-shadow: 0 16px 48px rgba(0,0,0,0.16); }
.card-img-top { height: 200px; object-fit: cover; }

/* Buttons */
.btn-lg, .btn-primary, .btn-success, .btn-warning { font-size: 1.1rem; border-radius: 8px; }
.btn-primary, .btn-warning, .btn-success { border-radius: 10px; font-weight: bold; padding: 10px 0; transition: background 0.2s, box-shadow 0.2s; }
.btn-primary { background: linear-gradient(90deg, #1976d2 0%, #2196f3 100%); border: none; }
.btn-warning { background: linear-gradient(90deg, #ffb300 0%, #ff9800 100%); border: none; color: #fff; }
.btn-success { background: linear-gradient(90deg, #43a047 0%, #66bb6a 100%); border: none; }
.btn-primary:hover, .btn-warning:hover, .btn-success:hover { filter: brightness(1.08); box-shadow: 0 4px 16px #0002; }

/* Tables */
.table th, .table td { vertical-align: middle; }
.table { border-radius: 12px; overflow: hidden; background: #fff; }
.table th { background: #fffbe7; color: #ff9800; font-weight: 600; }
.table td { background: #fff; }

/* Login */
.login-card { max-width: 400px; margin: 80px auto; border-radius: 18px; transition: transform 0.25s cubic-bezier(.4,2,.3,1), box-shadow 0.25s; box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.login-card:hover { transform: translateY(-12px) scale(1.03); box-shadow: 0 16px 48px rgba(0,0,0,0.18); }
.bg-login-gradient { min-height: 100vh; background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%); display: flex; align-items: center; justify-content: center; }

/* Header Bar */
.header-bar, .topbar { width: 100%; padding: 18px 0 10px 0; background: linear-gradient(90deg, #ffb300 0%, #ff9800 100%); color: #fff; text-align: center; font-size: 2.2rem; font-weight: bold; letter-spacing: 2px; box-shadow: 0 2px 12px #ffb30022; text-shadow: 1px 2px 8px #ff980055; display: flex; align-items: center; justify-content: center; gap: 16px; }
.header-bar .logo, .topbar .logo { margin-right: 16px; }

/* Footer */
footer { background: linear-gradient(90deg, #fffbe7 0%, #ffe0b2 100%); color: #333; text-align: center; padding: 18px 0 10px 0; font-size: 1.1rem; box-shadow: 0 -2px 12px #ffb30022; letter-spacing: 1px; border-radius: 0 0 18px 18px; }

/* Admin Layout - REMOVED OLD COMPLEX STYLES */
.admin-wrapper { display: flex; min-height: 100vh; }

/* Modal Fixes */
.modal-backdrop, .modal-backdrop.show, .modal-backdrop.fade { background: none !important; background-color: transparent !important; opacity: 0 !important; pointer-events: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }

/* Override any blur effects */
.card, .dashboard-card, .kelola-card, .pesanan-card, .bayar-card, .login-card, .qr-card, .keranjang-card, .checkout-card { background: #fff !important; opacity: 1 !important; pointer-events: auto !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; box-shadow: 0 8px 32px rgba(0,0,0,0.10) !important; filter: none !important; }

/* Hide any overlay divs */
body > div[style*="backdrop-filter"], body > div[style*="background"], body > div[style*="opacity"] { display: none !important; }

/* Mobile Responsive */
@media (max-width: 700px) { 
    .header-bar, .topbar { font-size: 1.2rem; padding: 12px 0; } 
    .card, .checkout-card, .keranjang-card { margin-bottom: 16px; } 
}