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

:root {
  --bg: #FFF8F0;
  --surface: #FFFFFF;
  --surface-warm: #FFF5EB;
  --primary: #FF8C42;
  --primary-soft: #FFD4B0;
  --green: #5CB87A;
  --green-soft: #D4EDDA;
  --green-dark: #3A7D52;
  --red: #E8734A;
  --red-soft: #FDDDD0;
  --red-dark: #C2522A;
  --blue: #5B9BD5;
  --blue-soft: #D6E8F7;
  --text: #3D2C1E;
  --text-dim: #8C7A6B;
  --text-light: #B8A99A;
  --border: #F0E4D8;
  --shadow-sm: 0 2px 8px rgba(61,44,30,0.06);
  --shadow-md: 0 6px 20px rgba(61,44,30,0.08);
  --shadow-lg: 0 12px 40px rgba(61,44,30,0.12);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --navbar-h: 64px;
}

html { font-size: 15px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: calc(var(--navbar-h) + 16px);
}

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

/* ===== Header ===== */
.app-header {
  text-align: center;
  padding: 28px 0 20px;
}

.app-header h1 {
  font-family: 'Comic Sans MS', 'Chalkboard SE', cursive;
  font-size: 1.6rem;
  color: var(--text);
  letter-spacing: 2px;
}

