:root {
  --brand: #1F98A9;
  --brand-dark: #177d8a;
  --ink: #263E4D;
  --surface: #ffffff;
  --bg: #f4fbfc;
  --border: #d6e4e8;
  --shadow: 0 20px 60px rgba(31, 152, 169, 0.15);
  --container-max: 1920px;
  --page-gutter: clamp(16px, 2vw, 32px);
  --card-padding: clamp(18px, 1.6vw, 28px);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-size: clamp(15px, 0.45vw + 12.8px, 18px);
  background: radial-gradient(circle at top left, rgba(31, 152, 169, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(38, 62, 77, 0.12), transparent 60%),
    var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

code {
  font-family: ui-monospace, SFMono-Regular, SFMono-Regular, Consolas, 'Liberation Mono', Menlo, monospace;
  overflow-wrap: anywhere;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  color: var(--brand-dark);
}

.container {
  max-width: min(var(--container-max), calc(100vw - (var(--page-gutter) * 2)));
  margin: 0 auto;
  padding: var(--page-gutter);
}

.navbar {
  background: linear-gradient(135deg, var(--ink), #1e4b5a);
  color: #fff;
  padding: clamp(10px, 1.2vw, 18px) clamp(16px, 2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  box-shadow: 0 12px 30px rgba(38, 62, 77, 0.25);
}

.navbar .brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.4rem);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.navbar .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 320px;
  min-width: 0;
}

.navbar .btn {
  background-image: linear-gradient(135deg, rgba(31, 152, 169, 0.14), rgba(59, 183, 199, 0.2));
  background-size: 200% 200%;
  background-position: 0% 50%;
  border-color: rgba(31, 152, 169, 0.75);
  color: var(--brand);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-position 0.3s ease, border-color 0.2s ease, color 0.2s ease;
}

.navbar .btn:hover {
  background-position: 100% 50%;
  border-color: rgba(59, 183, 199, 0.95);
  color: #fff;
  box-shadow: 0 14px 28px rgba(31, 152, 169, 0.35);
  transform: translateY(-2px);
}

.navbar .btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 183, 199, 0.35), 0 14px 28px rgba(31, 152, 169, 0.35);
}

.card {
  background: var(--surface);
  border-radius: 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 152, 169, 0.08);
}

.card-header {
  padding: clamp(16px, 1.4vw, 24px) clamp(18px, 1.6vw, 24px);
  border-bottom: 1px solid var(--border);
  font-weight: 600;
  color: var(--ink);
  font-size: clamp(1.05rem, 0.45vw + 1rem, 1.25rem);
}

.card-body {
  padding: var(--card-padding);
}

.btn {
  border: none;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  line-height: 1.2;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(31, 152, 169, 0.2);
}

.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 152, 169, 0.25);
}

.btn:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
  box-shadow: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #3bb7c7);
  color: #fff;
  box-shadow: 0 10px 24px rgba(31, 152, 169, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #23a7ba, #49c6d5);
}

.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 1px solid var(--brand);
}

.btn-outline:hover {
  background: rgba(31, 152, 169, 0.12);
  color: var(--brand-dark);
  border-color: var(--brand-dark);
}

.btn-summary {
  min-width: 170px;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
}

.btn-dark:hover {
  background: #1a3442;
}

.btn-sm {
  padding: 8px 12px;
  font-size: 0.9rem;
}

.input,
.select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: 'Jost', sans-serif;
  background: #fdfefe;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.input:focus,
.select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 152, 169, 0.15);
}

.label {
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  text-align: left;
}

.grid {
  display: grid;
  gap: 20px;
}

.grid > * {
  min-width: 0;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 100%;
}

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

.table th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #5a6b75;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-paid {
  background: rgba(31, 152, 169, 0.15);
  color: var(--brand-dark);
}

.badge-not-paid {
  background: rgba(220, 38, 38, 0.15);
  color: #b91c1c;
}

.badge-identified {
  background: rgba(34, 197, 94, 0.15);
  color: #15803d;
}

.badge-unidentified {
  background: rgba(234, 179, 8, 0.2);
  color: #92400e;
}

.badge-multiple {
  background: rgba(59, 130, 246, 0.15);
  color: #1d4ed8;
}

.badge-single {
  background: rgba(148, 163, 184, 0.18);
  color: #475569;
}

.notification-button {
  position: relative;
}

.notification-badge {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.3);
}

