/* =========================================================
   ContarFácil — Fluent Design System (Mobile-first)
   ========================================================= */

/* --- Reset & Base ---------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Garante que o atributo hidden sempre esconde o elemento,
   mesmo que o CSS defina display:flex ou display:grid */
[hidden] { display: none !important; }

:root {
  /* Brand / accent colors */
  --color-primary:    #0f3b2c;
  --color-primary-dk: #092419;
  --color-primary-lt: #1a5c42;
  --color-success:    #107c10;
  --color-danger:     #c50f1f;
  --color-warning-fg: #bc4b09;
  --color-warning-bg: #fff8f0;
  --color-warning-bd: #e06c00;

  /* Neutral palette */
  --color-bg:         #f3f3f3;
  --color-bg-2:       #ebebeb;
  --color-card:       #ffffff;
  --color-text:       #242424;
  --color-text-2:     #424242;
  --color-muted:      #616161;
  --color-muted-lt:   #8a8a8a;
  --color-border:     #e0e0e0;
  --color-border-dk:  #c8c8c8;

  /* Fluent elevation shadows */
  --shadow-2:  0 0 2px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.14);
  --shadow-4:  0 0 2px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.14);
  --shadow-8:  0 0 2px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.14);
  --shadow-16: 0 0 2px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.14);
  --shadow-64: 0 0 8px rgba(0,0,0,0.12), 0 32px 64px rgba(0,0,0,0.24);

  /* Fluent border radius */
  --radius-sm: 4px;
  --radius:    8px;
  --radius-lg: 12px;
  --radius-xl: 16px;

  /* Fluent motion */
  --dur-fast:   83ms;
  --dur-normal: 167ms;
  --dur-slow:   333ms;
  --ease:       cubic-bezier(0.33, 0, 0.67, 1);
  --ease-decel: cubic-bezier(0, 0, 0, 1);
  --ease-accel: cubic-bezier(1, 0, 1, 1);
}

html, body {
  height: 100%;
}

body {
  font-family: 'Segoe UI Variable', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

/* --- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease),
    transform var(--dur-fast) var(--ease);
  white-space: nowrap;
  user-select: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn:active:not(:disabled) {
  transform: scale(0.98);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-lt);
  border-color: var(--color-primary-lt);
  box-shadow: var(--shadow-4);
}

.btn-primary:active:not(:disabled) {
  background-color: var(--color-primary-dk);
}

.btn-danger {
  background-color: var(--color-danger);
  color: #fff;
  border-color: var(--color-danger);
}

.btn-danger:hover:not(:disabled) {
  background-color: #a80d19;
  box-shadow: var(--shadow-4);
}

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

.btn-ghost:hover:not(:disabled) {
  background-color: var(--color-bg-2);
  border-color: var(--color-border-dk);
}

.btn-outline-sm {
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.5);
  padding: 5px 14px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease);
}

.btn-outline-sm:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn-icon {
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  line-height: 1;
  transition:
    background var(--dur-fast) var(--ease),
    border-color var(--dur-fast) var(--ease);
  color: var(--color-muted);
}

.btn-icon:hover {
  background: var(--color-bg-2);
  border-color: var(--color-border);
  color: var(--color-text);
}

.btn-icon:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 1px;
}

/* --- Forms --------------------------------------------- */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}

.form-group--sm {
  flex: 0 0 140px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
select {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--color-border-dk);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--color-card);
  color: var(--color-text);
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

input:hover:not(:focus),
select:hover:not(:focus) {
  border-bottom-color: var(--color-text-2);
}

input:focus,
select:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(15, 59, 44, 0.1);
}

textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1px solid var(--color-border-dk);
  border-bottom-width: 2px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: inherit;
  background: var(--color-card);
  color: var(--color-text);
  resize: vertical;
  min-height: 58px;
  max-height: 140px;
  transition:
    border-color var(--dur-fast) var(--ease),
    box-shadow var(--dur-fast) var(--ease);
  -webkit-appearance: none;
  appearance: none;
}

textarea:hover:not(:focus) {
  border-bottom-color: var(--color-text-2);
}

textarea:focus {
  outline: none;
  border-bottom-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(15, 59, 44, 0.1);
}

.label-optional {
  font-size: 11px;
  font-weight: 400;
  color: var(--color-muted-lt);
  text-transform: none;
  letter-spacing: 0;
}

.char-counter {
  font-size: 11px;
  color: var(--color-muted-lt);
  text-align: right;
  margin-top: 3px;
}

.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.form-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.error-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-danger);
  font-size: 13px;
  padding: 8px 12px;
  background: #fdf3f4;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-danger);
  margin-bottom: 4px;
}

.success-msg {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-success);
  font-size: 13px;
  padding: 8px 12px;
  background: #f0faf0;
  border-radius: var(--radius);
  border-left: 3px solid var(--color-success);
  margin-bottom: 4px;
}

