﻿:root {
  color-scheme: light;
  --background: #fcfcfe;
  --text: #0c1024;
  --muted: #687299;
  --brand: #5138ed;
  --line: #eceef5;
  --housing: #8976ff;
  --food: #c7bcff;
  --transport: #ff9c92;
  --leisure: #ffda80;
  --subscriptions: #8cd7d7;
  --other: #d0d4df;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.45; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button, input { font: inherit; }
button { color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: 2px solid var(--brand); outline-offset: 4px; }
.icon-library { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.dashboard { max-width: 1200px; margin: 0 auto; padding: 20px 16px 28px; }
.header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.brand { font-size: 26px; font-weight: 900; letter-spacing: -1.2px; }
.brand > span { color: #6c56ff; }
.period-controls { display: flex; align-items: center; gap: 12px; }
.month-selector { display: flex; align-items: center; background: #f0f0fa; border-radius: 22px; }
.month-selector button { width: 44px; height: 44px; border: 0; background: transparent; font-size: 26px; color: #343c67; }
.month-selector p { font-size: 13px; white-space: nowrap; }
.calendar-button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #f0f0fa; color: #343c67; }
.overview { display: flex; flex-direction: column; padding: 25px 20px; border: 1px solid #e1dfff; border-radius: 20px; background: #f5f4ff; }
.balance h1 { text-transform: uppercase; font-size: 12px; font-weight: 600; color: #4f5982; }
.balance-value { margin-top: 12px; font-size: clamp(39px, 11.8vw, 66px); font-weight: 750; line-height: 1.15; letter-spacing: -2px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.currency { font-size: .56em; font-weight: 550; letter-spacing: -1px; }
.cents { font-weight: 300; color: #373e66; }
.balance-label { margin-top: 8px; font-size: 14px; color: var(--muted); }
.brand-message { display: none; }
.totals { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
.total { display: flex; align-items: center; gap: 8px; }
.total + .total { border-left: 1px solid #d9d5ef; padding-left: 12px; }
.total strong { font-size: 13px; font-weight: 600; white-space: nowrap; }
.total p { font-size: 12px; color: var(--muted); margin-top: 2px; }
.direction { display: grid; place-items: center; width: 30px; height: 36px; border-radius: 50%; flex-shrink: 0; font-size: 22px; }
.income { background: #e7f5f1 !important; color: #00976a; }
.expense { background: #fbeef2; color: #ed234b; }
.new-transaction { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; margin-top: 26px; border: 0; border-radius: 13px; background: var(--brand); color: #fff; font-size: 15px; font-weight: 550; box-shadow: 0 9px 24px #5138ed24; }
.new-transaction > span { font-size: 28px; font-weight: 300; }
.details { display: grid; gap: 18px; margin-top: 20px; }
.panel { min-width: 0; padding: 23px 18px; border: 1px solid var(--line); border-radius: 19px; background: #fff; }
h2 { font-size: 18px; font-weight: 650; letter-spacing: -.6px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.expense-selector { min-height: 44px; padding: 0 14px; border: 1px solid #e2e5f0; border-radius: 13px; background: white; font-size: 12px; }
.expense-selector span { margin-left: 18px; font-size: 17px; }
.spending-content { margin-top: 24px; }
/* As cores e proporções do gráfico são preenchidas pelos dados carregados. */
.donut { display: grid; place-items: center; width: 210px; aspect-ratio: 1; margin: 0 auto 24px; border-radius: 50%; background: var(--line); }
.donut-center { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 70%; height: 70%; border-radius: 50%; background: #fff; }
.donut-center strong { font-size: 18px; font-weight: 650; letter-spacing: -.6px; }
.donut-center span { font-size: 11px; color: var(--muted); margin-top: 4px; }
.categories li { display: grid; grid-template-columns: minmax(0, 1fr) auto 31px; align-items: center; gap: 12px; padding: 6px 0; font-size: 12px; }
.categories li > span { display: flex; align-items: center; gap: 9px; }
.categories i { display: block; width: 9px; height: 9px; border-radius: 4px; flex-shrink: 0; }
.categories strong { font-weight: 500; white-space: nowrap; }
.categories small { color: var(--muted); text-align: right; font-size: inherit; }
.housing { background: var(--housing); }.food-color { background: var(--food); }.transport { background: var(--transport); }.leisure { background: var(--leisure); }.subscriptions { background: var(--subscriptions); }.other { background: var(--other); }
.quick-view { grid-row: 3; }
.insights { display: grid; gap: 12px; margin-top: 18px; }
.insight { display: flex; align-items: flex-start; gap: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: #fafbfe; }
.insight-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 17px; flex-shrink: 0; }
.violet { color: #4932ed; background: #efecff; }.amber { color: #ef8900; background: #fff5e6; }
.insight h3 { color: var(--muted); font-size: 12px; font-weight: 400; margin-bottom: 5px; }
.insight strong { font-size: 15px; font-weight: 600; }
.insight p { font-size: 13px; }
.muted { color: var(--muted); }
.income-amount { color: #009c69 !important; }
.search-preview { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding: 13px; border: 1px solid #e5e7f2; border-radius: 14px; background: #f4f5f9; color: #525d83; }
.search-preview input { min-width: 0; width: 100%; border: 0; background: transparent; font-size: 12px; opacity: 1; }
.search-preview input::placeholder { color: var(--muted); opacity: 1; }
.date-group { margin-top: 22px; }
.date-group h3 { color: #59658a; font-size: 13px; font-weight: 500; }
.transaction-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 3px 10px; padding: 15px 0; border-bottom: 1px solid var(--line); }
.transaction-icon { grid-row: span 2; display: grid; place-items: center; width: 34px; height: 38px; border-radius: 13px; background: #f2f3f6; color: #303955; }
.transaction-icon .icon { width: 20px; height: 20px; }
.transaction-description { grid-row: span 2; min-width: 0; }
.transaction-description h4 { font-size: 12px; font-weight: 550; overflow-wrap: normal; }
.transaction-description p { font-size: 11px; color: var(--muted); margin-top: 3px; }
.transaction-list strong { font-size: 12px; font-weight: 500; color: #f3223e; white-space: nowrap; text-align: right; }
.transaction-list li > time { grid-column: 3; font-size: 10px; color: var(--muted); text-align: right; }
.more-transactions { width: 100%; min-height: 46px; margin-top: 20px; border: 0; border-radius: 14px; background: #f3f4f8; color: #5b6589; font-size: 13px; font-weight: 500; }
.transaction-filters { display: flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 13px; background: #f3f4f8; }
.transaction-filters[hidden] { display: none; }
.transaction-filters button { flex: 1; min-width: 0; min-height: 40px; padding: 8px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 13px; font-weight: 500; cursor: pointer; }
.transaction-filters button:hover { background: #eeebff; color: var(--brand); }
.transaction-filters button[aria-pressed="true"] { background: #e9e4fb; color: var(--brand); }
footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; border-top: 1px solid var(--line); margin-top: 36px; padding-top: 23px; }
footer .brand { font-size: 19px; }
#logout { min-height: 40px; padding: 8px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
#logout:hover { background: #eeebff; color: var(--brand); }
footer p { font-size: 10px; color: var(--muted); }
footer .icon { color: #424b7b; width: 20px; }
.footer-message { flex-basis: calc(100% - 45px); }

@media (min-width: 600px) {
  .dashboard { padding: 24px 30px 35px; }
  .header { flex-wrap: nowrap; }
  .month-selector { gap: 8px; }
  .month-selector p { font-size: 14px; }
  .overview { padding: 32px; }
  .totals { max-width: 32rem; }
  .new-transaction { align-self: flex-start; padding-inline: 24px; }
  .total strong { font-size: 18px; }
  .total p { font-size: 13px; }
  .direction { width: 46px; height: 46px; }
  .total { gap: 14px; }
  .insights { grid-template-columns: 1fr 1fr; }
  .panel { padding: 26px; }
  .spending-content { display: flex; align-items: center; gap: 24px; }
  .donut { flex-shrink: 0; width: 190px; margin: 0; }
  .categories { flex: 1; }
  .transaction-list li { grid-template-columns: 42px minmax(0, 1fr) auto 40px; gap: 14px; }
  .transaction-icon, .transaction-description { grid-row: auto; }
  .transaction-icon { width: 42px; height: 44px; }
  .transaction-description h4, .transaction-list strong { font-size: 14px; }
  .transaction-description p { font-size: 12px; }
  .transaction-list li > time { grid-column: auto; font-size: 12px; }
}
@media (min-width: 768px) {
  .overview { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 24px; align-items: center; }
  .balance { grid-column: 1 / -1; }
  .totals { margin: 0; gap: 16px; }
  .total strong { font-size: 16px; }
  .total { gap: 10px; }
  .direction { width: 40px; height: 40px; }
  .new-transaction { margin: 0; align-self: center; justify-self: end; }
}
@media (min-width: 1000px) {
  .dashboard { padding: 22px 40px 38px; }
  .header { margin-bottom: 24px; }
  .brand { font-size: 29px; }
  .period-controls { gap: 28px; }
  .month-selector { gap: 15px; padding: 2px 8px; }
  .calendar-button { width: 50px; height: 50px; }
  .overview { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding: 32px; gap: 28px 32px; }
  .balance { grid-column: auto; }
  .balance h1 { font-size: 13px; }
  .balance-value { font-size: clamp(60px, 5.3vw, 76px); margin-top: 15px; }
  .balance-label { font-size: 16px; }
  .brand-message { display: flex; align-items: center; justify-content: flex-end; gap: 24px; color: #806bff; font-size: 18px; }
  .brand-message p { line-height: 1.35; }
  .brand-message p span { font-size: 16px; }
  .brand-bars { display: flex; align-items: flex-end; gap: 7px; height: 55px; }
  .brand-bars i { width: 9px; height: 28px; background: #5138ed; border-radius: 6px; }
  .brand-bars i:nth-child(2) { height: 42px; background: #8b77ff; }
  .brand-bars i:nth-child(3) { height: 55px; background: #c6bcff; }
  .totals { max-width: none; gap: 16px; }
  .total + .total { padding-left: 16px; }
  .direction { width: 44px; height: 44px; }
  .new-transaction { min-height: 56px; font-size: 16px; padding-inline: 24px; }
  .details { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: min-content 1fr; align-items: start; gap: 20px; margin-top: 22px; }
  .spending { grid-column: 1; grid-row: 1; }
  .quick-view { grid-column: 1; grid-row: 2; }
  .transactions { grid-column: 2; grid-row: 1 / 3; }
  h2 { font-size: 20px; }
  .panel { padding: 24px; }
  .spending-content { display: grid; grid-template-columns: minmax(140px, .75fr) minmax(0, 1fr); gap: 16px; margin: 24px 0 0; }
  .donut { width: 100%; max-width: 210px; justify-self: center; }
  .donut-center strong { font-size: clamp(14px, 1.25vw, 18px); }
  .categories li { gap: 8px; font-size: 12px; grid-template-columns: minmax(0, 1fr) auto 28px; }
  .categories li > span { gap: 8px; }
  .insight { gap: 10px; padding: 12px; }
  .insight-icon { width: 36px; height: 36px; }
  .insight strong { font-size: 15px; }
  .insight h3 { font-size: 12px; }
  .insights { gap: 12px; }
  .transaction-list li { gap: 10px; grid-template-columns: 40px minmax(min-content, 1fr) auto auto; padding: 16px 0; }
  .transaction-description h4 { font-size: 13px; }
  .transaction-list strong { font-size: 14px; }
  .date-group { margin-top: 22px; }
  .search-preview input { font-size: 13px; }
  footer { margin-top: 40px; padding-top: 25px; gap: 26px; }
  .footer-message { margin-left: auto; flex-basis: auto; }
}

[hidden] { display: none !important; }
select { font: inherit; color: inherit; }
button:not([aria-disabled="true"]), select { cursor: pointer; }
button, select, .transaction-list li { transition: background-color .15s ease, box-shadow .15s ease; }
@media (hover: hover) {
  .new-transaction:hover, .save-transaction:hover { background: #432bd3; }
  .expense-selector:hover, .month-selector button:hover, .cancel-modal:hover, .close-modal:hover, .more-transactions:hover { background: #eeebff; }
  .transaction-list li:hover { background: #faf9ff; }
}
input:focus-visible, select:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.empty-state { padding: 24px 0; color: var(--muted); font-size: 13px; }
.categories .empty-state { display: block; }
.storage-message, .form-error { color: #a52540; background: #fff1f4; padding: 12px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; }
.transaction-description h4 { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.transaction-list li { grid-template-columns: 34px minmax(0, 1fr) auto; }
.balance-value { overflow-wrap: anywhere; white-space: normal; }
.total { min-width: 0; }
.total strong { white-space: normal; overflow-wrap: anywhere; }
.donut-center strong { max-width: 90%; text-align: center; overflow-wrap: anywhere; }
body:has(dialog[open]) { overflow: hidden; }
#transaction-modal { width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 26px; border: 1px solid var(--line); border-radius: 20px; color: var(--text); background: #fff; box-shadow: 0 24px 80px #17103226; }
#transaction-modal::backdrop { background: #17132f66; backdrop-filter: blur(3px); }
.modal-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.close-modal { width: 44px; height: 44px; border: 0; background: #f3f2fa; border-radius: 12px; font-size: 24px; color: var(--muted); }
#transaction-form label { display: block; font-size: 13px; font-weight: 550; margin: 15px 0 7px; }
#transaction-form input, #transaction-form select { width: 100%; min-width: 0; min-height: 46px; padding: 11px 12px; border: 1px solid #dfe2ed; border-radius: 10px; background: #fcfcfe; font-size: 16px; color: var(--text); }
#amount-hint { display: block; margin-top: 5px; color: var(--muted); font-size: 11px; }
.form-columns { display: grid; gap: 0 16px; }
.form-columns > div { min-width: 0; }
.modal-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; margin-top: 26px; }
.modal-actions button { min-height: 46px; padding: 12px 16px; border: 0; border-radius: 10px; font-size: 13px; font-weight: 550; }
.cancel-modal { background: #f3f2fa; color: #525d83; }
.save-transaction { background: var(--brand); color: white; }
.form-error { margin: 16px 0 0; }
@media (min-width: 480px) { .form-columns { grid-template-columns: 1fr 1fr; } }
@media (min-width: 600px) { .transaction-list li { grid-template-columns: 42px minmax(0, 1fr) auto 40px; } }
@media (min-width: 1000px) { .transaction-list li { grid-template-columns: 40px minmax(0, 1fr) auto auto; } }
@media (prefers-reduced-motion: reduce) { button, select, .transaction-list li { transition: none; } }

/* Controles visuais compartilham os mesmos estados, sem alterar suas dimensões. */
.month-selector button { display: grid; place-items: center; flex-shrink: 0; padding: 0; border-radius: 50%; line-height: 1; transition: background-color .18s ease, color .18s ease, box-shadow .18s ease; }
.month-selector button:active { background: #e2dcff; color: var(--brand); box-shadow: inset 0 0 0 1px #d8ceff; }
.calendar-button { cursor: default; user-select: none; }
.modal-heading h2 { font-size: 18px; }
#transaction-form label { font-size: 12px; }
#transaction-form input { border-radius: 12px; }
.select-control { position: relative; min-width: 0; }
.select-compact { flex-shrink: 0; }
select.native-select, #transaction-form select.native-select { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; pointer-events: none; }
.select-trigger { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid #dfe2ed; border-radius: 12px; background: #fcfcfe; font-size: 14px; text-align: left; }
.select-trigger::after { content: ''; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); color: #81769f; flex-shrink: 0; }
.select-trigger[aria-expanded="true"] { border-color: #ab9df4; background: #f6f3ff; box-shadow: 0 0 0 3px #5138ed0d; }
.select-trigger[aria-expanded="true"]::after { transform: rotate(225deg) translate(-2px, -1px); color: var(--brand); }
.select-compact .select-trigger { min-height: 44px; font-size: 12px; padding-inline: 14px; background: white; }
.control-menu { position: fixed; inset: auto; margin: 0; padding: 5px; border: 1px solid #e2dcf6; border-radius: 14px; background: #fff; color: var(--text); box-shadow: 0 10px 32px #30245e1a; overflow: auto; overscroll-behavior: contain; font-family: inherit; }
.control-menu::backdrop { background: transparent; }
.select-option { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 10px; border-radius: 9px; font-size: 13px; cursor: pointer; }
.select-option[aria-selected="true"] { background: #f0ebff; color: var(--brand); font-weight: 550; }
.select-option[aria-selected="true"]::after { content: '✓'; font-size: 13px; }
.select-option.is-active { box-shadow: inset 0 0 0 1px #b6a6f4; }
.date-control { position: relative; }
#transaction-form .date-control input { padding-right: 44px; font-variant-numeric: tabular-nums; accent-color: var(--brand); }
.date-control input::-webkit-calendar-picker-indicator { display: none; }
.date-control input::-webkit-datetime-edit { padding: 0; }
.date-trigger { position: absolute; right: 1px; top: 1px; display: grid; place-items: center; width: 42px; height: calc(100% - 2px); border: 0; border-radius: 0 11px 11px 0; background: transparent; color: #81769f; }
.date-trigger .icon { width: 18px; height: 18px; }
.date-trigger[aria-expanded="true"] { background: #f0ebff; color: var(--brand); }
.date-menu { padding: 12px; }
.date-menu-heading { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 8px; }
.date-menu-heading strong { font-size: 13px; font-weight: 550; text-transform: capitalize; }
.date-menu-heading button { width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: #f6f3ff; color: var(--brand); font-size: 22px; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.calendar-weekdays span { padding: 7px 0; text-align: center; font-size: 11px; color: var(--muted); }
.calendar-days button { min-height: 36px; padding: 0; border: 1px solid transparent; border-radius: 10px; background: transparent; font-size: 12px; color: var(--text); }
.calendar-days button[aria-current="date"] { border-color: #d3c9f9; color: var(--brand); }
.calendar-days button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.calendar-days button:disabled, .date-menu-heading button:disabled { opacity: .35; cursor: default; }
@media (hover: hover) {
  .month-selector button:hover { background: #e9e4fb; color: var(--brand); }
  .select-trigger:hover, .date-trigger:hover, .date-menu-heading button:not(:disabled):hover { background: #f0ebff; }
  .select-option:hover { background: #f5f1ff; color: var(--brand); }
  .calendar-days button:not(:disabled):not([aria-pressed="true"]):hover { background: #f0ebff; color: var(--brand); }
}
@media (min-width: 600px) { #transaction-form input { font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .month-selector button { transition: none; } }

/* Tela de autenticação: estilos isolados do dashboard. */
.auth-page { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: 32px 20px; }
.auth-shell { width: 100%; max-width: 420px; }
.auth-brand { text-align: center; margin-bottom: 28px; }
.auth-brand .brand { font-size: 29px; }
.auth-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 20px; }
.auth-intro { margin-bottom: 26px; }
.auth-symbol { display: flex; align-items: flex-end; gap: 4px; width: 42px; height: 42px; padding: 10px; margin-bottom: 20px; border-radius: 12px; background: #f0ebff; }
.auth-symbol i { display: block; width: 5px; height: 10px; border-radius: 4px; background: var(--brand); }
.auth-symbol i:nth-child(2) { height: 16px; background: #8b77ff; }
.auth-symbol i:nth-child(3) { height: 22px; background: #c6bcff; }
.auth-intro h1 { font-size: 23px; line-height: 1.3; letter-spacing: -.7px; font-weight: 650; }
.auth-intro p { margin-top: 10px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-fields label { display: block; margin: 18px 0 8px; font-size: 12px; font-weight: 550; }
.auth-fields input { display: block; width: 100%; min-width: 0; min-height: 48px; padding: 12px 14px; border: 1px solid #dfe2ed; border-radius: 12px; background: #fcfcfe; color: var(--text); font-size: 16px; }
.auth-fields input::placeholder { color: #8188a2; opacity: 1; }
.auth-fields input:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
.auth-link { min-height: 44px; padding: 10px 0; border: 0; background: transparent; color: var(--brand); font-size: 12px; font-weight: 550; cursor: pointer; }
.auth-recovery { display: flex; justify-content: flex-end; margin: 3px 0 13px; }
.auth-submit { width: 100%; min-height: 48px; padding: 12px 20px; border: 0; border-radius: 12px; background: var(--brand); color: white; font-size: 14px; font-weight: 550; box-shadow: 0 8px 20px #5138ed18; cursor: pointer; }
#reset-password-form #confirm-password { margin-bottom: 24px; }
#reset-password-form .auth-recovery { justify-content: center; margin: 12px 0 0; }
#reset-password-form .auth-link { display: inline-flex; align-items: center; text-align: center; text-decoration: none; }
.auth-caption { margin-top: 24px; text-align: center; color: var(--muted); font-size: 11px; }
@media (min-width: 600px) {
  .auth-page { padding: 40px 24px; }
  .auth-card { padding: 32px 32px 24px; }
  .auth-fields input { font-size: 14px; }
}
@media (hover: hover) {
  .auth-link:hover { color: #432bd3; text-decoration: underline; text-underline-offset: 3px; }
  .auth-submit:hover { background: #432bd3; }
}

.auth-checking body { visibility: hidden; }
.auth-error { margin: 0 0 14px; padding: 11px 12px; border-radius: 10px; background: #fff1f4; color: #a52540; font-size: 12px; line-height: 1.5; }
.auth-submit:disabled { cursor: wait; opacity: .75; }
.auth-link:disabled { cursor: wait; opacity: .75; }
.auth-error.auth-success { background: #f0ebff; color: var(--brand); }

.transaction-list li[role="button"] { cursor: pointer; }
.transaction-list li[role="button"]:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 8px; }
#delete-transaction { margin-right: auto; background: #fff1f4; color: #a52540; }
#transaction-form [disabled] { cursor: wait; opacity: .65; }

