body {
  font-family:'Segoe UI',Arial,sans-serif;
  background:#f4f6f9;
  margin:0;
}

/* Header */
.header {
  background:#006400;
  color:#FFD700;
  padding:15px;
  text-align:center;
  font-size:18px;
  font-weight:bold;
  position:relative;
}
.header small {
  display:block;
  font-size:12px;
  color:#fff;
  margin-top:5px;
}
.hamburger {
  font-size:26px;
  padding:10px;
  cursor:pointer;
  color:#FFD700;
  position:absolute;
  left:10px;
  top:10px;
}

/* Balance card */
.balance {
  background:#fff;
  margin:15px;
  padding:20px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
  text-align:center;
}
.balance h2 {
  margin:0;
  color:#800020;
  font-size:20px;
}
.balance h2 i {
  margin-right:8px;
  color:#006400;
}
.balance button {
  margin-top: 10px;
  padding: 10px 18px;       /* slimmer height, balanced width */
  background: linear-gradient(135deg, #FFD700, #FFC107); /* modern gradient */
  border: none;
  border-radius: 6px;       /* smaller radius for a sharper look */
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;          /* slightly smaller text */
  display: inline-block;    /* no full width */
  transition: all 0.3s ease;
}
.balance button:hover {
  background: #006400;
  color: #fff;
  transform: scale(1.05);   /* subtle hover animation */
}


/* Side menu */
.menu {
  background:#006400;
  color:#fff;
  padding:10px;
  position:fixed;
  top:0;
  left:-220px;
  width:220px;
  height:100%;
  transition:0.3s;
  z-index:1000;
}
.menu.active { left:0; }
.menu a {
  display:flex;
  align-items:center;
  padding:14px;
  color:#FFD700;
  text-decoration:none;
  font-size:16px;
}
.menu a:hover { background:#800020; }
.menu i { margin-right:8px; }

/* Product cards */
.products { margin:15px; }
.product-card {
  background:#fff;
  margin-bottom:15px;
  padding:15px;
  border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,0.1);
}
.product-card h3 {
  margin:0;
  color:#006400;
  font-size:18px;
  display:flex;
  align-items:center;
}
.product-card h3 .icon {
  font-size:28px;
  margin-right:8px;
}
.product-card p {
  margin:5px 0;
  color:#333;
  font-size:14px;
}
.product-card button {
  width:100%;
  padding:10px;
  background:#FFD700;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
  font-size:14px;
}
.product-card button:hover {
  background:#800020;
  color:#fff;
}

/* Modal */
.modal {
  position:fixed;
  top:0; left:0; width:100%; height:100%;
  background:rgba(0,0,0,0.6);
  display:flex; align-items:center; justify-content:center;
  z-index:2000;
}
.modal-content {
  background:#fff;
  padding:20px;
  border-radius:12px;
  width:90%; max-width:360px;
  text-align:center;
  box-shadow:0 4px 10px rgba(0,0,0,0.2);
}
.modal-content h2 { margin:0 0 10px; font-size:18px; }
.success { color:#006400; }
.error { color:#800020; }
.btn {
  margin-top:15px;
  padding:12px;
  width:100%;
  background:#FFD700;
  border:none;
  border-radius:8px;
  font-weight:bold;
  cursor:pointer;
  font-size:16px;
}
.btn:hover { background:#006400; color:#fff; }
/* Toast-style popup */
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #333;
  padding: 14px 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  font-size: 14px;
  text-align: center;
  z-index: 3000;
  opacity: 0;
  transition: opacity 0.4s ease, bottom 0.4s ease;
}
.toast.show {
  opacity: 1;
  bottom: 40px;
}
.toast.success { border-left: 5px solid #006400; }
.toast.error { border-left: 5px solid #800020; }

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: url('assets/images/money.png') no-repeat center center fixed;
  background-size: cover;
}

/* Overlay blur panel */
.overlay {
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 60px auto;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Form styling */
.overlay h2 {
  color: #800020;
  text-align: center;
  margin-bottom: 20px;
}

.overlay label {
  display: block;
  margin-top: 15px;
  font-weight: bold;
}

.overlay input,
.overlay select {
  width: 100%;
  padding: 12px;
  margin-top: 5px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.warning {
  color: #b00;
  font-size: 0.9em;
  margin-top: 10px;
}

.btn-primary {
  background: #800020;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  width: 100%;
  font-weight: bold;
}

.btn-primary:hover {
  background: #a00030;
}
