/* Auth Modal */
.auth-modal {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease; z-index: 2000;
}
.auth-modal.open { opacity: 1; pointer-events: auto; }

.auth-modal-content {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.6));
  border-radius: 14px; padding: 30px; width: 90%; max-width: 380px;
  backdrop-filter: blur(20px) saturate(1.8); border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 20px 50px rgba(0,0,0,0.1); position: relative;
}
.auth-modal-content h2 { text-align: center; color: #1b5e20; margin-bottom: 20px; }
.auth-modal-content input {
  width: 100%; padding: 12px; margin-bottom: 12px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.5);
}
.auth-modal-content button {
  width: 100%; padding: 12px; border-radius: 8px; border: none; cursor: pointer;
  font-weight: 600; transition: transform 0.2s;
}
.auth-modal-content button[type="submit"] { background: #43a047; color: white; }
.auth-modal-content button[type="submit"]:hover { background: #2e7d32; }
.auth-modal-content .close { position: absolute; top: 10px; right: 15px; font-size: 24px; cursor: pointer; }

/* Common Styles for New Pages (Tables, Cards) */
.page-title { font-size: 2em; color: #1b5e20; margin-bottom: 20px; text-align: center; }

.glass-panel {
  background: rgba(255,255,255,0.4); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.5); border-radius: 16px;
  padding: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); margin-bottom: 20px;
}

/* Tables (Orders, Admin) */
.custom-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.custom-table th, .custom-table td { padding: 12px; text-align: left; border-bottom: 1px solid rgba(0,0,0,0.05); }
.custom-table th { color: #1b5e20; font-weight: 600; }
.status-tag { padding: 4px 8px; border-radius: 4px; font-size: 12px; }
.status-pending { background: #fff3e0; color: #e65100; }
.status-shipped { background: #e8f5e9; color: #2e7d32; }

/* Wallet Page */
.wallet-card { text-align: center; padding: 30px; background: linear-gradient(135deg, #43a047, #2e7d32); color: white; border-radius: 16px; margin-bottom: 30px; }
.wallet-balance { font-size: 3em; font-weight: bold; margin: 10px 0; }
.top-up-options { display: flex; gap: 10px; justify-content: center; margin-bottom: 20px; flex-wrap: wrap;}
.amount-btn { 
  background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: white; 
  padding: 10px 20px; border-radius: 8px; cursor: pointer; transition: background 0.3s;
}
.amount-btn:hover, .amount-btn.active { background: rgba(255,255,255,0.4); }

/* Forms */
.form-group { margin-bottom: 15px; }
.form-group label { display: block; margin-bottom: 5px; color: #1b5e20; }
.form-group input { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ccc; background: rgba(255,255,255,0.8); }
.save-btn { background: #1b5e20; color: white; padding: 10px 20px; border: none; border-radius: 8px; cursor: pointer; }
