/* ============ Cabana 2 Urși – stiluri comune ============ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0b0d12;
  --bg-soft: #11141b;
  --surface: #161a23;
  --surface-2: #1d2230;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #f3efe8;
  --muted: #a3a8b4;
  --accent: #e8913a;
  --accent-strong: #f5a54f;
  --accent-soft: rgba(232, 145, 58, 0.14);
  --green: #3fbf7f;
  --green-soft: rgba(63, 191, 127, 0.14);
  --red: #ef5b5b;
  --red-soft: rgba(239, 91, 91, 0.14);
  --amber: #f2c14e;
  --amber-soft: rgba(242, 193, 78, 0.14);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  --font-display: Georgia, "Times New Roman", serif;
  color-scheme: dark;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 6px;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

/* ============ Butoane ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #1a1006;
  box-shadow: 0 10px 30px rgba(232, 145, 58, 0.35);
}
.btn-primary:hover { background: var(--accent-strong); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-strong);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }

.btn-success { background: var(--green); color: #04150c; }
.btn-success:hover { filter: brightness(1.1); }

.btn-danger {
  background: transparent;
  border-color: rgba(239, 91, 91, 0.5);
  color: #ff8a8a;
}
.btn-danger:hover { background: var(--red-soft); }

.btn-sm { min-height: 40px; padding: 0.45rem 1rem; font-size: 0.9rem; }
.btn-block { width: 100%; }

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.spinner {
  width: 1.05em;
  height: 1.05em;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============ Navigație ============ */
.site-nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}

.site-nav.is-solid,
.site-nav.solid-always {
  background: rgba(11, 13, 18, 0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent);
  color: #1a1006;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a:not(.btn) {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

@media (max-width: 720px) {
  .nav-links li:not(.nav-cta) { display: none; }
  .brand-text { display: none; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 13, 18, 0.55) 0%, rgba(11, 13, 18, 0.15) 35%, rgba(11, 13, 18, 0.75) 75%, var(--bg) 100%),
    linear-gradient(90deg, rgba(11, 13, 18, 0.6) 0%, transparent 60%);
}

.hero-content {
  padding-block: 9rem 5rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e9e2d6;
  backdrop-filter: blur(8px);
}

.hero h1 {
  margin-block: 1.2rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 8vw, 5.6rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  max-width: 12ch;
}

.hero h1 span { color: var(--accent-strong); }

.hero-lead {
  max-width: 36rem;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: #d7d3cc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 3rem;
  list-style: none;
}

.hero-stats li {
  padding: 0.6rem 1rem;
  border-radius: 14px;
  background: rgba(11, 13, 18, 0.55);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  font-size: 0.9rem;
  color: #d7d3cc;
}

.hero-stats strong { color: var(--text); }

/* ============ Secțiuni ============ */
.section { padding-block: 6rem; }
.section-alt { background: var(--bg-soft); }

.section-head { max-width: 40rem; margin-bottom: 3rem; }

.kicker {
  display: block;
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.section-lead { color: var(--muted); font-size: 1.05rem; }

.features {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.25s, transform 0.25s;
}
.feature:hover { border-color: rgba(232, 145, 58, 0.4); transform: translateY(-3px); }

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: var(--accent-soft);
  font-size: 1.4rem;
}

.feature h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ============ Galerie ============ */
.gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

.photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.photo:hover img { transform: scale(1.06); }

.photo figcaption {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  background: rgba(11, 13, 18, 0.7);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(8px);
}

@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

