/* Azulito — Extras: forgot, onboarding, detail, cmdk, notif, install, tweaks */

/* ---------- Forgot confirm ---------- */
.auth__confirm {
  text-align: center;
  padding: 12px 0 8px;
}
.auth__confirm h3 {
  font-size: 24px;
  margin: 16px 0 8px;
  color: var(--olimar);
}
.auth__confirm p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0 auto 20px;
  max-width: 380px;
}

/* ---------- Onboarding ---------- */
.onb {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, #EAF7FD 0%, var(--bg) 65%);
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  overflow: hidden;
}
[data-theme="dark"] .onb {
  background: linear-gradient(180deg, #082a3a 0%, var(--bg) 70%);
}
.onb__bg { position: absolute; inset: 0; pointer-events: none; }
.onb__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.4;
}
.onb__blob--a {
  width: 400px; height: 400px;
  background: var(--azulito);
  top: -120px; left: -80px;
}
.onb__blob--b {
  width: 500px; height: 500px;
  background: var(--coral);
  bottom: -180px; right: -120px;
  opacity: 0.25;
}
.onb__skip {
  position: absolute;
  top: 24px; right: 32px;
  background: transparent;
  border: none;
  font: 500 14px Inter, sans-serif;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 8px;
}
.onb__skip:hover { background: rgba(0,0,0,0.05); color: var(--fg); }
.onb__stage {
  position: relative;
  text-align: center;
  max-width: 560px;
  z-index: 1;
}
.onb__mascot {
  display: flex;
  justify-content: center;
  margin-bottom: 8px;
  animation: onbFloat 3s ease-in-out infinite;
}
@keyframes onbFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.onb__emoji {
  font-size: 42px;
  margin: 8px 0 12px;
}
.onb__title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 16px;
  color: var(--olimar);
  text-wrap: balance;
}
[data-theme="dark"] .onb__title { color: var(--fg); }
.onb__sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  text-wrap: pretty;
}
.onb__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
}
.onb__dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--line);
  transition: all 200ms;
}
.onb__dots span.is-on {
  width: 28px;
  background: var(--azulito);
}
.onb__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ---------- Detail pages ---------- */
.detail {
  padding: 32px 40px 80px;
  max-width: 1200px;
  margin: 0 auto;
}
.detail__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  font: 500 14px Inter, sans-serif;
  color: var(--muted);
  cursor: pointer;
  padding: 8px 4px;
  margin-bottom: 20px;
}
.detail__back:hover { color: var(--azulito); }