.appeal-modal {
  width: min(980px, 94vw);
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 42px);
  border-radius: 26px;
  border: 1px solid rgba(31, 152, 169, 0.14);
  box-shadow: 0 30px 80px rgba(20, 52, 65, 0.28);
}

.appeal-modal .section-title {
  font-size: clamp(1.65rem, 2vw, 2.15rem);
}

.appeal-modal .section-subtitle {
  margin: 8px 0 26px;
}

.appeal-modal .grid {
  gap: 18px;
}

.appeal-modal .input {
  min-height: 52px;
  background: #fff;
}

.appeal-file-field {
  grid-column: 1 / -1;
}

.appeal-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.appeal-file-picker {
  min-height: 82px;
  padding: 14px 16px;
  border: 1.5px dashed rgba(31, 152, 169, 0.45);
  border-radius: 16px;
  background: linear-gradient(135deg, #f7fcfd, #eef9fb);
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.appeal-file-picker > span:nth-child(2) {
  flex: 1;
  min-width: 0;
}

.appeal-file-picker strong,
.appeal-file-picker small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.appeal-file-picker small {
  margin-top: 3px;
  color: #6a7c87;
}

.appeal-file-icon {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 152, 169, 0.14);
  color: var(--brand-dark);
  font-size: 1.4rem;
  font-weight: 700;
}

.field-help {
  margin-top: 7px;
  color: #6a7c87;
  font-size: 0.84rem;
}

.appeal-actions {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.appeal-confirm-modal {
  width: min(680px, 94vw);
  max-height: 88vh;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 36px);
  border-radius: 24px;
}

.appeal-confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 20px;
}

.appeal-confirm-item {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #f7fbfc;
}

.appeal-confirm-label {
  display: block;
  margin-bottom: 3px;
  color: #6a7c87;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.appeal-confirm-value {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  overflow-wrap: anywhere;
}

.appeal-confirm-check {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 14px;
  border: 1px solid rgba(31, 152, 169, 0.28);
  border-radius: 13px;
  background: rgba(31, 152, 169, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.appeal-confirm-check input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--brand);
}

.appeal-confirm-actions {
  margin-top: 18px;
}

.appeal-success-mask {
  z-index: 80;
}

.appeal-success-dialog {
  width: min(430px, calc(100vw - 28px));
  padding: 34px 30px 28px;
  text-align: center;
  border-radius: 24px;
}

.appeal-success-icon {
  width: 66px;
  height: 66px;
  margin: 0 auto 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--brand), #3bb7c7);
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 12px 28px rgba(31, 152, 169, 0.3);
}

.appeal-success-message {
  margin: 8px 0 22px;
  color: #657985;
  line-height: 1.55;
}

.appeal-success-dialog .btn {
  min-width: 110px;
}

.appeals-table {
  min-width: 1750px;
}

.appeals-filter-form {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
  gap: 10px;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #f7fbfc;
}

.appeals-filter-form .input,
.appeals-filter-form .select {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

.appeals-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 2px;
}

.appeals-filter-actions .btn {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 0.9rem;
}

#filterForm.toolbar {
  gap: 12px;
}

#filterForm .filters-inline {
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

#filterForm .filters-inline .input,
#filterForm .filters-inline .select,
#filterForm .filters-inline .custom-select-trigger {
  min-height: 44px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 0.9rem;
}

#filterForm .filter-actions {
  margin-top: 0;
}

#filterForm .filter-action-buttons {
  gap: 8px;
}

#filterForm .filter-action-buttons .btn {
  min-height: 40px;
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 0.86rem;
}

.appeals-filter-count {
  margin-right: auto;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(31, 152, 169, 0.28);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(31, 152, 169, 0.09);
  color: #526b78;
  font-size: 0.9rem;
  font-weight: 600;
}

.appeals-filter-count strong {
  color: var(--brand-dark);
  font-size: 1rem;
}

.appeals-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

.appeal-delete-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.appeal-delete-actions .btn {
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 0.84rem;
}

.appeal-delete-actions .appeal-selection-count {
  order: -1;
}

.btn-danger {
  background: #c62828;
  color: #fff;
  box-shadow: 0 8px 20px rgba(198, 40, 40, 0.22);
}

.btn-danger:hover {
  background: #b71c1c;
}

.btn-danger-outline {
  color: #b42318;
  border-color: #d92d20;
}

