:root {
  --bg: #0f141b;
  --bg-alt: #151c26;
  --card: #1b2432;
  --card-soft: #212b3b;
  --accent: #43f1b0;
  --accent-2: #4aa3ff;
  --text: #f4f7fb;
  --muted: #9ab0c5;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', 'Sora', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 500px at 10% 10%, rgba(67, 241, 176, 0.16), transparent 60%),
              radial-gradient(800px 400px at 90% 20%, rgba(74, 163, 255, 0.18), transparent 60%),
              var(--bg);
}

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

.page {
  padding: 48px 8vw 80px;
}

.hero {
  display: grid;
  gap: 48px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  margin-bottom: 64px;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 3vw, 3.4rem);
  margin: 12px 0 16px;
}

.hero__content p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(67, 241, 176, 0.15);
  color: var(--accent);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.hero__actions {
  display: flex;
  gap: 12px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #04131e;
  box-shadow: 0 10px 25px rgba(67, 241, 176, 0.3);
}

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

.btn--large {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.hero__stats div {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 14px 16px;
  border-radius: 14px;
}

.hero__stats span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.hero__stats strong {
  font-size: 1.1rem;
}

.hero__panel {
  position: relative;
  display: grid;
  gap: 18px;
}

.panel__glow {
  position: absolute;
  inset: -40px;
  background: radial-gradient(circle, rgba(67, 241, 176, 0.16), transparent 60%);
  filter: blur(40px);
  z-index: 0;
}

.panel__card {
  position: relative;
  z-index: 1;
  padding: 24px;
  border-radius: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.panel__card--dark {
  background: var(--card-soft);
}

.panel__tip {
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--muted);
}

.section {
  margin: 48px 0;
}

.section__header {
  margin-bottom: 24px;
}

.section__header h2 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.section__header p {
  color: var(--muted);
}

.section--contrast {
  background: rgba(255, 255, 255, 0.03);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.form {
  background: var(--card);
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.form__grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
}

.field input,
.field textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1520;
  color: var(--text);
  font-family: 'Sora', 'Space Grotesk', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.password-field {
  position: relative;
  display: flex;
  align-items: center;
}

.password-field input {
  width: 100%;
  padding-right: 44px;
}

.password-toggle {
  position: absolute;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.password-toggle:hover {
  color: var(--text);
}

.password-toggle__icon {
  width: 18px;
  height: 18px;
  display: block;
  background: center / contain no-repeat url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ab0c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/><circle cx='12' cy='12' r='3'/></svg>");
}

.password-toggle.is-visible .password-toggle__icon {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ab0c5' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M1 12s4-7 11-7 11 7 11 7-4 7-11 7-11-7-11-7z'/><circle cx='12' cy='12' r='3'/><path d='M3 3l18 18'/></svg>");
}

.field--full {
  margin-bottom: 16px;
}

.dropzone {
  position: relative;
  border: 2px dashed rgba(67, 241, 176, 0.5);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  margin: 16px 0;
  display: grid;
  gap: 12px;
}

.dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.dropzone__content {
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.dropzone__content strong {
  color: var(--text);
  font-size: 1rem;
}

.dropzone__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.dropzone__hint {
  color: var(--muted);
  font-size: 0.85rem;
}

.upload-meta {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
}

.upload-meta__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
}

.upload-meta__row strong {
  color: var(--text);
  font-weight: 600;
}

.upload-meta__status {
  font-size: 0.9rem;
  color: var(--muted);
}

.upload-meta.is-invalid {
  border-color: rgba(239, 65, 53, 0.6);
  background: rgba(239, 65, 53, 0.08);
}

.upload-meta.is-invalid .upload-meta__status {
  color: #ef4135;
  font-weight: 600;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--muted);
}

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

.feature {
  background: var(--card);
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.footer {
  text-align: center;
  color: var(--muted);
  padding: 24px 0 0;
}

.footer-credit {
  margin-top: 8px;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-credit a {
  color: var(--accent-2);
  margin-left: 6px;
}

.footer-links {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 0.85rem;
}

.footer-links a {
  color: var(--muted);
}

.footer-links a:hover {
  color: var(--text);
}

.simple-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
}

.brand-logo {
  width: clamp(160px, 28vw, 250px);
  height: auto;
  display: block;
}

.auth-header .brand {
  display: inline-flex;
  align-items: center;
}

.auth-header .brand .brand-logo {
  width: clamp(140px, 48vw, 220px);
  height: auto;
}

.card {
  background: var(--card);
  padding: 28px;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.share-link {
  display: flex;
  gap: 10px;
  margin: 16px 0;
}

.share-link input {
  flex: 1;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1520;
  color: var(--text);
}

.file-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: grid;
  gap: 12px;
}

.file-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
}

.file-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--muted);
  font-size: 0.9rem;
}