/* --- Cards --------------------------------------------- */
.card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2);
  padding: 20px;
  transition: box-shadow var(--dur-fast) var(--ease);
}

.card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

/* =========================================================
   AUTH PAGE
   ========================================================= */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: linear-gradient(150deg, var(--color-primary) 0%, #1a5c42 55%, #2d7a5c 100%);
}

.auth-container {
  width: 100%;
  max-width: 400px;
  animation: fade-up var(--dur-slow) var(--ease-decel);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.auth-logo {
  text-align: center;
  margin-bottom: 24px;
  color: #fff;
}

.auth-logo-icon {
  font-size: 44px;
  margin-bottom: 6px;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.auth-logo h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
}

.auth-logo p {
  font-size: 13px;
  opacity: 0.75;
}

.auth-form {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  box-shadow: var(--shadow-64);
  border: 1px solid rgba(255,255,255,0.6);
}

.auth-form h2 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.auth-form .form-group {
  margin-bottom: 14px;
}

.auth-form .btn {
  width: 100%;
  margin-top: 8px;
  padding: 10px;
  font-size: 14px;
  border-radius: var(--radius);
}

.auth-form .error-msg {
  margin-bottom: 10px;
}

.auth-switch {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-muted);
}

/* =========================================================
   DASHBOARD PAGE
   ========================================================= */
.dashboard-page {
  min-height: 100vh;
  background: var(--color-bg);
}

/* Header — acrylic */
.header {
  background: rgba(15, 59, 44, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-8);
}

.header-inner {
  max-width: 740px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
}

.header-icon {
  font-size: 20px;
}

.header-user {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.user-email {
  font-size: 12px;
  opacity: 0.8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* Main content */
.main-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 20px 16px 48px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Alert banner */
.alert-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--color-warning-bg);
  border: 1px solid var(--color-warning-bd);
  border-left-width: 4px;
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  color: var(--color-warning-fg);
  animation: fade-up var(--dur-normal) var(--ease-decel);
}

.alert-icon {
  font-size: 20px;
  line-height: 1.3;
  flex-shrink: 0;
}

.alert-text {
  font-size: 13px;
  line-height: 1.5;
}

.alert-text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}

/* Summary cards */
.summary-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.summary-card {
  text-align: center;
  padding: 18px 12px 16px;
  cursor: default;
}

.summary-card:hover {
  box-shadow: var(--shadow-4);
}

.summary-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 8px;
}

.summary-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.summary-card--receita .summary-value { color: var(--color-success); }
.summary-card--despesa .summary-value { color: var(--color-danger); }
.summary-card--saldo   .summary-value { color: var(--color-primary); }

/* Limit bar */
.limit-card {
  padding: 16px 20px;
}

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

.limit-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.limit-percent {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text-2);
}

.limit-bar-bg {
  background: var(--color-border);
  border-radius: 99px;
  height: 8px;
  overflow: hidden;
}

.limit-bar {
  height: 100%;
  border-radius: 99px;
  background: var(--color-success);
  transition: width var(--dur-slow) var(--ease-decel), background var(--dur-normal) var(--ease);
}

.limit-bar.warning { background: #e06c00; }
.limit-bar.danger  { background: var(--color-danger); }

/* Form card */
.form-card {
  /* inherits .card */
}

/* Transaction list */
.transactions-list {
  display: flex;
  flex-direction: column;
}

.empty-state {
  text-align: center;
  color: var(--color-muted-lt);
  padding: 32px 0;
  font-size: 13px;
}

.tx-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--color-border);
  transition: background var(--dur-fast) var(--ease);
  border-radius: var(--radius-sm);
  margin: 0 -6px;
  padding-left: 6px;
  padding-right: 6px;
}

.tx-item:last-child {
  border-bottom: none;
}

.tx-item:hover {
  background: var(--color-bg-2);
}

.tx-item:hover .tx-actions {
  opacity: 1;
}

.tx-type-badge {
  width: 34px;
  height: 34px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.tx-type-badge--receita { background: #dff6dd; }
.tx-type-badge--despesa { background: #fde7e9; }

.tx-info {
  flex: 1;
  min-width: 0;
}

.tx-description {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--color-text);
}

.tx-date {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 1px;
}

.tx-notes {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
  font-style: italic;
}

.tx-amount {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.tx-amount--receita { color: var(--color-success); }
.tx-amount--despesa { color: var(--color-danger); }

.tx-actions {
  display: flex;
  gap: 2px;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease);
}

/* Always show actions on touch devices */
@media (hover: none) {
  .tx-actions { opacity: 1; }
}

/* =========================================================
   MODAL — Fluent Dialog
   ========================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  z-index: 200;
  animation: overlay-in var(--dur-normal) var(--ease);
}

@keyframes overlay-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal {
  background: var(--color-card);
  border-radius: var(--radius-xl);
  padding: 24px;
  max-width: 380px;
  width: 100%;
  box-shadow: var(--shadow-64);
  animation: dialog-in var(--dur-normal) var(--ease-decel);
}

@keyframes dialog-in {
  from { opacity: 0; transform: scale(0.92) translateY(8px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);   }
}

.modal h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.modal p {
  color: var(--color-muted);
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.modal-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

/* =========================================================
   TOAST — Fluent Bar / Snackbar
   ========================================================= */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 300;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  background: #323130;
  color: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-16);
  min-width: 260px;
  max-width: 360px;
  font-size: 13px;
  font-weight: 500;
  pointer-events: auto;
  cursor: pointer;
  animation: toast-in var(--dur-normal) var(--ease-decel);
  border-left: 3px solid transparent;
}