.btn-danger-outline:hover {
  color: #912018;
  border-color: #b42318;
  background: rgba(217, 45, 32, 0.08);
}

.appeal-selection-count {
  color: #6a7c87;
  font-weight: 600;
  font-size: 0.86rem;
}

.appeal-checkbox-cell {
  width: 48px;
  text-align: center !important;
}

.appeal-checkbox-cell input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}

.client-login-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 8px;
  white-space: nowrap;
}

.client-logins-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.client-login-delete-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.client-login-delete-actions > span {
  color: #6a7c87;
  font-size: 0.84rem;
  font-weight: 600;
}

.login-checkbox-cell {
  width: 46px;
  text-align: center !important;
}

.login-checkbox-cell input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
  cursor: pointer;
}

.client-login-actions form {
  margin: 0;
}

.login-switch {
  min-height: 38px;
  padding: 6px 8px;
  border: 1px solid var(--border);
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fbfc;
  cursor: pointer;
  user-select: none;
}

.login-switch input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.login-switch-track {
  width: 38px;
  height: 22px;
  padding: 3px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  background: #a8b5bd;
  transition: background 0.2s ease;
}

.login-switch-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease;
}

.login-switch input:checked + .login-switch-track {
  background: var(--brand);
}

.login-switch input:checked + .login-switch-track .login-switch-thumb {
  transform: translateX(16px);
}

.appeal-preview-modal {
  width: min(980px, calc(100vw - 28px));
  max-height: 90vh;
  overflow-y: auto;
  padding: clamp(24px, 3vw, 38px);
  border-radius: 26px;
}

.appeal-preview-meta {
  margin: 5px 0 0;
}

.appeal-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.appeal-comparison-panel {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.appeal-comparison-panel.original {
  border-color: rgba(148, 163, 184, 0.45);
}

.appeal-comparison-panel.appealed {
  border-color: rgba(31, 152, 169, 0.38);
}

.appeal-comparison-heading {
  padding: 13px 16px;
  background: #edf3f5;
  color: var(--ink);
  font-weight: 700;
}

.appeal-comparison-panel.appealed .appeal-comparison-heading {
  background: rgba(31, 152, 169, 0.12);
  color: var(--brand-dark);
}

.appeal-comparison-body {
  display: grid;
  gap: 9px;
  padding: 14px;
}

.appeal-comparison-item {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: #f9fbfc;
}

.appeal-comparison-item.is-changed {
  border-color: rgba(234, 179, 8, 0.55);
  background: rgba(234, 179, 8, 0.1);
}

.appeal-comparison-label {
  display: block;
  margin-bottom: 2px;
  color: #6a7c87;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.appeal-comparison-value {
  display: block;
  overflow-wrap: anywhere;
}

.appeal-preview-actions {
  margin-top: 20px;
  justify-content: flex-end;
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 640px) {
  .appeal-confirm-grid {
    grid-template-columns: 1fr;
  }

  .appeal-comparison {
    grid-template-columns: 1fr;
  }
}

/* Keep the post-submit confirmation compact even where generic mobile modal rules apply. */
.modal-mask .appeal-success-dialog {
  width: min(580px, calc(100vw - 32px));
  max-width: 580px;
  min-height: 420px;
  padding: 38px 34px 32px;
  border-radius: 26px;
  align-self: center;
}

.appeal-success-dialog .appeal-success-icon {
  width: 88px;
  height: 88px;
  margin-bottom: 24px;
  font-size: 2.7rem;
}

.appeal-success-dialog .section-title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
}

.appeal-success-dialog .appeal-success-message {
  font-size: 1.05rem;
}

.appeal-success-dialog #appealSuccessOk {
  min-width: 150px;
}

.appeal-submit-loading {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(10, 20, 30, 0.66);
  backdrop-filter: blur(3px);
}

.appeal-submit-loading-card {
  width: min(430px, calc(100vw - 32px));
  padding: 24px;
  border-radius: 20px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.3);
}

.appeal-submit-loading-card .spinner {
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
}

@media (max-width: 640px) {
  .modal-mask .appeal-success-dialog {
    width: min(440px, calc(100vw - 28px));
    min-height: 380px;
    border-radius: 24px;
  }
}

.alert {
  padding: 12px 16px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid;
}

.alert-success {
  background: #e6f6f8;
  border-color: #b5e5ee;
  color: #0f6d7a;
}

