@font-face {
  font-family: "Poppins";
  src: url("../assets/fonts/Poppins-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ap-ink: #211626;
  --ap-muted: #69616E;
  --ap-orange: #FF7000;
  --ap-violet: #8A19FF;
  --ap-plum: #2D0B38;
  --ap-canvas: #F4F5F3;
  --ap-white: #FFFFFF;
  --ap-line: #E3DFE5;
  --ap-line-soft: #EFECF0;
  --ap-soft-orange: #FFF3EC;
  --ap-soft-violet: #F7F0FF;
  --ap-success: #23845D;
  --ap-shadow: 0 18px 48px rgba(45, 11, 56, .08);
  --ap-shadow-soft: 0 4px 20px rgb(33 22 38 / .025);
  --ap-radius-card: 24px;
  --ap-radius-field: 12px;
  color-scheme: light;
  font-family: "Poppins", Arial, sans-serif;
  color: var(--ap-ink);
  background: var(--ap-canvas);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--ap-canvas); color: var(--ap-ink); font-family: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }
img { display: block; max-width: 100%; }

:focus-visible { outline: 2px solid rgba(138, 25, 255, .42); outline-offset: 2px; }

.ap-icon { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ap-button {
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ap-orange);
  color: var(--ap-white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -.01em;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}
.ap-button:hover { background: var(--ap-orange); }
.ap-button:active { transform: translateY(1px); }
.ap-button--quiet { background: var(--ap-white); color: var(--ap-ink); border-color: #DCD7DE; }
.ap-button--quiet:hover { background: #FAF9F8; border-color: #C9C2CC; }
.ap-button--ghost { background: transparent; color: var(--ap-muted); border-color: transparent; }
.ap-button--ghost:hover { background: #EFECF0; color: var(--ap-ink); }
.ap-button--violet { background: var(--ap-violet); color:var(--ap-white); }
.ap-button--icon { width: 44px; padding: 0; }
.ap-button:disabled { opacity: .5; transform:none; }
.ap-button[aria-pressed="true"], .ap-button.is-active { background: var(--ap-plum); color: #fff; border-color: var(--ap-plum); }

.ap-field {
  min-height: 48px;
  width: 100%;
  border: 1px solid var(--ap-line);
  border-radius: var(--ap-radius-field);
  background: var(--ap-white);
  padding: 0 13px;
  font-size: 14px;
  font-weight: 400;
  outline: none;
}
.ap-field:hover { border-color: #C5BEC8; }
.ap-field:focus { border-color: var(--ap-violet); box-shadow: 0 0 0 3px rgba(138, 25, 255, .09); }
.ap-field-wrap { position: relative; display: grid; gap: 6px; }
.ap-field-wrap label { color: var(--ap-muted); font-size: 12px; font-weight: 400; }
.ap-field-wrap .ap-icon { position: absolute; left: 13px; bottom: 11px; color: var(--ap-muted); width: 17px; height: 17px; pointer-events: none; }
.ap-field-wrap .ap-icon + .ap-field { padding-left: 39px; }

.ap-surface { background: var(--ap-white); border: 1px solid var(--ap-line-soft); border-radius: 20px; box-shadow: none; }
.ap-tabs { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid #DED9E0; border-radius: 999px; background: var(--ap-white); }
.ap-tab { min-height: 36px; border: 0; border-radius: 999px; padding: 0 14px; background: transparent; color: var(--ap-muted); font-size: 12px; font-weight: 400; transition: background-color 160ms ease, color 160ms ease; }
.ap-tab:hover { color: var(--ap-ink); }
.ap-tab[aria-selected="true"] { background: var(--ap-plum); color: var(--ap-white); }

.ap-property-card { background: var(--ap-white); border: 1px solid #E9E7EA; border-radius: var(--ap-radius-card); overflow: hidden; text-align: left; box-shadow: var(--ap-shadow-soft); transition:border-color 180ms ease; }
.ap-property-card:hover { border-color:#D6CEDB; }
.ap-property-card[data-selected="true"] { border-color: #BDA9C9; }
.ap-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px; color: #5D106E; background: #F5EBFB; font-size: 10px; font-weight: 600; }
.ap-kicker { margin: 0; color: var(--ap-violet); font-size: 11px; font-weight: 600; letter-spacing: 0; }
.ap-muted { color: var(--ap-muted); }
.ap-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