.app-header .sub {
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===== Page Container ===== */
.page-container {
  width: 100%;
  max-width: 100%;
  padding: 0 12px;
}

.page { display: none; padding: 0 8px 24px; }
.page.active { display: block; }

.page-content {
  max-width: 100%;
}

/* ===== Balance Card ===== */
.balance-card {
  background: linear-gradient(135deg, var(--primary) 0%, #E8713A 100%);
  border-radius: 24px;
  padding: 30px 26px 26px;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 32px rgba(232,113,58,0.3);
  margin-bottom: 22px;
}

.balance-card::before {
  content: '';
  position: absolute;
  inset: -20%;
  background: radial-gradient(120px 120px at 80% 20%, rgba(255,255,255,0.22) 0%, transparent 60%);
  pointer-events: none;
}

.balance-card::after {
  content: '🐷';
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 1.8rem;
  opacity: 0.6;
}

.balance-label {
  font-size: 0.82rem;
  opacity: 0.85;
  font-weight: 500;
  letter-spacing: 1px;
}

.balance-amount {
  font-family: 'Comic Sans MS', cursive;
  font-size: 2.6rem;
  line-height: 1;
  margin: 8px 0;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.balance-amount.pop { animation: popAmt 0.4s ease; }
@keyframes popAmt {
  0%, 100% { transform: scale(1); }
  40% { transform: scale(1.08); }
  70% { transform: scale(0.97); }
}

.balance-sub { font-size: 0.75rem; opacity: 0.7; }

/* ===== Tabs ===== */
.tabs { display: flex; gap: 8px; margin-bottom: 18px; }

.tab-btn {
  flex: 1;
  padding: 10px 0;
  border: 2px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dim);
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.tab-btn:hover { border-color: var(--primary-soft); color: var(--text); }
.tab-btn.active-deposit { background: var(--green-soft); border-color: var(--green); color: var(--green-dark); }
.tab-btn.active-withdraw { background: var(--red-soft); border-color: var(--red); color: var(--red-dark); }

/* ===== Form ===== */
.tx-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 22px;
  transition: all 0.25s;
}

.tx-form.hidden { display: none; }

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

.input-amount { flex: 1.2; position: relative; }
.input-amount label, .input-memo label {
  display: block; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 4px; font-weight: 500;
}

.input-amount input {
  width: 100%; height: 44px; padding: 0 28px 0 12px;
  border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  font-size: 1.15rem; font-weight: 700; font-family: inherit;
  color: var(--text); background: var(--bg); outline: none; transition: border-color 0.2s;
}
.input-amount input:focus { border-color: var(--primary); }
.input-amount input.input-error { border-color: var(--red); background: var(--red-soft); }
.input-amount .unit {
  position: absolute; right: 12px; bottom: 10px;
  font-size: 0.85rem; color: var(--text-light); font-weight: 500;
}

.input-memo { flex: 2; }
.input-memo textarea {
  width: 100%; height: 44px; padding: 6px 12px 0;
  border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  font-size: 0.88rem; font-family: inherit; color: var(--text);
  background: var(--bg); outline: none; resize: none; transition: border-color 0.2s;
}
.input-memo textarea:focus { border-color: var(--primary); }
.input-memo textarea.input-error { border-color: var(--red); background: var(--red-soft); }

.error-msg {
  font-size: 0.75rem; color: var(--red-dark); margin-top: 4px; animation: slideDown 0.2s;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== Quick amounts ===== */
.quick-label {
  font-size: 0.72rem; color: var(--text-dim); font-weight: 500; margin-bottom: 6px;
}
.quick-amounts {
  display: flex; gap: 6px; margin-bottom: 0; flex-wrap: wrap;
}
.quick-btn {
  padding: 6px 14px; border: 1.5px solid var(--border); border-radius: 20px;
  background: var(--bg); font-family: inherit; font-size: 0.82rem; font-weight: 600;
  color: var(--text-dim); cursor: pointer; transition: all 0.2s;
}
.quick-btn:hover { border-color: var(--primary); color: var(--primary); }
.quick-btn:active { transform: scale(0.95); }

/* ===== Submit ===== */
.submit-row { display: flex; gap: 10px; }

.btn-submit {
  flex: 1; height: 48px; border: none; border-radius: 12px;
  font-family: inherit; font-size: 1rem; font-weight: 700; color: #fff;
  cursor: pointer; transition: all 0.25s;
}
.btn-submit:active { transform: scale(0.97); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.btn-deposit {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  box-shadow: 0 4px 14px rgba(92,184,122,0.3);
}
.btn-withdraw {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  box-shadow: 0 4px 14px rgba(232,115,74,0.3);
}

/* ===== Stats Cards ===== */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 22px;
}

.stat-card {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.stat-card.highlight-in { background: var(--green-soft); border-color: rgba(92,184,122,0.3); }
.stat-card.highlight-out { background: var(--red-soft); border-color: rgba(232,115,74,0.3); }
.stat-card.full { grid-column: 1 / -1; }

.stat-label { font-size: 0.72rem; color: var(--text-dim); font-weight: 500; margin-bottom: 2px; }
.stat-value { font-family: 'Comic Sans MS', cursive; font-size: 1.15rem; font-weight: 700; }
.stat-value.in-color { color: var(--green-dark); }
.stat-value.out-color { color: var(--red-dark); }

/* ===== Chart ===== */
.chart-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.chart-title {
  font-size: 0.88rem; font-weight: 700; margin-bottom: 18px;
}

.chart-container {
  display: flex; align-items: flex-end; gap: 12px;
  height: 180px; padding-top: 10px;
}

.chart-bar-wrap {
  flex: 1; display: flex; flex-direction: column; align-items: center; height: 100%;
}

.chart-bars {
  flex: 1; width: 100%; display: flex; gap: 3px; align-items: flex-end; justify-content: center;
}

.chart-bar {
  width: 45%; border-radius: 4px 4px 0 0; min-height: 2px;
  transition: height 0.5s ease;
}
.chart-bar.deposit { background: var(--green); }
.chart-bar.withdraw { background: var(--red); }

.chart-label {
  font-size: 0.68rem; color: var(--text-dim); margin-top: 6px; font-weight: 500;
}

.chart-legend {
  display: flex; gap: 16px; justify-content: center; margin-top: 12px;
}
.chart-legend span {
  display: flex; align-items: center; gap: 4px; font-size: 0.72rem; color: var(--text-dim);
}
.chart-legend .dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.chart-legend .dot.in { background: var(--green); }
.chart-legend .dot.out { background: var(--red); }

/* ===== Transaction List ===== */
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px;
}
.section-title { font-size: 0.88rem; font-weight: 700; }

.filter-group { display: flex; gap: 4px; }
.filter-btn {
  padding: 4px 10px; border: 1px solid var(--border); border-radius: 12px;
  background: var(--bg); font-family: inherit; font-size: 0.72rem; font-weight: 500;
  color: var(--text-dim); cursor: pointer; transition: all 0.2s;
}
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

.tx-list { list-style: none; }

.tx-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--surface); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

.tx-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.tx-icon.in { background: var(--green-soft); }
.tx-icon.out { background: var(--red-soft); }

.tx-info { flex: 1; min-width: 0; }
.tx-memo { font-size: 0.88rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-time { font-size: 0.72rem; color: var(--text-light); margin-top: 1px; }

.tx-amount { font-weight: 700; font-size: 1rem; font-family: 'Comic Sans MS', cursive; white-space: nowrap; }
.tx-amount.in { color: var(--green-dark); }
.tx-amount.out { color: var(--red-dark); }

.tx-delete {
  position: absolute; top: 8px; right: 8px;
  background: none; border: none; color: var(--text-light); font-size: 0.65rem;
  cursor: pointer; opacity: 0; transition: opacity 0.15s, color 0.15s; padding: 4px; line-height: 1; border-radius: 4px;
}
.tx-item:hover .tx-delete { opacity: 1; }
.tx-delete:hover { color: var(--red); }
.tx-item { position: relative; }

.month-group-title {
  font-size: 0.78rem; color: var(--text-dim); font-weight: 600;
  margin: 16px 0 8px;
}
.month-group-title:first-child { margin-top: 8px; }

/* ===== Goals ===== */
.goal-card {
  background: var(--surface); border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 12px;
  position: relative;
}

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

.goal-name { font-size: 0.95rem; font-weight: 700; }

.goal-status {
  font-size: 0.7rem; padding: 2px 8px; border-radius: 10px; font-weight: 600;
}
.goal-status.ongoing { background: var(--blue-soft); color: var(--blue); }
.goal-status.done { background: var(--green-soft); color: var(--green-dark); }

.goal-bar-bg {
  height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; margin: 6px 0;
}
.goal-bar {
  height: 100%; border-radius: 5px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
  transition: width 0.5s ease;
}
.goal-bar.complete { background: linear-gradient(90deg, var(--primary), #E8713A); }

.goal-detail { display: flex; justify-content: space-between; font-size: 0.78rem; color: var(--text-dim); }
.goal-detail strong { color: var(--text); }

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

.btn-goal {
  padding: 8px 16px; border: none; border-radius: 8px; font-family: inherit;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
}
.btn-goal:active { transform: scale(0.97); }

.btn-goal-deposit { background: var(--green-soft); color: var(--green-dark); }
.btn-goal-delete { background: var(--red-soft); color: var(--red-dark); }

.goal-amount-input {
  width: 100%; padding: 0 12px; height: 40px; border: 1.5px solid var(--border); border-radius: var(--radius-xs);
  font-size: 0.88rem; font-family: inherit; color: var(--text); background: var(--bg); outline: none;
}
.goal-amount-input:focus { border-color: var(--primary); }

.create-goal-form {
  background: var(--surface); border-radius: var(--radius); padding: 18px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 12px;
}
.create-goal-form label { font-size: 0.72rem; color: var(--text-dim); font-weight: 500; display: block; margin-bottom: 4px; }
.create-goal-form .form-row { display: flex; gap: 10px; margin-bottom: 12px; }
.create-goal-form .form-row input { flex: 1; }

.btn-create-goal {
  width: 100%; height: 44px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #E8713A);
  color: #fff; font-family: inherit; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; transition: all 0.2s;
}
.btn-create-goal:active { transform: scale(0.98); }

/* ===== Settings ===== */
.settings-group {
  background: var(--surface); border-radius: var(--radius); padding: 0 18px;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 14px;
}
.settings-group-title {
  font-size: 0.75rem; color: var(--text-dim); font-weight: 600; padding: 14px 0 4px;
}

.settings-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border);
}
.settings-item:last-child { border-bottom: none; }

.settings-item-left { display: flex; align-items: center; gap: 10px; }
.settings-item-icon { font-size: 1.2rem; }
.settings-item-label { font-size: 0.88rem; font-weight: 500; }
.settings-item-desc { font-size: 0.72rem; color: var(--text-light); margin-top: 1px; }

.settings-item-right {
  display: flex; align-items: center; gap: 4px; color: var(--text-light); font-size: 0.8rem;
}

.settings-input {
  padding: 6px 10px; border: 1.5px solid var(--border); border-radius: 6px;
  font-family: inherit; font-size: 0.85rem; color: var(--text); background: var(--bg); outline: none;
  text-align: right; width: 120px; transition: border-color 0.2s;
}
.settings-input:focus { border-color: var(--primary); }

.about-card {
  background: var(--surface); border-radius: var(--radius); padding: 30px 20px;
  border: 1px solid var(--border); text-align: center; box-shadow: var(--shadow-sm);
}
.about-icon { font-size: 2.5rem; margin-bottom: 8px; }
.about-name { font-family: 'Comic Sans MS', cursive; font-size: 1.3rem; }
.about-ver { font-size: 0.78rem; color: var(--text-light); margin-top: 4px; }

/* ===== Empty State ===== */
.empty-state { text-align: center; padding: 48px 20px; color: var(--text-light); font-size: 0.88rem; }
.empty-state .empty-icon { font-size: 2.4rem; margin-bottom: 8px; opacity: 0.5; }

/* ===== Bottom Nav ===== */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: var(--surface);
  border-top: 1px solid var(--border);
  display: flex;
  z-index: 50;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.04);
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  background: none;
  border: none;
  font-family: inherit;
  color: var(--text-light);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
  padding: 0;
}

.nav-item.active { color: var(--primary); }

.nav-item .nav-icon { font-size: 1.2rem; line-height: 1; }
.nav-item .nav-label { font-size: 0.65rem; font-weight: 600; margin-top: 2px; }

.nav-item.active::before {
  content: '';
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 2px;
  background: var(--primary);
  border-radius: 0 0 2px 2px;
}

/* ===== Toast ===== */
.toast {
  position: fixed; top: 24px; left: 50%; transform: translate(-50%, -120%);
  z-index: 200;
  padding: 12px 24px; border-radius: 12px; font-size: 0.88rem; font-weight: 600;
  box-shadow: var(--shadow-lg); white-space: nowrap;
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.toast.show { transform: translate(-50%, 0); }
.toast.success { background: var(--green); color: #fff; }
.toast.error { background: var(--red); color: #fff; }

/* ===== Modal ===== */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(61,44,30,0.35); z-index: 150;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }

.modal-box {
  background: var(--surface); border-radius: 20px; padding: 28px 24px 20px;
  max-width: 320px; width: 100%; text-align: center; box-shadow: var(--shadow-lg);
  transform: scale(0.9); transition: transform 0.25s;
}
.modal-overlay.show .modal-box { transform: scale(1); }

.modal-box h3 { font-family: 'Comic Sans MS', cursive; font-size: 1.1rem; margin-bottom: 8px; }
.modal-box p { font-size: 0.85rem; color: var(--text-dim); margin-bottom: 20px; line-height: 1.6; }

.modal-actions { display: flex; gap: 10px; }
.modal-actions button {
  flex: 1; height: 42px; border: none; border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: opacity 0.2s;
}
.modal-actions button:active { opacity: 0.8; }
.btn-modal-cancel { background: var(--bg); color: var(--text-dim); }
.btn-modal-confirm { background: var(--red); color: #fff; }
.btn-modal-deposit { background: var(--green); color: #fff; }

/* ===== Confetti (for goal completion) ===== */
.confetti-container {
  position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden;
}
.confetti-piece {
  position: absolute; width: 10px; height: 10px;
  animation: confettiFall 1.5s ease-out forwards;
}
@keyframes confettiFall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

/* ===== Loading ===== */
.global-loading {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(255,248,240,0.85); backdrop-filter: blur(4px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.2s;
}
.global-loading.show { opacity: 1; pointer-events: auto; }
.loading-spinner {
  width: 40px; height: 40px; border: 4px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.loading-text {
  margin-top: 16px; font-size: 0.9rem; color: var(--text-dim);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ===== Animations ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
.page-content > * {
  animation: fadeUp 0.3s ease both;
}
.page-content > *:nth-child(2) { animation-delay: 0.04s; }
.page-content > *:nth-child(3) { animation-delay: 0.08s; }
.page-content > *:nth-child(4) { animation-delay: 0.12s; }
.page-content > *:nth-child(5) { animation-delay: 0.16s; }
.page-content > *:nth-child(6) { animation-delay: 0.2s; }

/* ===== Responsive ===== */

/* Touch optimization */
* { -webkit-tap-highlight-color: transparent; }

button, .btn-submit, .quick-btn, .nav-item, .settings-item {
  touch-action: manipulation;
}

input, textarea {
  touch-action: manipulation;
  font-size: 16px;
}

/* Mobile first optimizations */
@media (max-width: 374px) {
  html { font-size: 14px; }
  .bottom-nav { height: 58px; }
  .nav-label { font-size: 0.68rem; }
  .nav-icon { font-size: 1.2rem; }
}

@media (min-width: 375px) and (max-width: 413px) {
  .bottom-nav { height: 60px; }
}

@media (orientation: landscape) and (max-height: 500px) {
  body { padding-bottom: 56px; }
  .bottom-nav { height: 50px; }
  .nav-label { display: none; }
  .nav-icon { font-size: 1.4rem; }
}

/* Tablet & Desktop */
@media (min-width: 520px) {
  html { font-size: 16px; }
  body {
    padding-bottom: calc(var(--navbar-h) + 20px);
  }
  .page-container {
    max-width: 480px;
    margin: 0 auto;
  }
  .bottom-nav { max-width: 480px; left: 50%; transform: translateX(-50%); }
}

/* ===== Smart Input Box ===== */
.smart-input-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}

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

.smart-input-header span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
}

.voice-btn {
  padding: 6px 12px;
  border: 1.5px solid var(--border);
  border-radius: 16px;
  background: var(--bg);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.2s;
}

.voice-btn:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
}

.voice-btn.recording {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.smart-input-row {
  display: flex;
  gap: 8px;
}

.smart-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  outline: none;
}

.smart-input:focus {
  border-color: var(--primary);
}

.smart-submit {
  padding: 10px 18px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary) 0%, #E8713A 100%);
  color: #fff;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.smart-submit:active {
  transform: scale(0.95);
}