.detail__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .detail__grid { grid-template-columns: 1fr; }
  .detail { padding: 24px 20px 100px; }
}
.detail__cover {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--azulito), var(--olimar));
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.detail__cover .badge { align-self: flex-start; position: relative; z-index: 2; }
.detail__cover-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 8px;
  padding: 20px;
}
.detail__cover-grid span {
  background: rgba(255,255,255,0.6);
  border-radius: 8px;
}
.detail__body { padding-top: 8px; }
.detail__title {
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.1;
  margin: 8px 0 12px;
  color: var(--olimar);
}
[data-theme="dark"] .detail__title { color: var(--fg); }
.detail__lede {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 24px;
}
.detail__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  margin-bottom: 28px;
}
.detail__stats > div {
  text-align: center;
}
.detail__stats b {
  display: block;
  font: 600 22px Fraunces, serif;
  color: var(--olimar);
}
[data-theme="dark"] .detail__stats b { color: var(--fg); }
.detail__stats span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.detail__section-title {
  font-size: 20px;
  margin: 24px 0 12px;
  color: var(--olimar);
}
[data-theme="dark"] .detail__section-title { color: var(--fg); }
.detail__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.detail__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--fg);
}
.detail__list li .icon { color: var(--leaf); flex-shrink: 0; }
.detail__pros {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}
@media (max-width: 600px) {
  .detail__pros { grid-template-columns: 1fr; }
}
.pro-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.pro-mini__name { font: 600 14px Inter, sans-serif; color: var(--fg); }
.pro-mini__role { font-size: 12px; color: var(--muted); }
.detail__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}
.detail__related {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.detail__related h3 {
  font-size: 24px;
  margin: 0 0 16px;
  color: var(--olimar);
}
[data-theme="dark"] .detail__related h3 { color: var(--fg); }

/* Professional detail */
.pro-detail {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.pro-detail .avatar { margin: 0 auto 16px; }
.pro-detail__name {
  font-size: clamp(28px, 3.5vw, 38px);
  margin: 8px 0 4px;
  color: var(--olimar);
}
[data-theme="dark"] .pro-detail__name { color: var(--fg); }
.pro-detail__role {
  font-size: 16px;
  color: var(--muted);
  margin-bottom: 6px;
}
.pro-detail__city {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--muted);
}
.pro-detail__bio {
  text-align: left;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.pro-detail__bio h3 {
  font-size: 20px;
  margin: 24px 0 10px;
  color: var(--olimar);
}
[data-theme="dark"] .pro-detail__bio h3 { color: var(--fg); }
.pro-detail__bio p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg);
  margin: 0 0 16px;
}
.pro-detail__hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pro-detail__hours > div {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--surface);
  border-radius: 10px;
  font-size: 14px;
}
.pro-detail__hours b { color: var(--olimar); }
[data-theme="dark"] .pro-detail__hours b { color: var(--azulito); }
.pro-detail .detail__cta { justify-content: center; }

/* ---------- Command palette ---------- */
.cmdk {
  position: fixed;
  inset: 0;
  background: rgba(11, 79, 108, 0.5);
  backdrop-filter: blur(6px);
  z-index: 200;
  display: grid;
  place-items: start center;
  padding-top: 12vh;
  animation: cmdkIn 150ms ease-out;
}
@keyframes cmdkIn { from { opacity: 0; } to { opacity: 1; } }
.cmdk__panel {
  width: min(640px, 92vw);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
  overflow: hidden;
  animation: cmdkPanelIn 200ms cubic-bezier(.3,1.2,.4,1);
}
@keyframes cmdkPanelIn {
  from { transform: translateY(-10px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cmdk__search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.cmdk__search .icon { color: var(--muted); }
.cmdk__search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font: 500 16px Inter, sans-serif;
  color: var(--fg);
}
.cmdk__search input::placeholder { color: var(--muted); }
.cmdk__search kbd {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 11px;
  color: var(--muted);
}
.cmdk__results {
  max-height: 50vh;
  overflow-y: auto;
  padding: 8px;
}
.cmdk__empty {
  padding: 32px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.cmdk__item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 10px 12px;
  border: none;
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
  text-align: left;
  font-family: Inter, sans-serif;
}
.cmdk__item:hover, .cmdk__item:focus-visible {
  background: rgba(41, 184, 232, 0.08);
  outline: none;
}
.cmdk__item .icon { color: var(--muted); flex-shrink: 0; }
.cmdk__item > div { flex: 1; min-width: 0; }
.cmdk__item-label { font: 500 14px Inter, sans-serif; color: var(--fg); }
.cmdk__item-sub { font-size: 12px; color: var(--muted); margin-top: 1px; }
.cmdk__item-type {
  font-size: 11px;
  color: var(--muted);
  padding: 2px 8px;
  background: var(--bg);
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.cmdk__foot {
  display: flex;
  gap: 16px;
  padding: 10px 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  color: var(--muted);
  background: var(--bg);
}
.cmdk__foot kbd {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 5px;
  margin: 0 2px;
  font-size: 10px;
}

/* ---------- Notification center ---------- */
.notif__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 190;
}
.notif {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(400px, 92vw);
  background: var(--surface);
  border-left: 1px solid var(--line);
  z-index: 195;
  display: flex;
  flex-direction: column;
  animation: notifIn 240ms cubic-bezier(.3,1,.4,1);
  box-shadow: -10px 0 40px rgba(0,0,0,0.1);
}
@keyframes notifIn {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}
.notif__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}
.notif__head h3 { font-size: 22px; margin: 0; color: var(--olimar); }
[data-theme="dark"] .notif__head h3 { color: var(--fg); }
.notif__head button {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 6px;
  border-radius: 6px;
}
.notif__head button:hover { background: var(--bg); color: var(--fg); }
.notif__list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.notif-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  background: var(--bg);
  cursor: pointer;
  transition: background 150ms;
}
.notif-item:hover { background: rgba(41, 184, 232, 0.08); }
.notif-item__icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: white;
  flex-shrink: 0;
}
.notif-item--azul .notif-item__icon { background: var(--azulito); }
.notif-item--coral .notif-item__icon { background: var(--coral); }
.notif-item--sunny .notif-item__icon { background: var(--sunny); color: var(--olimar); }
.notif-item__body { display: flex; flex-direction: column; gap: 2px; font-family: Inter, sans-serif; }
.notif-item__body b { font-size: 14px; color: var(--fg); }
.notif-item__body span { font-size: 13px; color: var(--muted); }
.notif-item__body small { font-size: 11px; color: var(--muted); opacity: 0.7; margin-top: 4px; }
.notif__foot {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
  text-align: center;
}
.notif__foot button {
  background: transparent;
  border: none;
  font: 500 13px Inter, sans-serif;
  color: var(--azulito);
  cursor: pointer;
}