/* ============ CTA ============ */
.cta {
  position: relative;
  overflow: hidden;
  padding: clamp(2.5rem, 6vw, 4rem);
  border-radius: 28px;
  background:
    radial-gradient(circle at 100% 0%, rgba(232, 145, 58, 0.35), transparent 55%),
    linear-gradient(135deg, #1d2230, #141821);
  border: 1px solid var(--border-strong);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.cta p { color: var(--muted); max-width: 32rem; }

/* ============ Footer ============ */
.site-footer {
  padding-block: 2.5rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner .highlight { color: var(--accent); font-weight: 600; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--text); }

/* ============ Pagini aplicație (rezervare / admin) ============ */
.app-page {
  padding-block: 7.5rem 4rem;
  min-height: calc(100vh - 90px);
  background:
    radial-gradient(circle at 0% 0%, rgba(232, 145, 58, 0.08), transparent 40%),
    var(--bg);
}

.page-head { margin-bottom: 2.25rem; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}
.page-head p { color: var(--muted); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 960px) {
  .booking-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .summary { position: sticky; top: 96px; }
}

.booking-layout.is-success {
  grid-template-columns: minmax(0, 620px);
  justify-content: center;
}

/* ============ Formulare ============ */
fieldset { border: 0; min-width: 0; }

.form-section + .form-section {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.form-section legend {
  float: left;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.2rem;
  padding: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.form-section legend + * { clear: both; }

.step-num {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
}

.field-row {
  display: grid;
  gap: 1rem;
}
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label,
.field .label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #dcd7cf;
}

.req { color: var(--accent); }

.hint { font-size: 0.82rem; color: var(--muted); }

.input {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.input::placeholder { color: #6b7180; }

.input:hover { border-color: rgba(255, 255, 255, 0.28); }

.input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(232, 145, 58, 0.18);
}

.input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(0.8);
  cursor: pointer;
}

.input:user-invalid,
.input[aria-invalid="true"] {
  border-color: var(--red);
  background-color: rgba(239, 91, 91, 0.06);
}

.error-msg {
  display: none;
  font-size: 0.85rem;
  color: #ff8a8a;
}

.field:has(.input:user-invalid) .error-msg,
.field.has-error .error-msg { display: block; }

/* Selector camere (radio) */
.room-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.6rem;
}

.room-option { position: relative; }

.room-option input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.room-option span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--bg-soft);
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
  pointer-events: none;
}

.room-option strong { font-size: 1.35rem; line-height: 1.1; }
.room-option small { font-size: 0.75rem; color: var(--muted); }

.room-option input:hover + span { border-color: rgba(255, 255, 255, 0.3); }

.room-option input:checked + span {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.room-option input:focus-visible + span {
  outline: 3px solid var(--accent-strong);
  outline-offset: 2px;
}

.room-option input:disabled { cursor: not-allowed; }
.room-option input:disabled + span {
  opacity: 0.35;
  text-decoration: line-through;
}

/* Mesaje de stare */
.status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface-2);
  font-size: 0.95rem;
}

.status[hidden] { display: none; }

.status-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.1);
}

.status.is-ok { border-color: rgba(63, 191, 127, 0.4); background: var(--green-soft); }
.status.is-ok .status-icon { background: var(--green); color: #04150c; }

.status.is-warn { border-color: rgba(242, 193, 78, 0.4); background: var(--amber-soft); }
.status.is-warn .status-icon { background: var(--amber); color: #1d1503; }

.status.is-error { border-color: rgba(239, 91, 91, 0.45); background: var(--red-soft); }
.status.is-error .status-icon { background: var(--red); color: #1f0505; }

.status strong { display: block; }
.status p { color: var(--muted); font-size: 0.88rem; }

.form-footer { margin-top: 2rem; display: grid; gap: 1rem; }

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Sumar rezervare */
.summary { padding: 0; overflow: hidden; }

.summary-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.summary-body { padding: 1.5rem; }

.summary-body h2 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  margin-bottom: 0.25rem;
}

.summary-body > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.25rem; }

.summary-list { list-style: none; display: grid; gap: 0.1rem; }

.summary-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.75rem;
  border-bottom: 1px dashed var(--border-strong);
  font-size: 0.95rem;
}

.summary-list li:last-child { border-bottom: 0; }
.summary-list span { color: var(--muted); }
.summary-list strong { text-align: right; }

.summary-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 0.85rem;
}

/* Succes */
.success {
  text-align: center;
  padding-block: 1rem;
}

.success-icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--green-soft);
  border: 2px solid var(--green);
  color: var(--green);
  font-size: 2rem;
  font-weight: 800;
}

.success h2 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.success p { color: var(--muted); max-width: 30rem; margin-inline: auto; }

