/* css/style.css - Premium Glassmorphic Dark UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary-bg: #0a0a2a;      /* deep navy */
  --secondary-bg: #11113b;    /* navy card background */
  --accent-color: #ffd700;    /* gold */
  --text-color: #ffffff;
  --text-muted: #8a8ab9;
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(255, 255, 255, 0.09);
  --font-family: 'Inter', sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background: radial-gradient(circle at top right, #18184f 0%, var(--primary-bg) 60%);
  color: var(--text-color);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--primary-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* Common Layout Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Forms & Inputs */
input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
  color: #fff;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-color);
  color: #000;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: #fff;
  border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
  background: var(--glass-hover);
  transform: translateY(-2px);
}

.btn-danger {
  background: #ff4757;
  color: #fff;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

/* Glass Card */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: var(--transition);
}

/* Login Page UI */
.login-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.login-card {
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.brand-logo {
  max-width: 80px;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.3));
}

.login-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #a2a2d0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.login-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.login-footer {
  margin-top: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.login-footer a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
}

/* Dashboard Layout */
.dashboard-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.sidebar {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  border-right: 1px solid var(--glass-border);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: var(--accent-color);
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-link:hover, .sidebar-link.active {
  color: #fff;
  background: var(--glass-bg);
}

.sidebar-link.active {
  border-left: 3px solid var(--accent-color);
  background: var(--glass-hover);
}

.main-content {
  padding: 2rem 3rem;
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

/* Data Table UI */
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(0, 0, 0, 0.2);
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th {
  background: var(--secondary-bg);
  padding: 1rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}

.table td {
  padding: 1rem;
  border-bottom: 1px solid var(--glass-border);
  font-size: 0.95rem;
}

.table tr:last-child td {
  border-bottom: none;
}

.table tr:hover td {
  background: var(--glass-bg);
}

.badge {
  display: inline-flex;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-available {
  background: rgba(255, 215, 0, 0.2);
  color: var(--accent-color);
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.badge-redeemed {
  background: rgba(46, 204, 113, 0.2);
  color: #2ecc71;
  border: 1px solid rgba(46, 204, 113, 0.4);
}

.badge-none {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* Customer Card View */
.customer-card-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 1rem;
}

.loyalty-card {
  width: 100%;
  max-width: 420px;
  background: linear-gradient(145deg, #11113b 0%, #060618 100%);
  border: 1.5px solid var(--glass-border);
  border-radius: 24px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.loyalty-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--glass-border);
  padding: 1.5rem;
}

.card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.stamp-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}

.stamp-slot {
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.stamp-slot.stamped {
  background: radial-gradient(circle, var(--accent-color) 0%, #b89700 100%);
  border-style: solid;
  border-color: var(--accent-color);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.stamp-slot.reward-slot {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.stamp-slot.reward-slot.unlocked {
  background: #ffd700;
  color: #000;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.qr-box {
  background: #fff;
  padding: 1rem;
  border-radius: 12px;
  display: inline-block;
  margin: 1.5rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  backdrop-filter: blur(8px);
}

.modal-content {
  background: var(--secondary-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  width: 100%;
  max-width: 450px;
  padding: 2rem;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Responsive Grid layouts */
@media (max-width: 768px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }
  .sidebar {
    display: none; /* Can add hamburger menu triggers later */
  }
  .main-content {
    padding: 1.5rem;
  }
}

/* --- Real-Time Card Designer UI --- */
.designer-modal-content {
  max-width: 950px;
  width: 95%;
  padding: 1.5rem;
}

.designer-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Liquid Wave Image Uploader */
.liquid-uploader {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 215, 0, 0.4);
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  transition: var(--transition);
  text-align: center;
  padding: 0.15rem;
}

.liquid-uploader:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.2);
}

.liquid-uploader img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
  display: none;
}

.liquid-uploader .upload-prompt {
  font-size: 0.55rem;
  color: var(--text-muted);
  font-weight: 600;
  z-index: 2;
  pointer-events: none;
  text-transform: uppercase;
}

.liquid-uploader .wave-container {
  position: absolute;
  bottom: -110%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  z-index: 4;
  pointer-events: none;
  transition: bottom 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Liquid filling animation helper */
.liquid-uploader.uploading .wave-container {
  bottom: 0%;
}

.liquid-uploader .wave {
  position: absolute;
  top: -15px;
  left: -50%;
  width: 200%;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M321.39,56.44c58-10.79,114.16-30.13,172-41.86,82.39-16.72,168.19-17.73,250.45-.39C823.78,31,906.67,72,985.66,92.83c70.05,18.48,146.53,26.09,214.34,3V120H0V0C26.9,8.75,57.05,18.3,90.41,26.85,173.64,48.12,248.8,62.84,321.39,56.44Z' fill='%23ffd700'/%3E%3C/svg%3E") repeat-x;
  background-size: 50% 100%;
  animation: wave-move 2s linear infinite;
}

@keyframes wave-move {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Scaled-down preview wrapper */
.preview-card-wrapper {
  transform: scale(0.85);
  transform-origin: top center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  width: 100%;
  max-width: 440px;
  height: 240px;
}

@media (max-width: 900px) {
  .designer-layout {
    grid-template-columns: 1fr;
  }
  .preview-card-wrapper {
    transform: scale(1);
    margin-top: 2rem;
  }
}

/* Floating Action Button (FAB) */
.fab-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #000;
  border: none;
  font-size: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7), 0 10px 25px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 999;
  text-decoration: none;
  animation: fabPulse 2s infinite;
}

.fab-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 0 0 10px rgba(255, 215, 0, 0), 0 15px 30px rgba(0, 0, 0, 0.6);
  background: #ffea70;
}

@keyframes fabPulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6), 0 10px 25px rgba(0, 0, 0, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(255, 215, 0, 0), 0 10px 25px rgba(0, 0, 0, 0.5); }
  100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0), 0 10px 25px rgba(0, 0, 0, 0.5); }
}