/* ---------- Install prompt ---------- */
.install {
  position: fixed;
  left: 20px; bottom: 20px;
  z-index: 50;
  width: min(420px, calc(100vw - 40px));
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 44px 14px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  animation: installIn 320ms cubic-bezier(.3,1.2,.4,1);
}
@keyframes installIn {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.install__body { flex: 1; display: flex; flex-direction: column; gap: 2px; font-family: Inter, sans-serif; }
.install__body b { font-size: 14px; color: var(--fg); }
.install__body span { font-size: 12px; color: var(--muted); }
.install__close {
  position: absolute;
  top: 10px; right: 10px;
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
}
.install__close:hover { background: var(--bg); color: var(--fg); }

/* ---------- Tweaks panel ---------- */
.tweaks {
  position: fixed;
  bottom: 20px; right: 20px;
  width: 280px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  z-index: 100;
  overflow: hidden;
  font-family: Inter, sans-serif;
}
.tweaks__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.tweaks__head b { font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
.tweaks__head button {
  background: transparent;
  border: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.tweaks__body { padding: 12px 16px; display: flex; flex-direction: column; gap: 12px; }
.tweaks__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--fg);
  gap: 12px;
}
.tweaks__row select {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 6px 10px;
  font: 500 13px Inter, sans-serif;
  color: var(--fg);
}
.tweaks__colors { display: flex; gap: 6px; }
.tweaks__colors button {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
}
.tweaks__colors button.is-on {
  border-color: var(--fg);
  transform: scale(1.1);
}

/* ---------- Floating search + bell (private layouts) ---------- */
.fab-cmd, .fab-bell {
  position: fixed;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 500 13px Inter, sans-serif;
  color: var(--fg);
}
.fab-cmd {
  top: 20px; right: 80px;
  padding: 8px 14px;
}
.fab-cmd kbd {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 10px;
  color: var(--muted);
}
.fab-bell {
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  padding: 0;
  justify-content: center;
}
.fab-bell__dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--coral);
  border: 2px solid var(--surface);
}
.fab-cmd:hover, .fab-bell:hover {
  background: var(--bg);
  transform: translateY(-1px);
}
@media (max-width: 900px) {
  .fab-cmd { display: none; }
  .fab-bell { top: 16px; right: 16px; }
}