.alert-error {
  background: #fdecec;
  border-color: #f5bcbc;
  color: #9c2c2c;
}

.login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  width: min(440px, 94vw);
  text-align: center;
  padding: 36px 32px;
  border-radius: 28px;
}

.portal-card {
  max-width: 520px;
}

.login-card img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  margin-bottom: 12px;
}

.login-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 6px 0;
}

.login-subtitle {
  color: #62737e;
  margin-bottom: 20px;
}

.input-icon {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon .input {
  padding-right: 46px;
}

.input-icon .icon-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  padding: 0;
  border: none;
  background: transparent;
  color: #5a6b75;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.input-icon .icon-btn:hover {
  color: var(--brand-dark);
}

.input-icon .icon-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 152, 169, 0.2);
  border-radius: 8px;
}

.input-icon .icon-btn svg {
  width: 18px;
  height: 18px;
}

.input-icon .icon-btn .eye-off {
  display: none;
}

.input-icon .icon-btn.is-visible .eye-on {
  display: none;
}

.input-icon .icon-btn.is-visible .eye-off {
  display: block;
}

.section-title {
  font-size: clamp(1.8rem, 1.2vw, 1.6rem);
  font-weight: 700;
  margin-bottom: 6px;
  overflow-wrap: anywhere;
}

.section-subtitle {
  color: #6a7c87;
  margin-bottom: 20px;
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.header-logo {
  height: clamp(44px, 3.2vw, 70px);
  width: auto;
  object-fit: contain;
}

.header-text {
  text-align: left;
  min-width: 0;
}

.toolbar {
  display: grid;
  gap: 16px;
  align-items: start;
  margin-bottom: 16px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-start;
}


.filters-inline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: 100%;
  overflow: visible;
  padding-bottom: 0;
}

.filters-inline > * {
  min-width: 0;
  width: 100%;
}

.filters-inline .input {
  width: 100%;
}

.filters-inline .btn {
  white-space: nowrap;
}

.select-native-hidden {
  display: none;
}

.custom-select {
  position: relative;
  min-width: 0;
}

.custom-select-trigger {
  width: 100%;
  min-height: 50px;
  padding: 12px 40px 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fdfefe;
  color: var(--ink);
  font-size: 0.95rem;
  font-family: 'Jost', sans-serif;
  text-align: left;
  position: relative;
  cursor: pointer;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.custom-select-trigger::after {
  content: "";
  position: absolute;
  right: 16px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid #6a7c87;
  border-bottom: 2px solid #6a7c87;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(31, 152, 169, 0.15);
}

.custom-select.is-open .custom-select-trigger::after {
  transform: translateY(-35%) rotate(-135deg);
}

.custom-select-label {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 38px rgba(38, 62, 77, 0.18);
  max-height: min(280px, 46vh);
  overflow-y: auto;
  z-index: 30;
}

.custom-select.is-open .custom-select-menu {
  display: block;
}

.custom-select-option {
  width: 100%;
  border: none;
  background: transparent;
  color: var(--ink);
  text-align: left;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.custom-select-option:hover {
  background: rgba(31, 152, 169, 0.08);
}

.custom-select-option.is-selected {
  background: rgba(31, 152, 169, 0.14);
  color: var(--brand-dark);
  font-weight: 600;
}

.custom-select-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}


.filter-actions {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

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

.filter-action-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-left: auto;
  justify-content: flex-end;
}

.filter-summary {
  /* margin-top: 12px; */
  margin-bottom: 24px;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.summary-item {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #f7fbfc;
  box-shadow: 0 8px 18px rgba(31, 152, 169, 0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.summary-item.filtered {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand), #3bb7c7);
  border-color: rgba(31, 152, 169, 0.55);
  box-shadow: 0 12px 26px rgba(31, 152, 169, 0.28);
}

.summary-item.filtered::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.35), transparent 55%);
  pointer-events: none;
}

.summary-item.filtered .summary-label {
  color: rgba(255, 255, 255, 0.85);
}

.summary-item.filtered .summary-value {
  color: #fff;
}

.summary-item.actionable {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-item.actionable:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(31, 152, 169, 0.18);
}

.summary-item .summary-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #6a7c87;
  font-weight: 700;
}

.summary-item .summary-value {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
}

.summary-item.warn {
  background: rgba(234, 179, 8, 0.12);
  border-color: rgba(234, 179, 8, 0.35);
}