.actions {
  margin-top: 16px;
}

.error-hero {
  display: grid;
  grid-template-columns: minmax(120px, 180px) 1fr;
  gap: 24px;
  align-items: center;
}

.error-hero__code {
  font-size: clamp(3rem, 9vw, 6rem);
  font-weight: 700;
  color: var(--accent);
  text-shadow: 0 12px 28px rgba(67, 241, 176, 0.2);
}

.error-hero__title {
  margin: 0;
}

.error-hero__subtitle {
  margin: 8px 0 0;
  color: var(--muted);
}

.error-hero__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 720px) {
  .error-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page {
    padding: 32px 6vw 60px;
  }

  .share-link {
    flex-direction: column;
  }

  .file-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .file-actions {
    width: 100%;
    justify-content: space-between;
  }

  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }

  .cookie-banner__content {
    flex-direction: column;
    align-items: flex-start;
  }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.topbar__brand {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.topbar__brand span {
  color: var(--muted);
  font-size: 0.85rem;
}

.topbar__toggle {
  display: none;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px;
  gap: 6px;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.topbar__toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 900px) {
  .topbar__toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .topbar__links {
    display: none;
    width: 100%;
    padding: 12px 0 0;
    border-top: 1px solid var(--border);
  }

  .topbar.is-open .topbar__links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.lang-switch__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  color: var(--muted);
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.lang-switch__link.is-active {
  color: var(--text);
  border-color: rgba(67, 241, 176, 0.5);
  background: rgba(67, 241, 176, 0.12);
}

.flag {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-block;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.flag--emoji {
  width: auto;
  height: auto;
  border: none;
  box-shadow: none;
  font-size: 1rem;
  line-height: 1;
}

.flag--fr {
  background: linear-gradient(90deg, #0055a4 0 33%, #ffffff 33% 66%, #ef4135 66%);
}

.flag--en {
  background: linear-gradient(90deg, #012169 0 33%, #ffffff 33% 66%, #c8102e 66%);
}

.lang-code {
  font-weight: 600;
  letter-spacing: 0.04em;
}

.lang-dropdown {
  position: relative;
  display: inline-flex;
}

.lang-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-family: 'Sora', 'Space Grotesk', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  padding: 6px;
  border-radius: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.lang-dropdown.is-open .lang-dropdown__menu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.lang-dropdown__item {
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 12px;
  color: var(--text);
  border: 1px solid transparent;
}

.lang-dropdown__item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.lang-dropdown__item.is-active {
  border-color: rgba(67, 241, 176, 0.35);
  background: rgba(67, 241, 176, 0.12);
}

.lang-dropdown__flag {
  width: 18px;
  height: 14px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
}

.lang-dropdown__name {
  font-size: 0.85rem;
}

.lang-dropdown__code {
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.lang-dropdown__toggle .lang-dropdown__code {
  color: var(--text);
}

.lang-dropdown__chevron {
  font-size: 0.7rem;
  opacity: 0.7;
}

.notice {
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.95rem;
}

.notice strong {
  color: var(--text);
}

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

.info-card {
  padding: 20px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  background: rgba(74, 163, 255, 0.18);
  color: var(--accent-2);
}

.auth-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 48px 6vw;
}

.auth-card {
  width: min(480px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.auth-card h1 {
  margin: 0 0 8px;
}

.auth-card p {
  margin: 0 0 24px;
  color: var(--muted);
}

.auth-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.auth-header .brand {
  font-weight: 700;
  font-size: 1.1rem;
}

.input {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #0f1520;
  color: var(--text);
  font-family: 'Sora', 'Space Grotesk', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  width: 100%;
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
}

.flash {
  padding: 12px 14px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.flash--error {
  background: rgba(255, 95, 109, 0.18);
  color: #ffb3b9;
}

.flash--success {
  background: rgba(67, 241, 176, 0.16);
  color: var(--accent);
}

.loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 12, 18, 0.8);
  backdrop-filter: blur(6px);
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 50;
}

.loading-overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

.loading-card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px;
  width: min(420px, 90vw);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  text-align: center;
}

.spinner {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-top-color: var(--accent);
  animation: spin 1s linear infinite;
  margin: 0 auto 16px;
}

.loading-progress {
  margin-top: 16px;
  text-align: left;
}

.loading-progress__bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  position: relative;
}

.loading-progress__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.loading-progress__bar.is-indeterminate span {
  width: 35%;
  animation: progress-slide 1.1s ease-in-out infinite;
}

.loading-progress__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.9rem;
  color: var(--muted);
}

.loading-steps {
  margin-top: 12px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.loading-steps span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.loading-steps span::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  display: inline-block;
}

.loading-steps span.is-active {
  color: var(--text);
}

.loading-steps span.is-active::before {
  background: var(--accent);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  background: rgba(15, 20, 27, 0.95);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
}

.cookie-banner__content {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.cookie-banner__text p {
  margin: 0;
  color: var(--muted);
  max-width: 600px;
}

.cookie-banner__links {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  font-size: 0.85rem;
}

.cookie-banner__links a {
  color: var(--accent-2);
}

.cookie-banner__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-banner__details summary {
  cursor: pointer;
  color: var(--accent);
  font-weight: 600;
}

.cookie-banner__form {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 12, 18, 0.72);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.cookie-modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal__overlay {
  position: absolute;
  inset: 0;
}

.cookie-modal__content {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.cookie-modal__content h2 {
  margin-top: 0;
}

.cookie-modal__content p {
  color: var(--muted);
}

.cookie-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 1.4rem;
  cursor: pointer;
}

.cookie-modal__actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

body.modal-open {
  overflow: hidden;
}

.cookie-option {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
}

.cookie-option small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2px;
}

.code-example {
  margin: 12px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #0f1520;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: 'Sora', 'Space Grotesk', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 0.85rem;
  white-space: pre-wrap;
}

.legal h1 {
  margin-top: 0;
}

.legal h2 {
  margin: 24px 0 8px;
  font-size: 1.2rem;
}

.legal p {
  color: var(--muted);
  line-height: 1.6;
}

.legal-list {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.legal-actions {
  margin-top: 16px;
}

.dashboard-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.stat-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.stat-card {
  background: var(--card);
  border: 1px solid var(--border);
  padding: 18px;
  border-radius: 16px;
}

.stat-card h4 {
  margin: 0 0 6px;
  font-size: 0.9rem;
  color: var(--muted);
}

.stat-card strong {
  font-size: 1.4rem;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 12px;
  font-size: 0.95rem;
}

.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--border);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.pill--pending {
  background: rgba(255, 199, 82, 0.18);
  color: #ffc752;
}

.pill--approved {
  background: rgba(67, 241, 176, 0.16);
  color: var(--accent);
}

.pill--denied {
  background: rgba(255, 95, 109, 0.18);
  color: #ff9099;
}

.code-box {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 14px;
  border: 1px dashed rgba(74, 163, 255, 0.4);
  background: rgba(74, 163, 255, 0.08);
  font-family: 'Sora', 'Space Grotesk', 'Noto Sans', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
}

.code-box input {
  background: #0f1520;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 10px;
}

.helper {
  color: var(--muted);
  font-size: 0.85rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes progress-slide {
  0% {
    transform: translateX(-120%);
  }
  50% {
    transform: translateX(60%);
  }
  100% {
    transform: translateX(220%);
  }
}

@media (max-width: 980px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}
