/* AVON-FX-20261111-v2 — lathato de finom, folyamatos fenyek */
:root { --green: #2ba44e; --green-soft: #71c58c; --red: #dd3348; --blue: #2871bb; --text: #252a2e; }
* { box-sizing: border-box; }
html {
  min-height: 100%;
  background:
    radial-gradient(circle at top, #fffdfd 0%, #fff8fb 28%, #faeef4 70%, #f3e7f1 100%);
}
body {
  margin: 0;
  color: var(--text);
  font: 15px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}
/* EGYSÉGES virágos háttér: egyetlen, teljes magasságú kép.
   A kép önmagában, varrat nélkül fut a majdnem fehér felső résztől
   az alul lévő távolabbi virágokig. Nincs külön CSS színátmenet-felület.
   Az átfedő rétegek kizárólag mozgó fények, nem új háttérképek. */
.app-shell {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  background-color: #fff8fc;
  background-image: url('../images/avon-floral-lower.webp');
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;
  box-shadow: 0 0 28px #3c24501a;
}
/* Két finom, egymásra csúszó fényréteg. 
   Változó POZÍCIÓ + ÁRNYALAT + FÉNYERŐ: látható mozgás, nem erős lüktetés. 
   Nincs szükség külön HTML elemekre. */
.app-shell::before,
.app-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: -8% -12%;
  z-index: 0;
  transform: translateZ(0);
  will-change: transform, opacity;
}
.app-shell::before {
  background:
    radial-gradient(ellipse 31% 18% at 15% 38%, rgba(250,165,195,.35) 0%, rgba(250,191,212,.19) 39%, transparent 78%),
    radial-gradient(ellipse 32% 23% at 78% 53%, rgba(255,219,155,.33) 0%, rgba(255,220,184,.16) 44%, transparent 79%),
    radial-gradient(ellipse 27% 17% at 42% 78%, rgba(244,151,192,.32) 0%, rgba(255,195,216,.16) 40%, transparent 80%),
    radial-gradient(ellipse 24% 16% at 62% 30%, rgba(255,203,221,.24) 0%, rgba(255,218,231,.12) 42%, transparent 80%);
  opacity: .63;
  filter: blur(11px);
  animation: avonSoftLightTravel 11.4s ease-in-out infinite;
}
.app-shell::after {
  background:
    radial-gradient(circle 16px at 20% 51%, rgba(255,255,242,.91) 0 8%, rgba(255,228,193,.47) 23%, rgba(255,209,228,.13) 53%, transparent 80%),
    radial-gradient(circle 20px at 75% 44%, rgba(255,255,245,.91) 0 8%, rgba(255,230,190,.44) 21%, rgba(255,209,226,.13) 54%, transparent 81%),
    radial-gradient(circle 15px at 56% 70%, rgba(255,253,248,.90) 0 8%, rgba(255,231,203,.42) 22%, rgba(250,211,224,.14) 56%, transparent 83%),
    radial-gradient(circle 18px at 84% 81%, rgba(255,255,250,.90) 0 9%, rgba(255,220,176,.38) 26%, rgba(255,215,230,.12) 54%, transparent 81%),
    radial-gradient(circle 14px at 39% 30%, rgba(255,255,251,.86) 0 8%, rgba(255,230,197,.38) 24%, rgba(255,222,238,.12) 54%, transparent 78%),
    radial-gradient(circle 13px at 62% 25%, rgba(255,255,248,.82) 0 8%, rgba(255,232,205,.34) 24%, rgba(255,222,238,.11) 54%, transparent 80%),
    radial-gradient(circle 15px at 13% 72%, rgba(255,255,246,.84) 0 8%, rgba(255,229,199,.33) 24%, rgba(255,220,236,.10) 54%, transparent 80%);
  opacity: .71;
  filter: drop-shadow(0 0 8px rgba(255,239,208,.45));
  animation: avonSoftSparkleTravel 9.1s ease-in-out -3.4s infinite;
}
@keyframes avonSoftLightTravel {
   0% { transform: translate3d(-14px, 9px, 0) scale(1); opacity: .54; }
  25% { transform: translate3d(-4px, 0px, 0) scale(1.01); opacity: .63; }
  50% { transform: translate3d(17px, -15px, 0) scale(1.035); opacity: .70; }
  75% { transform: translate3d(5px, -5px, 0) scale(1.012); opacity: .59; }
 100% { transform: translate3d(-14px, 9px, 0) scale(1); opacity: .54; }
}
@keyframes avonSoftSparkleTravel {
   0% { transform: translate3d(9px, 4px, 0) scale(.98); opacity: .54; }
  24% { transform: translate3d(1px, -7px, 0) scale(1.01); opacity: .72; }
  51% { transform: translate3d(-14px, -18px, 0) scale(1.055); opacity: .64; }
  76% { transform: translate3d(-3px, -5px, 0) scale(1.015); opacity: .82; }
 100% { transform: translate3d(9px, 4px, 0) scale(.98); opacity: .54; }
}
/* A korábbi HTML-ben lévő díszfények is mozognak, ha vannak. */
.ambient-petals { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.ambient-petals .petal {
  position: absolute; width: 20px; height: 20px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,249,.92) 0%, rgba(255,228,194,.48) 22%, transparent 75%);
  filter: drop-shadow(0 0 4px rgba(255,225,199,.40));
  animation: avonTinyGlint 8.9s ease-in-out infinite;
}
.ambient-petals .p1 { left: 18%; top: 61%; animation-duration: 8.4s; animation-delay: -3s; }
.ambient-petals .p2 { left: 73%; top: 45%; animation-duration: 9.8s; animation-delay: -7s; }
.ambient-petals .p3 { left: 78%; top: 83%; animation-duration: 10.5s; animation-delay: -2s; }
.ambient-petals .p4 { left: 45%; top: 30%; animation-duration: 9.3s; animation-delay: -6s; }
@keyframes avonTinyGlint {
    0% { opacity:.10; transform:translate3d(0,4px,0) scale(.8); }
   28% { opacity:.26; transform:translate3d(6px,-3px,0) scale(1.0); }
   57% { opacity:.48; transform:translate3d(-4px,-8px,0) scale(1.13); }
   80% { opacity:.24; transform:translate3d(3px,-3px,0) scale(1.0); }
  100% { opacity:.10; transform:translate3d(0,4px,0) scale(.8); }
}
.topbar { position: relative; z-index: 4; height: 51px; padding: 7px 13px; display: flex; align-items: center; justify-content: space-between; background: #ffffffed; border-bottom: 1px solid #ddd; }
a { color: #0664b2; text-decoration: none; }
.brand { color: #333; font-size: 17px; }
.menu-toggle { height: 35px; width: 47px; font-size: 23px; line-height: 1; background: white; border: 1px solid #ddd; border-radius: 4px; color: #929292; }
.mobile-menu { position: relative; z-index: 5; background: white; border-bottom: 1px solid #ddd; padding: 10px 14px; box-shadow: 0 4px 12px #0001; }
.mobile-menu a, .mobile-menu .menu-link { display: block; padding: 8px 4px; text-align: left; border: 0; background: none; font: inherit; color: #1265a0; }
.menu-user { padding: 6px 4px; font-weight: 600; }
.page-content { position: relative; z-index: 2; padding: 14px 12px 40px; min-height: calc(100dvh - 51px); }
h1 { margin: 0 0 20px; font-size: 30px; font-weight: 600; line-height: 1.3; }
h2 { margin: 0 0 15px; font-size: 21px; font-weight: 600; line-height: 1.3; }
label { display: block; margin: 0 0 5px; font-size: 14px; }
input:not([type="checkbox"]), select { display: block; width: 100%; height: 35px; padding: 7px 11px; border: 1px solid #c8d2dc; border-radius: 3px; background: white; color: #3d4852; font: inherit; font-size: 14px; }
input:focus, select:focus { border-color: #80b7ff; box-shadow: 0 0 0 3px #b5d3fa9c; outline: none; }
.btn { padding: 7px 12px; min-height: 34px; border: 0; border-radius: 3px; color: white; font-weight: 500; font-size: 14px; cursor: pointer; }
.btn.green { background: var(--green); }
.btn.red { background: var(--red); }
.btn.blue { background: var(--blue); }
.btn:disabled { opacity: 0.58; cursor: not-allowed; }
.auth-form label:not(:first-child) { margin-top: 15px; }
.auth-form .checkline { display: flex; align-items: center; gap: 4px; margin-top: 17px; font-size: 14px; }
.checkline input { margin: 0; }
.auth-buttons { margin-top: 20px; }
.auth-buttons a.btn { display: inline-flex; align-items: center; }
.auth-link { margin-top: 16px; }
.alert { margin: 14px 0; padding: 9px 11px; border-radius: 3px; }
.alert.error { color: white; background: #d93047; }
.hint { margin: 0 0 16px; padding: 18px; border: 1px solid #dedede; border-radius: 4px; background: #fffffff2; backdrop-filter: blur(2px); }
.hint.success { border-color: #b1dec0; color: #2a793b; }
.wizard-step { padding-top: 4px; }
.wizard-step[hidden], [hidden] { display: none !important; }
.wizard-step label { margin-top: 0; }
.actions { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-top: 20px; }
.actions.right { justify-content: flex-end; }
.actions .btn { white-space: nowrap; }
.choice { border-color: #27a94e; color: #2bab50; text-align: center; cursor: pointer; }
.choice.selected { color: #fff; background: #2ba64e; border-color: #2ba64e; }
.choice option { color: #30343a; background: #fff; }
.draft-recap, .order-card { background: #fffffff0; border: 1px solid #dedede; border-radius: 3px; padding: 16px 18px; font-size: 14px; line-height: 1.55; margin: 8px 0 22px; backdrop-filter: blur(2px); }
.draft-recap > div:first-child, .order-card-heading { margin-bottom: 8px; }
.order-card { margin-bottom: 14px; }
.order-card-heading { display: flex; justify-content: space-between; align-items: flex-start; }
.order-card-heading strong { font-weight: 500; }
.remove { color: #202328; cursor: pointer; background: transparent; border: 0; font-size: 19px; }
.order-total { margin-top: 10px; text-align: right; font-weight: 600; font-size: 17px; }
.summary-actions { flex-wrap: wrap; }
.response-message { font-size: 14px; margin-top: 18px; }
.error-text { color: #b22e3a; background: #fff9f9; padding: 10px; }
.sr-only { position: absolute; 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) {
  .app-shell::before { animation: none; }
  .app-shell::after { animation: none; }
  .ambient-petals { display: none; }
}
