/* Accor "Aria" — Customer App · component classes */
* { box-sizing: border-box; }
html, body, #root { height: 100%; margin: 0; }
body { background: var(--surface-1); font-family: var(--font-sans); color: var(--ink); }
a { text-decoration: none; }

.aria-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
@media (max-width: 1080px) { .aria-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 760px) { .nav-links { display: none !important; } }

/* ---- Buttons ---- */
.aria-btn-primary {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  background: var(--accor-dark); color: #fff; box-shadow: var(--shadow-soft);
  transition: background .28s var(--ease-out), box-shadow .28s var(--ease-out), transform .12s; white-space: nowrap;
}
.aria-btn-primary:hover { background: var(--accor-mid); box-shadow: var(--shadow-glow); }
.aria-btn-primary:active { transform: scale(0.98); }

.aria-btn-ghost {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--ink-line);
  cursor: pointer; font-family: inherit; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px;
  background: #fff; color: var(--ink-soft); transition: all .2s; white-space: nowrap;
}
.aria-btn-ghost:hover { border-color: var(--gold); color: var(--gold-600); }

/* gold upgrade button — Sofitel: white text on olive-gold */
.aria-btn-gold {
  display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer;
  font-family: inherit; font-weight: 600; font-size: 15px; padding: 12px 22px; border-radius: 999px;
  background: var(--gold); color: #fff; box-shadow: 0 10px 26px rgba(169,133,36,.32);
  transition: filter .2s, box-shadow .25s, transform .12s; white-space: nowrap;
}
.aria-btn-gold:hover { filter: brightness(1.08); box-shadow: 0 16px 38px rgba(169,133,36,.42); }
.aria-btn-gold:active { transform: scale(0.98); }

/* ---- Chips ---- */
.aria-chip {
  display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; cursor: pointer;
  font-family: inherit; font-weight: 500; font-size: 14.5px; padding: 10px 16px; border: 1px solid var(--ink-line);
  background: rgba(255,255,255,0.85); color: var(--ink-soft); transition: all .2s;
}
.aria-chip:hover { border-color: var(--accor-dark); color: var(--accor-dark); background: #fff; box-shadow: var(--shadow-soft); }
.aria-chip-static {
  display: inline-flex; align-items: center; gap: 5px; border-radius: 999px;
  font-size: 12px; font-weight: 600; padding: 5px 11px; background: var(--surface-2); color: var(--ink-soft);
  border: 1px solid var(--ink-line); white-space: nowrap;
}

/* ---- Pills ---- */
.aria-pill { display: inline-flex; align-items: center; gap: 5px; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; white-space: nowrap; }
.aria-pill-gold   { background: var(--gold-mist); color: var(--gold-800); }
.aria-pill-green  { background: var(--emerald-bg); color: var(--emerald-fg); }
.aria-pill-dark   { background: rgba(20,16,12,.08); color: var(--accor-dark); }

/* ---- Glass / Card ---- */
.aria-glass {
  background: rgba(252,249,243,0.80); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.62); box-shadow: var(--shadow-glass);
}
.aria-card { background: #fff; border: 1px solid var(--ink-line); border-radius: 18px; box-shadow: var(--shadow-card); }
.aria-note {
  display: flex; align-items: flex-start; gap: 9px; padding: 12px 15px; border-radius: 14px;
  background: linear-gradient(90deg, rgba(20,16,12,.03), rgba(169,133,36,.06));
  border: 1px solid rgba(169,133,36,.20); font-size: 13.5px; line-height: 1.5; color: var(--ink-soft);
}
.aria-icon-btn {
  width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--ink-line); background: rgba(255,255,255,.75); color: var(--ink-muted);
  cursor: pointer; transition: all .2s;
}
.aria-icon-btn:hover { color: var(--accor-dark); border-color: var(--accor-dark); }

/* ---- Scroll ---- */
.aria-chat-scroll::-webkit-scrollbar { width: 8px; }
.aria-chat-scroll::-webkit-scrollbar-thumb { background: rgba(20,16,12,.12); border-radius: 999px; }
.aria-chat-scroll::-webkit-scrollbar-thumb:hover { background: rgba(20,16,12,.22); }

/* ---- Animations ---- */
@keyframes aria-spin  { to { transform: rotate(360deg); } }
.aria-spin { animation: aria-spin 1s linear infinite; }
@keyframes aria-pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.aria-pulse { animation: aria-pulse 1.8s ease-in-out infinite; }
@keyframes aria-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.aria-float { animation: aria-float 8s ease-in-out infinite; }
@keyframes aria-scan  { 0% { top: 4%; } 100% { top: 92%; } }
.aria-scan { animation: aria-scan 1.15s ease-in-out infinite alternate; }
@keyframes aria-ring  { 0% { transform: scale(1); opacity: .5; } 100% { transform: scale(2.5); opacity: 0; } }
.aria-ring { animation: aria-ring 2.8s ease-out infinite; }
.aria-hscroll { scrollbar-width: none; -ms-overflow-style: none; }
.aria-hscroll::-webkit-scrollbar { display: none; }

/* ---- Lift hover ---- */
.aria-lift { transition: transform .22s var(--ease-out), box-shadow .26s var(--ease-out); }
.aria-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }

/* ---- Room card hover ---- */
.aria-room { transition: transform .18s var(--ease-out), box-shadow .2s, border-color .2s; }
.aria-room:hover { transform: translateY(-2px); box-shadow: var(--shadow-card) !important; border-color: var(--accor-dark) !important; }
.aria-vcard-media img { transition: transform .5s var(--ease-out); }
.aria-vcard:hover .aria-vcard-media img { transform: scale(1.045); }
.aria-carousel-arrow:hover { transform: translateY(-50%) scale(1.08); box-shadow: var(--shadow-glow) !important; }

/* ---- Fade in ---- */
@keyframes aria-fade-in { from { opacity: 0; transform: translateY(3px); } to { opacity: 1; transform: none; } }
.aria-fade { animation: aria-fade-in .4s var(--ease-out); }

/* ---- Option cards ---- */
.aria-option {
  display: flex; align-items: center; gap: 13px; width: 100%; cursor: pointer; font-family: inherit;
  padding: 13px 15px; border-radius: 16px; background: #fff; border: 1.5px solid var(--ink-line);
  box-shadow: var(--shadow-xs); transition: transform .16s var(--ease-out), box-shadow .22s, border-color .2s, background .2s;
}
.aria-option:hover { transform: translateY(-2px); box-shadow: var(--shadow-card); border-color: var(--gold); }
.aria-option:active { transform: translateY(0) scale(.995); }
.aria-option-rec { border-color: rgba(169,133,36,.5); background: linear-gradient(180deg,#ffffff,#fdf8f0); }
.aria-option-rec:hover { box-shadow: var(--shadow-glow); }
.aria-option-ic { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; flex-shrink: 0; transition: transform .18s var(--ease-out); }
.aria-option:hover .aria-option-ic { transform: scale(1.08); }

/* ---- Back-office ticket cards ---- */
.aria-ticket { border-radius: 14px; background: #fff; border: 1px solid var(--ink-line); box-shadow: var(--shadow-xs); overflow: hidden; }
.aria-ticket-priority { border-color: rgba(184,64,64,.32); background: rgba(252,233,233,.25); }

@media (prefers-reduced-motion: reduce) {
  .aria-float, .aria-pulse, .aria-spin, .aria-scan, .aria-fade { animation: none; }
  .aria-lift:hover, .aria-vcard:hover .aria-vcard-media img { transform: none; }
}