.summary-item.warn .summary-value {
  color: #92400e;
}

.summary-item.info {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(59, 130, 246, 0.3);
}

.summary-item.info .summary-value {
  color: #1d4ed8;
}

.modal-mask {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 30, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal {
  background: #fff;
  padding: clamp(18px, 2vw, 28px);
  border-radius: 20px;
  width: min(1100px, calc(100vw - 24px));
  box-shadow: var(--shadow);
  position: relative;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: nowrap;
  padding-right: 48px;
}

.modal-title {
  margin-bottom: 0;
  flex: 1 1 auto;
  min-width: 0;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.summary-by {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.summary-by-label {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  color: #5a6b75;
  margin: 0;
  white-space: nowrap;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: #5a6b75;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.modal-close::before,
.modal-close::after {
  content: "";
  position: absolute;
  width: 16px;
  height: 2px;
  background: #5a6b75;
  border-radius: 999px;
  transition: transform 0.25s ease, background 0.2s ease;
}

.modal-close::before {
  transform: rotate(45deg);
}

.modal-close::after {
  transform: rotate(-45deg);
}

.modal-close:hover {
  transform: rotate(90deg) scale(1.05);
  background: rgba(31, 152, 169, 0.12);
  box-shadow: 0 10px 20px rgba(31, 152, 169, 0.25);
}

.modal-close:hover::before,
.modal-close:hover::after {
  background: var(--brand-dark);
}

.modal-close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(31, 152, 169, 0.25);
}

.success-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 34px 30px 28px;
  text-align: center;
}

.success-dialog-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 152, 169, 0.14);
  color: var(--brand-dark);
  font-size: 2rem;
  font-weight: 700;
}

.success-dialog-title {
  margin: 0;
  color: var(--text);
  font-size: 1.55rem;
}

.success-dialog-message {
  margin: 10px 0 22px;
  color: #5f727e;
  font-size: 1.05rem;
}

.success-dialog .btn {
  min-width: 120px;
}

.success-dialog-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.draft-publish-bar {
  margin-bottom: 16px;
  padding: 16px 18px;
  border: 1px solid #efc45b;
  border-radius: 16px;
  background: #fff8df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.draft-publish-title {
  color: #7a4d00;
  font-size: 1.05rem;
  font-weight: 700;
}

.draft-publish-text {
  margin-top: 3px;
  color: #806531;
}

.publish-dialog {
  width: min(520px, calc(100vw - 32px));
  padding: 30px;
}

.publish-dialog-title {
  margin: 0 48px 8px 0;
  color: var(--text);
}

.publish-dialog-actions {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.modal-scroll {
  max-height: min(88vh, 920px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-scroll .table-wrap {
  max-height: none;
  flex: 1 1 auto;
  overflow: auto;
}

.header-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) minmax(200px, 1fr) minmax(60px, 0.6fr);
  align-items: center;
  gap: 18px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-meta {
  text-align: left;
}

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


.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1 320px;
  min-width: 0;
  flex-wrap: wrap;
}

.nav-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease;
}

.nav-back:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.nav-back svg {
  width: 18px;
  height: 18px;
  display: block;
}

.nav-back span {
  line-height: 1;
}








.summary-table .summary-total td {
  font-weight: 700;
  background: #f2fbfd;
}

.section-gap {
  margin-top: 16px;
}

.section-gap-lg {
  margin-top: 20px;
}

.field-gap {
  margin-top: 14px;
}

.grid-align-end {
  align-items: end;
}

.inline-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.form-actions {
  margin-top: 20px;
}

.logo-preview {
  height: 56px;
  width: auto;
  object-fit: contain;
  display: block;
}

.full-width-btn {
  width: 100%;
}

.upload-title {
  margin: 0;
}

.control-160 {
  width: 100%;
  max-width: 100%;
}

.control-180 {
  width: 100%;
  max-width: 100%;
}

.control-200 {
  width: 100%;
  max-width: 100%;
}

.summary-level-select {
  min-width: 180px;
}

.selection-toggle {
  display: block;
  margin-bottom: 8px;
}

.selection-list {
  max-height: 260px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  background: #fff;
}

.selection-option {
  padding: 6px 4px;
}

.copy-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.copy-field span {
  flex: 1 1 240px;
  min-width: 0;
  overflow-wrap: anywhere;
}

.table-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.card-spacer {
  margin-top: 20px;
}

