:root {
  --gold-primary: #d4af37;
  --gold-dark: #b8860b;
  --gold-light: #f7efd8;
  --dark: #1a1a1a;
  --gray-dark: #343a40;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --white: #ffffff;
  --success: #28a745;
  --warning: #ffc107;
  --error: #dc3545;
  --info: #17a2b8;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Vazirmatn', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--gray-light);
  color: var(--dark);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.glass-panel {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(12px);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 40;
}

.modal-panel {
  width: 100%;
  max-width: 480px;
  padding: 2rem;
}

.rtl-input {
  direction: rtl;
  text-align: right;
}

.qr-preview canvas,
.qr-preview img {
  width: 180px;
  height: 180px;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 0.5rem;
  background: #fff;
}