.code-badge {
  display: inline-block;
  margin-block: 1.25rem;
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px dashed var(--accent);
  font-family: Consolas, "Courier New", monospace;
  font-size: 1.3rem;
  letter-spacing: 0.15em;
  color: var(--accent-strong);
}

.success-details {
  max-width: 26rem;
  margin: 0 auto 1.75rem;
  text-align: left;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* ============ Admin ============ */
.login-wrap {
  display: grid;
  place-items: center;
  min-height: 60vh;
}

.login-card { width: min(420px, 100%); }

.login-card .lock {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 16px;
  background: var(--accent-soft);
  font-size: 1.5rem;
}

.login-card h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.login-card > p { color: var(--muted); margin-bottom: 1.5rem; }

.password-wrap { position: relative; }
.password-wrap .input { padding-right: 3.5rem; }

.toggle-pass {
  position: absolute;
  top: 50%;
  right: 0.4rem;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--muted);
  font-size: 1.1rem;
  cursor: pointer;
}
.toggle-pass:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }

.admin-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.admin-top h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  line-height: 1.15;
}

.admin-top p { color: var(--muted); }

.admin-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.stats {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 2rem;
}

.stat {
  padding: 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

.stat span { display: block; color: var(--muted); font-size: 0.85rem; }
.stat strong { font-size: 2rem; line-height: 1.2; }
.stat.pending strong { color: var(--amber); }
.stat.confirmed strong { color: var(--green); }
.stat.cancelled strong { color: #ff8a8a; }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tabs {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.tab {
  min-height: 40px;
  padding: 0.4rem 1rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--text); }
.tab[aria-pressed="true"] { background: var(--accent); color: #1a1006; }

.tab .count {
  display: inline-block;
  min-width: 1.5em;
  margin-left: 0.3rem;
  padding: 0 0.4em;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.78rem;
}

.search { max-width: 280px; min-height: 44px; }

.switch {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
}
.switch input { accent-color: var(--accent); width: 18px; height: 18px; }

.res-list { display: grid; gap: 1rem; }

.res-card {
  display: grid;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--amber);
}

.res-card.is-confirmata { border-left-color: var(--green); }
.res-card.is-anulata { border-left-color: var(--red); opacity: 0.72; }

@media (min-width: 900px) {
  .res-card {
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr) auto;
    align-items: center;
  }
}

.res-who strong { display: block; font-size: 1.1rem; }

.res-who a {
  color: var(--accent-strong);
  text-decoration: none;
  font-weight: 600;
}
.res-who a:hover { text-decoration: underline; }

.res-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }

.res-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
  gap: 0.75rem;
}

.res-info div span {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.res-info div strong { font-size: 0.98rem; }

.res-side {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem;
}

@media (min-width: 900px) {
  .res-side { justify-content: flex-end; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge.in_asteptare { background: var(--amber-soft); color: var(--amber); }
.badge.confirmata { background: var(--green-soft); color: var(--green); }
.badge.anulata { background: var(--red-soft); color: #ff8a8a; }

.empty {
  padding: 3rem 1.5rem;
  text-align: center;
  border-radius: var(--radius);
  border: 1px dashed var(--border-strong);
  color: var(--muted);
}

.empty-icon { font-size: 2.2rem; margin-bottom: 0.5rem; }

/* Toast */
.toast-host {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 100;
  display: grid;
  gap: 0.6rem;
}

.toast {
  padding: 0.85rem 1.2rem;
  border-radius: 14px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow);
  font-size: 0.92rem;
  animation: toast-in 0.25s ease;
}
.toast.ok { border-color: rgba(63, 191, 127, 0.5); }
.toast.error { border-color: rgba(239, 91, 91, 0.6); }

@keyframes toast-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Dialog confirmare */
.confirm-dialog {
  margin: auto;
  width: min(420px, calc(100% - 2rem));
  padding: 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow);
}
.confirm-dialog::backdrop { background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(3px); }
.confirm-dialog h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.confirm-dialog p { color: var(--muted); margin-bottom: 1.5rem; }
.confirm-dialog .dialog-actions { display: flex; justify-content: flex-end; gap: 0.6rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