.toast--success { border-left-color: #6ccb5f; }
.toast--error   { border-left-color: #f87171; }
.toast--warning { border-left-color: #fbbf24; }

.toast--out {
  animation: toast-out var(--dur-normal) var(--ease-accel) forwards;
}

.toast-icon {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
  text-align: center;
}

.toast--success .toast-icon { color: #6ccb5f; }
.toast--error   .toast-icon { color: #f87171; }
.toast--warning .toast-icon { color: #fbbf24; }

.toast-msg {
  flex: 1;
  line-height: 1.4;
}

@keyframes toast-in {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}

@keyframes toast-out {
  from { opacity: 1; transform: translateY(0)    scale(1);    }
  to   { opacity: 0; transform: translateY(12px) scale(0.96); }
}

/* =========================================================
   RESPONSIVE — max 600px
   ========================================================= */
@media (max-width: 600px) {
  .summary-cards {
    grid-template-columns: 1fr;
  }

  .summary-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 14px 16px;
  }

  .summary-value {
    font-size: 18px;
  }

  .user-email {
    display: none;
  }

  .form-group--sm {
    flex: 1 1 100%;
  }

  .form-row {
    flex-direction: column;
    margin-bottom: 0;
  }

  .form-row .form-group {
    margin-bottom: 12px;
  }

  .modal-actions {
    flex-direction: column-reverse;
  }

  .modal-actions .btn {
    width: 100%;
  }

  .toast-container {
    left: 16px;
    right: 16px;
    bottom: 16px;
    align-items: stretch;
  }

  .toast {
    min-width: unset;
    max-width: unset;
  }
}

/* =========================================================
   Navega\u00e7\u00e3o por m\u00eas + Scroll infinito
   ========================================================= */

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

.transactions-header .card-title {
  margin-bottom: 0;
}

.month-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.month-label {
  font-size: 13px;
  font-weight: 700;
  min-width: 128px;
  text-align: center;
  color: var(--color-text);
  padding: 0 4px;
}

.month-btn {
  font-size: 22px;
  line-height: 1;
  padding: 2px 8px;
  color: var(--color-primary);
  background: none;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-decel);
}

.month-btn:hover {
  background: rgba(15, 59, 44, 0.08);
}

.month-btn:active {
  background: rgba(15, 59, 44, 0.16);
}

.spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  flex-shrink: 0;
}

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

.tx-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 13px;
  padding: 12px 0;
}

.tx-end {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  padding: 10px 0;
  opacity: 0.7;
}

.tx-sentinel-el {
  height: 1px;
}

/* =========================================================
   Gráfico — Receita vs. Despesa
   ========================================================= */

.chart-card {
  padding: 20px 20px 16px;
}

.chart-header {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
}

.chart-header .card-title {
  margin-bottom: 0;
}

.chart-subtitle {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}

.chart-wrap {
  position: relative;
  width: 100%;
}

/* ---------------------------------------------------------------------------
   COACH DE NEGÓCIO
   --------------------------------------------------------------------------- */
.coach-card {
  padding: 20px 20px 16px;
}

.coach-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
}

.coach-icon {
  font-size: 28px;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.coach-header .card-title {
  margin-bottom: 2px;
}

.coach-subtitle {
  font-size: 12px;
  color: var(--color-muted);
  font-weight: 500;
}

.insight-badge {
  margin-left: auto;
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.insight-badge--ai {
  background: #e8f5e9;
  color: #1b5e20;
  border: 1px solid #a5d6a7;
}

.insight-badge--tip {
  background: #f5f5f5;
  color: #555;
  border: 1px solid #ddd;
}

.insight-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text);
  margin: 0 0 12px;
  min-height: 48px;
}

.insight-disclaimer {
  font-size: 11px;
  color: var(--color-muted);
  margin: 0;
  border-top: 1px solid var(--color-border, #eee);
  padding-top: 10px;
}

/* Skeleton loading */
.skeleton-line {
  display: block;
  height: 14px;
  background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.4s infinite;
  border-radius: 6px;
  margin-bottom: 8px;
}

.skeleton-line--short {
  width: 60%;
}

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

.modal--wide {
  max-width: 480px;
}