/* Custom Alert / Delete Card UI */
.warning-badge {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: rgba(255, 71, 87, 0.15);
  border: 1px solid rgba(255, 71, 87, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ff4757;
  margin-bottom: 1.25rem;
}

.setup-details-row {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--glass-border);
  padding: 0.75rem 0;
  font-size: 0.9rem;
}

.setup-details-row:last-child {
  border-bottom: none;
}

.setup-details-label {
  color: var(--text-muted);
  font-weight: 500;
}

.setup-details-val {
  font-weight: 600;
  color: #fff;
}

/* Custom styling for html5-qrcode library buttons and selects */
#qr-reader button,
#html5-qrcode-button-camera-start,
#html5-qrcode-button-camera-stop,
#html5-qrcode-button-file-selection {
  background: var(--accent-color) !important;
  color: #000 !important;
  font-weight: 600 !important;
  border-radius: 8px !important;
  border: none !important;
  padding: 0.5rem 1.25rem !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  margin: 0.5rem !important;
  display: inline-block !important;
  font-size: 0.9rem !important;
}

#qr-reader button:hover,
#html5-qrcode-button-camera-start:hover,
#html5-qrcode-button-camera-stop:hover,
#html5-qrcode-button-file-selection:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4) !important;
  background: #ffea70 !important;
}

#qr-reader select,
#html5-qrcode-select-camera {
  padding: 0.5rem !important;
  border-radius: 6px !important;
  border: 1px solid var(--glass-border) !important;
  background: rgba(0, 0, 0, 0.4) !important;
  color: #fff !important;
  margin: 0.5rem !important;
  outline: none !important;
}

