/* AutoInvite Admin — glassmorphism theme */

:root {
  --brand: #7c3aed;
  --brand2: #a78bfa;
  --cta: #f97316;
}

/* Nền aurora gradient tím */
.aurora-bg {
  background: #faf5ff;
  background-image:
    radial-gradient(at 15% 20%, rgba(124, 58, 237, 0.35) 0px, transparent 50%),
    radial-gradient(at 85% 10%, rgba(167, 139, 250, 0.30) 0px, transparent 50%),
    radial-gradient(at 75% 80%, rgba(249, 115, 22, 0.18) 0px, transparent 50%),
    radial-gradient(at 25% 90%, rgba(124, 58, 237, 0.20) 0px, transparent 50%);
  background-attachment: fixed;
}

/* Thẻ kính mờ */
.glass {
  background: rgba(255, 255, 255, 0.80);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.glass-soft {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.logo-badge {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand2) 100%);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.35);
}

/* Badge trạng thái */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
  font-family: 'Fira Code', monospace;
}
.badge-active { background: #dcfce7; color: #166534; }
.badge-trial { background: #ede9fe; color: #6d28d9; }
.badge-expired { background: #fef3c7; color: #92400e; }
.badge-blocked { background: #fee2e2; color: #991b1b; }
.badge-unused { background: #f1f5f9; color: #475569; }

.code-mono {
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.5px;
}

/* Modal */
.modal-overlay {
  background: rgba(76, 29, 149, 0.25);
  backdrop-filter: blur(4px);
}

/* Toast */
#toast {
  transition: opacity 0.3s, transform 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}
