/* ==========================================================================
   Obsidian Dark UI Glassmorphism Design Token System
   ========================================================================== */

:root {
  /* Color Palettes */
  --bg-main: hsl(222, 47%, 7%);
  --bg-card: hsla(223, 40%, 12%, 0.65);
  --border-color: hsla(220, 20%, 25%, 0.45);
  --border-glow: hsla(190, 100%, 50%, 0.15);
  
  --primary: hsl(190, 100%, 45%);
  --primary-hover: hsl(190, 100%, 55%);
  --secondary: hsl(245, 80%, 65%);
  --secondary-hover: hsl(245, 80%, 75%);
  
  --success: hsl(145, 80%, 40%);
  --success-glow: hsla(145, 80%, 40%, 0.2);
  --warning: hsl(35, 90%, 50%);
  --danger: hsl(355, 85%, 55%);
  --danger-glow: hsla(355, 85%, 55%, 0.2);
  
  --text-main: hsl(210, 20%, 98%);
  --text-muted: hsl(215, 15%, 70%);
  --text-dark: hsl(220, 20%, 10%);
  
  /* Layout Bounds */
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 8px 32px 0 rgba(0, 233, 255, 0.08);
}

/* ==========================================================================
   Global Resets & Base Styles
   ========================================================================== */

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

body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  line-height: 1.5;
}

/* App Container Layout */
.app-container {
  width: 100%;
  max-width: 1200px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ==========================================================================
   Interactive Typography & Headers
   ========================================================================== */

h1, h2, h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

h1 span {
  color: var(--primary);
  font-weight: 300;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 0 12px var(--primary);
}

/* ==========================================================================
   Layout Structures & App Bar
   ========================================================================== */

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

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  user-select: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0, 233, 255, 0.15);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 233, 255, 0.25);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--bg-card);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--primary);
}

.btn-muted {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-muted);
}

.btn-muted:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.btn-icon-only {
  padding: 0.75rem;
  justify-content: center;
}

/* ==========================================================================
   Stats Summary Grid Cards
   ========================================================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-neon);
  transition: var(--transition-smooth);
}

.stat-card:hover {
  border-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 233, 255, 0.08);
}

.stat-icon {
  font-size: 2rem;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
}

.stat-info h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-main);
}

/* Stat Alert state */
.alert-card.warning-active {
  border-color: var(--danger);
  background: linear-gradient(135deg, rgba(255, 59, 92, 0.08), var(--bg-card));
  box-shadow: 0 4px 20px rgba(255, 59, 92, 0.1);
}

/* A stat card that opens a panel on click (the System Health card). */
.clickable-card {
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.clickable-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary);
}
.clickable-card:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.stat-caption {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ---- System Health logs dialog ---- */
.health-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0.75rem 0 1rem;
  flex-wrap: wrap;
}
.health-last-summary {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.health-log-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 45vh;
  overflow-y: auto;
}
.health-log-empty {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 1rem;
  text-align: center;
}
.health-log-item {
  border: 1px solid var(--border-color);
  border-left-width: 3px;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.02);
}
.health-log-item.ok { border-left-color: var(--success); }
.health-log-item.error { border-left-color: var(--danger); }

.health-log-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.health-log-status { font-weight: 600; }
.health-log-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.health-trigger {
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 0.65rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
}

.health-systems {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.55rem;
}
.health-chip {
  font-size: 0.82rem;
  color: var(--text-main);
}
.health-error {
  font-family: monospace;
  font-size: 0.78rem;
  color: var(--danger);
  background: rgba(255, 59, 92, 0.07);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.55rem;
  margin: 0.1rem 0 0.2rem;
  word-break: break-word;
}

/* ==========================================================================
   Data Table frosted Glass Panel
   ========================================================================== */

.main-content {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-neon);
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

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

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

.user-table td {
  padding: 1.25rem 1.5rem;
  font-size: 0.95rem;
  border-bottom: 1px solid hsla(220, 20%, 25%, 0.2);
  color: var(--text-main);
}

.user-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.actions-col {
  text-align: right !important;
}

/* Custom Badger status styles */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-active {
  background: var(--success-glow);
  color: var(--success);
  border: 1px solid rgba(0, 230, 115, 0.2);
  position: relative;
}

.badge-active::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 8px var(--success);
  animation: pulse 1.8s infinite;
}

.badge-missing {
  background: var(--danger-glow);
  color: var(--danger);
  border: 1px solid rgba(255, 59, 92, 0.2);
}

/* Row Action Buttons (view password / deprovision) */
.btn-view-pw,
.btn-delete {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.btn-view-pw:hover {
  background: rgba(0, 233, 255, 0.15);
  transform: scale(1.1);
}

.btn-delete:hover {
  background: rgba(255, 59, 92, 0.15);
  transform: scale(1.1);
}

/* ==========================================================================
   Animations & Transitions & Skeleton Lines
   ========================================================================== */

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Skeleton Loading row animation */
.skeleton-row td {
  padding: 1.5rem;
}

.skeleton-line {
  height: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 25%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.03) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ==========================================================================
   Native Modal Dialog Styling (<dialog>)
   ========================================================================== */

.glass-dialog {
  margin: auto;
  border: 1px solid var(--border-color);
  background: rgba(16, 22, 37, 0.88);
  backdrop-filter: blur(24px);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-neon);
  color: var(--text-main);
  max-width: 520px;
  width: 90%;
  overflow: hidden;
}

.glass-dialog::backdrop {
  background: rgba(3, 5, 10, 0.7);
  backdrop-filter: blur(8px);
}

.dialog-content {
  padding: 2rem;
  position: relative;
}

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