/* Card Pattern Textures */
.pattern-carbon {
  background-color: #121212 !important;
  background-image: linear-gradient(45deg, #1d1d1d 25%, transparent 25%, transparent 75%, #1d1d1d 75%, #1d1d1d),
                    linear-gradient(45deg, #1d1d1d 25%, transparent 25%, transparent 75%, #1d1d1d 75%, #1d1d1d) !important;
  background-size: 12px 12px !important;
  background-position: 0 0, 6px 6px !important;
}

.pattern-grid {
  background-color: #0b0b1a !important;
  background-size: 16px 16px !important;
  background-image: linear-gradient(to right, rgba(255, 215, 0, 0.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255, 215, 0, 0.05) 1px, transparent 1px) !important;
}

.pattern-stripes {
  background-color: #111122 !important;
  background: repeating-linear-gradient(45deg, #0d0d18, #0d0d18 10px, #141426 10px, #141426 20px) !important;
}

.pattern-dots {
  background-color: #0d0d0d !important;
  background-image: radial-gradient(rgba(255, 215, 0, 0.08) 1px, transparent 0),
                    radial-gradient(rgba(255, 215, 0, 0.08) 1px, transparent 0) !important;
  background-size: 10px 10px !important;
  background-position: 0 0, 5px 5px !important;
}

.pattern-hex {
  background-color: #0a0a14 !important;
  background-image: radial-gradient(circle, #151528 10%, transparent 11%),
                    radial-gradient(circle, #10101c 10%, transparent 11%),
                    radial-gradient(circle, #080812 10%, transparent 11%) !important;
  background-size: 24px 24px !important;
  background-position: 0 0, 12px 12px, 0 12px !important;
}

/* Swatch Theme Selectors */
.theme-selector-grid {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 1rem;
}
.theme-section-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-color);
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}
.swatches-grid {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}
.swatches-grid:last-child {
  margin-bottom: 0;
}
.swatch {
  width: 46px;
  height: 46px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.swatch.solid, .swatch.gradient {
  border-radius: 50%;
}
.swatch.pattern {
  border-radius: 10px;
}
.swatch:hover {
  transform: scale(1.12) translateY(-2px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 12px rgba(255, 215, 0, 0.2);
}
.swatch.active {
  border-color: var(--accent-color) !important;
  box-shadow: 0 0 16px rgba(255, 215, 0, 0.6) !important;
  transform: scale(1.1) translateY(-1px);
}

/* Premium Wizard Step Indicators */
.wizard-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.75rem 1.25rem;
  width: 100%;
}
.indicator-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.45;
  transition: var(--transition);
}
.indicator-step.active {
  opacity: 1;
}
.indicator-step .step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1.5px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  transition: var(--transition);
}
.indicator-step.active .step-num {
  background: var(--accent-color);
  border-color: var(--accent-color);
  color: #000;
  box-shadow: 0 0 10px rgba(255,215,0,0.4);
}
.indicator-step .step-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.indicator-step.active .step-label {
  color: #fff;
}
.indicator-line {
  flex: 1;
  height: 2px;
  background: var(--glass-border);
  margin: 0 1rem;
  position: relative;
}
.indicator-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 0%;
  background: var(--accent-color);
  transition: width 0.4s ease;
}
.wizard-indicator.step2-active .indicator-line::after {
  width: 100%;
}

/* Custom slider tab switcher for QR Scanner */
.scanner-tab-switcher {
  position: relative;
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 0.25rem;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}
.scanner-tab {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease;
  outline: none;
}
.scanner-tab.active {
  color: #000;
}
.tab-slider {
  position: absolute;
  top: 0.25rem;
  left: 0.25rem;
  bottom: 0.25rem;
  width: calc(50% - 0.25rem);
  background: var(--accent-color);
  border-radius: 10px;
  z-index: 1;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}
.scanner-viewport-card {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}
.scanner-slide-wrapper {
  display: flex;
  width: 200%;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.scanner-slide {
  width: 50%;
  flex-shrink: 0;
  padding: 0 0.5rem;
  transition: opacity 0.3s ease;
}
.scanner-slide-wrapper.slide-active {
  transform: translateX(-50%);
}

/* Drag and Drop Zone styling */
.qr-dropzone {
  width: 100%;
  aspect-ratio: 1.5;
  border: 2px dashed rgba(255, 215, 0, 0.35);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  padding: 1.5rem;
}
.qr-dropzone:hover, .qr-dropzone.dragover {
  border-color: var(--accent-color);
  background: rgba(255, 215, 0, 0.04);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

/* Staff Manager Profile Cards Grid */
.staff-grid-view {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.staff-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--glass-border);
}
.staff-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: rgba(255, 215, 0, 0.25);
}
.staff-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-color) 0%, #b89700 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  font-weight: 700;
  color: #000;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(255, 215, 0, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.1);
}
.staff-info {
  margin-bottom: 1.25rem;
  width: 100%;
}
.staff-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
}
.staff-email {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.staff-role-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-color);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}
.staff-actions {
  width: 100%;
}
.staff-actions .btn {
  width: 100%;
  font-size: 0.85rem;
  padding: 0.55rem;
}