.table-wrap-spaced {
  margin-top: 16px;
}

.pagination {
  margin-top: 12px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.pagination-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}


.logout-icon-inline {
  width: 16px;
  height: 16px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.logout-icon-inline svg {
  width: 16px;
  height: 16px;
  display: block;
}


.btn-icon {
  display: inline-flex;
  align-items: center;
}

@media (max-width: 1280px) {
  .filters-inline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .navbar {
    align-items: flex-start;
  }

  .navbar .nav-links {
    width: 100%;
    justify-content: flex-start;
  }

  .filters-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .filter-extra,
  .filter-action-buttons {
    width: 100%;
  }

  .filter-action-buttons {
    margin-left: 0;
    justify-content: flex-start;
  }

  .filter-extra > *,
  .filter-action-buttons > * {
    flex: 1 1 220px;
    max-width: 100%;
  }

  .header-row {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
  }

  .modal-header {
    flex-wrap: wrap;
    padding-right: 0;
  }

  .modal-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .file-meta {
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .card-header,
  .card-body {
    padding: 18px;
  }

  .table-responsive thead {
    display: none;
  }

  .table-responsive,
  .table-responsive tbody,
  .table-responsive tr,
  .table-responsive td {
    display: block;
    width: 100%;
  }

  .table-responsive tr {
    margin-bottom: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(31, 152, 169, 0.08);
  }

  .table-responsive tr:last-child {
    margin-bottom: 0;
  }

  .table-responsive td {
    display: grid;
    grid-template-columns: minmax(92px, 40%) minmax(0, 1fr);
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
  }

  .table-responsive td:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  .table-responsive td::before {
    content: attr(data-label);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6a7c87;
    font-weight: 700;
  }

  .table-responsive td[colspan] {
    display: block;
    padding: 0;
    border-bottom: none;
  }

  .table-responsive td[colspan]::before {
    content: none;
  }

  .table-actions {
    width: 100%;
  }

  .table-actions .btn {
    flex: 1 1 100%;
  }

  .pagination {
    justify-content: stretch;
  }

  .pagination-links {
    width: 100%;
  }

  .pagination-links > * {
    flex: 1 1 0;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 14px 16px;
  }

  .nav-left,
  .navbar .nav-links {
    width: 100%;
  }

  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .nav-back {
    width: 100%;
    justify-content: center;
  }

  .navbar .nav-links > * {
    flex: 1 1 100%;
  }

  .filters-inline {
    grid-template-columns: 1fr;
  }

  .filter-extra,
  .filter-action-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-extra > *,
  .filter-action-buttons > * {
    flex-basis: auto;
    width: 100%;
  }

  .control-160,
  .control-180,
  .control-200,
  .summary-level-select {
    width: 100%;
    min-width: 0;
  }

  .summary-by {
    width: 100%;
    flex-wrap: wrap;
  }

  .summary-by .select {
    width: 100%;
  }

  .btn-summary {
    width: 100%;
  }

  .upload-header,
  .upload-actions,
  .confirm-actions,
  .inline-actions,
  .form-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-buttons {
    width: 100%;
  }

  .upload-buttons .btn,
  .upload-actions .btn,
  .confirm-actions .btn,
  .inline-actions .btn,
  .form-actions .btn,
  .copy-field .btn {
    width: 100%;
  }

  .copy-field {
    align-items: stretch;
  }

  .modal-mask {
    align-items: flex-end;
  }

  .modal {
    width: 100%;
    max-width: none;
    border-radius: 22px 22px 0 0;
  }

  .modal-scroll {
    max-height: 90vh;
  }

  .login-wrap {
    min-height: 100dvh;
    padding: 16px;
  }

  .login-card {
    width: min(100%, 460px);
    padding: 28px 20px;
  }
}

@media (max-width: 480px) {
  .table-responsive td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (min-width: 1600px) {
  .card-body {
    padding: 28px;
  }

  .table th,
  .table td {
    padding: 14px 12px;
  }
}


.upload-modal {
  width: min(860px, 94vw);
}

.reconcile-modal {
  width: min(1080px, 96vw);
}

.reconcile-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reconcile-card {
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(180deg, #ffffff, #f7fbfc);
  box-shadow: 0 10px 20px rgba(31, 152, 169, 0.08);
}

.reconcile-help {
  margin-top: 10px;
  color: #6a7c87;
  font-size: 0.9rem;
  line-height: 1.4;
}

.reconcile-note {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(31, 152, 169, 0.08);
  border: 1px solid rgba(31, 152, 169, 0.18);
  color: #31505e;
}

.reconcile-result {
  margin-top: 16px;
  padding: 14px 16px;
  border: 1px solid rgba(31, 152, 169, 0.3);
  border-radius: 14px;
  background: rgba(31, 152, 169, 0.09);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.reconcile-result[hidden],
.reconcile-upload-confirm[hidden],
.reconcile-grid[hidden],
.upload-actions[hidden],
.reconcile-error[hidden] {
  display: none;
}

.reconcile-result-title {
  font-weight: 700;
  color: var(--text);
}

.reconcile-result-name {
  margin-top: 3px;
  max-width: 100%;
  color: #5f727e;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.reconcile-result > .upload-buttons {
  width: 100%;
  justify-content: flex-start;
}

.reconcile-error {
  margin-top: 16px;
  margin-bottom: 0;
}

.reconcile-upload-confirm {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(31, 152, 169, 0.3);
  border-radius: 16px;
  background: #f7fbfc;
}

.reconcile-upload-confirm .section-subtitle {
  margin: 6px 0 14px;
}

.reconcile-confirm-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.reconcile-download-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.reconcile-upload-confirm > .reconcile-download-check {
  margin-top: 4px;
}

.reconcile-download-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}

.update-file-confirm {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(31, 152, 169, 0.28);
  background: rgba(31, 152, 169, 0.08);
}

.update-file-confirm[hidden] {
  display: none;
}

.update-file-confirm-title {
  margin-bottom: 10px;
  font-weight: 700;
  color: var(--text);
}

.file-validation-error {
  margin-top: 8px;
  color: #b42318;
  font-size: 0.86rem;
  font-weight: 600;
}

.file-validation-error[hidden] {
  display: none;
}

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

.drop-zone {
  border: 2px dashed rgba(31, 152, 169, 0.45);
  border-radius: 18px;
  padding: 20px;
  background: #f5fbfc;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.drop-zone input {
  display: none;
}

.drop-zone.is-dragover {
  border-color: var(--brand);
  background: rgba(31, 152, 169, 0.12);
  box-shadow: 0 10px 25px rgba(31, 152, 169, 0.18);
}

.drop-zone-content {
  text-align: center;
  display: grid;
  gap: 6px;
  justify-items: center;
}

.drop-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(31, 152, 169, 0.15);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
}

.drop-icon svg {
  width: 22px;
  height: 22px;
}

.drop-title {
  font-weight: 700;
}

.drop-subtitle {
  color: #6a7c87;
  font-size: 0.9rem;
}

.file-meta {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #fff;
  min-width: 0;
}

.file-meta.compact {
  margin-top: 10px;
}

.file-meta > div:first-child {
  flex: 1 1 auto;
  min-width: 0;
}

.file-label {
  font-size: 0.8rem;
  color: #7b8b95;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.file-name {
  font-weight: 600;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-size {
  flex: 0 0 auto;
  font-weight: 600;
  color: #4b5c66;
}

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

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

.summary-card {
  border-radius: 14px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: #fff;
  box-shadow: 0 8px 18px rgba(31, 152, 169, 0.08);
}

.summary-card.paid {
  background: rgba(31, 152, 169, 0.12);
  border-color: rgba(31, 152, 169, 0.25);
}

.summary-card.unpaid {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.2);
}

.summary-card.neutral {
  background: rgba(38, 62, 77, 0.06);
}

.summary-label {
  font-size: 0.8rem;
  color: #6a7c87;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.summary-value {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 4px;
}

.summary-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: #8b5e00;
}

.upload-actions {
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.upload-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.confirm-panel {
  border: 1px solid var(--border);
  background: #f7fbfc;
  border-radius: 18px;
  padding: 18px;
}

.confirm-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}


.upload-loading {
  position: absolute;
  inset: 0;
  background: rgba(20, 34, 43, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  z-index: 5;
}

.loading-card {
  background: #fff;
  padding: 18px 22px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.loading-title {
  font-weight: 700;
}

.loading-sub {
  color: #6a7c87;
  font-size: 0.9rem;
}

.spinner {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 3px solid rgba(31, 152, 169, 0.25);
  border-top-color: var(--brand);
  animation: spin 0.9s linear infinite;
}

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