.dialog-header h2 {
  font-size: 1.3rem;
  font-weight: 600;
}

.close-x-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.75rem;
  cursor: pointer;
  line-height: 1;
}

.close-x-btn:hover {
  color: var(--text-main);
}

/* Dynamic Forms */
.dialog-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.form-row .form-group {
  flex: 1;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

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

.form-group input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 233, 255, 0.25);
  background: rgba(255, 255, 255, 0.07);
}

/* Username preview container styling */
.username-preview-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px dashed var(--border-color);
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-family: monospace;
  font-size: 0.95rem;
}

.preview-prefix {
  color: var(--text-muted);
}

.preview-active {
  color: var(--primary);
  font-weight: 600;
}

/* Password inputs */
.password-input-container {
  display: flex;
  gap: 0.5rem;
}

.password-input-container input {
  flex: 1;
}

.dialog-footer {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  padding-top: 1.25rem;
}

/* ==========================================================================
   Provisioning & Syncing Load Overlays
   ========================================================================== */

.loading-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(11, 15, 25, 0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  gap: 1rem;
}

/* Spinner element */
.loader-spinner, .sync-spinner {
  width: 48px;
  height: 48px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Sequencing steps */
.progress-steps {
  list-style: none;
  font-size: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 80%;
}

.step {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.step.step-active {
  border-color: var(--primary);
  color: var(--text-main);
  background: rgba(0, 233, 255, 0.05);
}

.step.step-success {
  border-color: var(--success);
  color: var(--success);
  background: var(--success-glow);
}

/* Sync platform overlay container */
.sync-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(7, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sync-overlay-content {
  text-align: center;
  max-width: 400px;
  padding: 2.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.sync-overlay-content h2 {
  font-size: 1.4rem;
}

.sync-overlay-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Toast Notification glower components
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.toast {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: var(--text-main);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 300px;
  animation: slide-in 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: var(--transition-smooth);
}

@keyframes slide-in {
  from { transform: translateX(100%) translateY(10px); opacity: 0; }
  to { transform: translateX(0) translateY(0); opacity: 1; }
}

.toast-success {
  border-left: 4px solid var(--success);
}

.toast-error {
  border-left: 4px solid var(--danger);
  box-shadow: 0 10px 24px rgba(255, 59, 92, 0.15);
}

/* Footer elements */
.app-footer {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mode-badge {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.mode-badge.badge-dev {
  background: var(--warning);
  color: var(--text-dark);
}

.mode-badge.badge-prod {
  background: var(--primary);
  color: var(--text-dark);
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   Auth Gate + Sign-in Card
   ========================================================================== */

/* Hide the app shell until an approved session is confirmed. */
body.pre-auth .app-container {
  display: none;
}

.auth-gate {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background:
    radial-gradient(1000px 600px at 50% -10%, rgba(0, 233, 255, 0.06), transparent),
    var(--bg-main);
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: center;
  border-radius: var(--radius-lg);
}

.auth-brand {
  justify-content: center;
}

.auth-brand h1 {
  font-size: 1.5rem;
}

.auth-signin {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.auth-google {
  width: 100%;
  justify-content: center;
  padding: 0.85rem 1.5rem;
}

/* In-app browser: keep the Google button as a fallback but de-emphasize it. */
.auth-google-muted {
  opacity: 0.6;
  filter: saturate(0.5);
  transition: var(--transition-smooth);
}

.auth-google-muted:hover {
  opacity: 1;
  filter: saturate(1);
}

.auth-embedded-hint {
  text-align: left;
  border: 1px solid var(--warning);
  background: hsla(35, 90%, 50%, 0.1);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--text-main);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.auth-embedded-hint .hint-title {
  font-weight: 600;
  color: var(--warning);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  text-align: left;
}

.auth-form.auth-dev {
  border-color: hsla(35, 90%, 50%, 0.35);
  background: hsla(35, 90%, 50%, 0.05);
}

.auth-input {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: var(--transition-smooth);
}

.auth-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 233, 255, 0.25);
}

.auth-form .btn {
  justify-content: center;
}

.auth-note {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-note code,
.grant-help code {
  font-family: monospace;
  color: var(--primary);
  background: rgba(0, 0, 0, 0.25);
  padding: 0.05rem 0.3rem;
  border-radius: 4px;
}

.auth-error {
  font-size: 0.9rem;
  color: var(--danger);
  background: var(--danger-glow);
  border: 1px solid rgba(255, 59, 92, 0.2);
  border-radius: var(--radius-md);
  padding: 0.6rem 0.9rem;
}

/* Pending-approval state */
.auth-pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.auth-pending-icon {
  font-size: 2.5rem;
}

.auth-pending h2 {
  font-size: 1.25rem;
}

.auth-pending p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-pending .btn {
  margin-top: 0.5rem;
}

/* ==========================================================================
   Header user area
   ========================================================================== */

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.user-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid var(--border-color);
}

.user-chip {
  font-size: 0.85rem;
  color: var(--text-muted);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ==========================================================================
   Access-management (grant) panel
   ========================================================================== */

.grant-help {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.grant-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-height: 55vh;
  overflow-y: auto;
}

.grant-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
}

.grant-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.grant-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.grant-email {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: monospace;
}

.grant-badges {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
}

.grant-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.grant-badge-super {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--text-dark);
}

.grant-badge-ok {
  background: var(--success-glow);
  color: var(--success);
  border: 1px solid rgba(0, 230, 115, 0.2);
}

.grant-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.grant-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.82rem;
}

.grant-locked {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.grant-loading,
.grant-empty,
.grant-error {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 0.75rem;
  text-align: center;
}

.grant-error {
  color: var(--danger);
}
