/* =========================================================
   xxl.css — teljes, végleges (namespaced) — GREEN THEME
   - nem ütközik a site .card/.wrap/.btn classaival
   - hero + steps + uid pill
   - kétoszlopos kártya + form grid
   - footer bridge átvezetés
   ========================================================= */

:root{
  --xxl-bg:#f6f7f9;
  --xxl-text:#0f172a;
  --xxl-muted:#64748b;
  --xxl-line:#e5e7eb;
  --xxl-card:#ffffff;
  --xxl-soft:#f3f4f6;

  --xxl-shadow:0 10px 28px rgba(0,0,0,.08);
  --xxl-shadow2:0 8px 22px rgba(0,0,0,.06);

  --xxl-r:18px;
  --xxl-r2:22px;
  --xxl-max:980px;

  /* ? XXL ZÖLD TÉMA (profi, nem rikító) */
  --xxl-primary:#065f46;          /* emerald-800 */
  --xxl-primary-soft:#10b981;     /* emerald-500 */
  --xxl-accent:#16a34a;           /* green-600 */

  --xxl-danger:#b91c1c;

  --xxl-focus: rgba(16,185,129,.22);
  --xxl-focus-border: rgba(16,185,129,.45);
}

/* xxl oldalak háttér */
html.xxl-flow body{ background: var(--xxl-bg); }

/* ====== WRAPPER ====== */
.xxl-page,
.xxl-page *{ box-sizing: border-box; }

.xxl-page{
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 18px 46px;
}
@media (max-width: 860px){
  .xxl-page{ padding: 14px 14px 32px; }
}

.xxl-content{ margin-top: 2px; }

/* ====== HERO ====== */
.xxl-hero{ margin: 14px 0 18px; padding: 0; }
@media (max-width: 860px){
  .xxl-hero{ padding: 0 14px; }
}

.xxl-hero-inner{
  border-radius: 22px;
  padding: 18px 18px;
  min-height: 124px;

  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px 16px;
  align-items: start;

  background:
    radial-gradient(900px 240px at 10% 10%, rgba(16,185,129,.22), transparent 60%),
    radial-gradient(700px 220px at 90% 30%, rgba(34,197,94,.18), transparent 60%),
    linear-gradient(135deg, #eefaf4 0%, #f7fcfa 55%, #ecfdf5 100%);

  border: 1px solid rgba(15,23,42,.10);
  box-shadow:
    0 18px 45px rgba(15,23,42,.10),
    0 1px 0 rgba(255,255,255,.7) inset;
}

@media (max-width: 860px){
  .xxl-hero-inner{ grid-template-columns: 1fr; }
}

.xxl-hero-main{ min-width: 0; }

.xxl-hero-title{
  margin: 0 0 6px;
  font-size: 24px;
  line-height: 1.15;
  letter-spacing: .2px;
  font-weight: 950;
  color:#0f172a;
}
@media (max-width: 860px){
  .xxl-hero-title{ font-size: 21px; }
}

.xxl-hero-sub{
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(15,23,42,.72);
  max-width: 78ch;
}
@media (max-width: 860px){
  .xxl-hero-sub{ font-size: 14px; }
}

/* stepper */
.xxl-steps{
  margin-top: 12px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.xxl-step{
  padding: 7px 11px;
  font-size: 12.5px;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.80);
}

.xxl-step.on{
  background: var(--xxl-primary);
  border-color: var(--xxl-primary);
  color:#fff;
  box-shadow: 0 8px 18px rgba(16,185,129,.25);
}

/* UID pill */
.xxl-uid{
  justify-self: end;
  margin: 2px 0 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  max-width: 100%;
  white-space: nowrap;

  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace;
  font-size: 12.5px;

  background: rgba(15,23,42,.06);
  border: 1px solid rgba(15,23,42,.10);
  color: rgba(15,23,42,.86);

  padding: 6px 10px;
  border-radius: 999px;
  box-shadow: none;
}
@media (max-width: 860px){
  .xxl-uid{ justify-self: start; }
}

/* ====== CARDS ====== */
.xxl-card{
  background: var(--xxl-card);
  border: 1px solid var(--xxl-line);
  border-radius: var(--xxl-r);
  padding: 16px;
  box-shadow: var(--xxl-shadow2);
}

.xxl-cardtitle{
  font-weight: 900;
  font-size: 14px;
  margin: 0 0 10px;
  letter-spacing: .2px;
}

.xxl-muted{
  color: var(--xxl-muted);
  font-size: 13px;
  line-height: 1.55;
}

.xxl-list > div{ margin: 3px 0; }

/* ====== GRIDS ====== */
.xxl-grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
  margin-top: 18px;
}
@media (max-width: 980px){
  .xxl-grid-2{ grid-template-columns: 1fr; }
}

.xxl-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}
@media (max-width: 860px){
  .xxl-grid{ grid-template-columns: 1fr; }
}

.xxl-row{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.xxl-row--full{ grid-column: 1 / -1; }

/* ====== FORM ====== */
.xxl-page label.xxl-label{
  font-size: 13px;
  color: #334155;
  font-weight: 800;
}

.xxl-page input,
.xxl-page select,
.xxl-page textarea{
  width: 100%;
  max-width: 100%;
  border: 1px solid #d7dbe6;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 15px;
  background: #fff;
  color: var(--xxl-text);
  box-shadow: none;
  height: auto;
}

.xxl-page select{ padding-right: 36px; }

.xxl-page input:focus,
.xxl-page select:focus,
.xxl-page textarea:focus{
  outline: 2px solid var(--xxl-focus);
  border-color: var(--xxl-focus-border);
}

/* ===== IRÁNYVÁLASZTÓ (Export / Import) – kapszula ===== */
.xxl-actions{
  display: inline-flex;
  gap: 0;
  background: #f1f5f9;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px;
  flex-wrap: nowrap;
  align-items: center;
}

/* egy opció */
.xxl-radio{
  position: relative;
  margin: 0;
  display: inline-flex;
  align-items: center;
}

/* az eredeti radio elrejtése */
.xxl-radio input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* kattintható “gomb” */
.xxl-radio span{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 650;
  color: #334155;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: all .18s ease;
}

.xxl-radio:hover span{
  background: rgba(15,23,42,.06);
}

/* ? aktív: zöld */
.xxl-radio input[type="radio"]:checked + span{
  background: var(--xxl-primary);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(16,185,129,.35);
}

.xxl-radio span::before{
  content: "-";
  font-size: 13px;
  opacity: .6;
}

@media (max-width: 860px){
  .xxl-radio span{
    padding: 8px 12px;
    font-size: 13.5px;
  }
}

/* ====== BUTTONS ====== */
.xxl-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  line-height: 1;
  text-decoration: none;
  user-select: none;
}

/* ? primary: zöld */
.xxl-btn-primary{
  background: var(--xxl-primary);
  color: #fff;
}
.xxl-btn-primary:hover{ filter: brightness(1.06); }

.xxl-btn-secondary{
  background: #fff;
  border: 1px solid var(--xxl-line);
  color: var(--xxl-primary);
}
.xxl-btn-secondary:hover{ background: var(--xxl-soft); }

/* ====== ERROR BOX ====== */
.xxl-err{
  background: #fff3f3;
  border: 1px solid #ffd0d0;
  color: #7f1d1d;
  border-radius: 12px;
  padding: 10px 12px;
}

/* ====== FOOTER BRIDGE ====== */
.xxl-footer-bridge{
  height: 26px;
  max-width: var(--xxl-max);
  margin: 0 auto 16px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(246,247,249,1) 0%, rgba(246,247,249,0) 100%);
}

/* ====== linkek az xxl oldalon ====== */
.xxl-page a{ color: inherit; }

/* ===== FOOTER: kényszerített 3 oszlop desktopon (csak XXL oldalon) ===== */
html.xxl-flow footer.app-footer .app-footer__inner{
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

html.xxl-flow footer.app-footer .app-footer__grid{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 28px !important;
  align-items: start !important;
}

@media (max-width: 900px){
  html.xxl-flow footer.app-footer .app-footer__grid{
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

html.xxl-flow footer.app-footer .app-footer__list{
  margin: 10px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
html.xxl-flow footer.app-footer .app-footer__list li{ margin: 6px 0 !important; }

html.xxl-flow footer.app-footer .app-footer__bottom{
  margin-top: 18px !important;
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px 18px !important;
  align-items: center !important;
  justify-content: space-between !important;
}
/* ===== UTA´LÁS oldal: Másolás gombok (szép, kompakt) ===== */

.xxl-copy-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(15,23,42,.12);
}
.xxl-copy-row:last-child{ border-bottom:0; }

.xxl-copy-label{
  font-size: 12px;
  color: rgba(15,23,42,.60);
  font-weight: 700;
  margin: 0 0 4px;
}

.xxl-copy-value{
  font-size: 14px;
  color: rgba(15,23,42,.92);
  font-weight: 800;
  line-height: 1.35;
  word-break: break-word;
}

.xxl-copy-left{
  min-width: 0;
}

.xxl-copy-btn{
  -webkit-appearance:none;
  appearance:none;
  border: 1px solid rgba(6,95,70,.22);
  background: rgba(16,185,129,.10);
  color: var(--xxl-primary);
  font-weight: 900;
  font-size: 12.5px;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  white-space: nowrap;
  transition: transform .06s ease, filter .18s ease, background .18s ease;
}

.xxl-copy-btn:hover{
  background: rgba(16,185,129,.16);
  filter: brightness(1.02);
}

.xxl-copy-btn:active{
  transform: translateY(1px);
}

.xxl-copy-btn:focus{
  outline: 2px solid var(--xxl-focus);
  outline-offset: 2px;
}

.xxl-copy-btn.is-done{
  background: rgba(34,197,94,.16);
  border-color: rgba(34,197,94,.35);
}

.xxl-copy-btn .dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--xxl-primary);
  opacity: .65;
}

.xxl-copy-btn.is-done .dot{
  background: #16a34a;
  opacity: 1;
}
.xxl-uidbox{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
}

.xxl-uid{
  background:rgba(255,255,255,.95);
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  font-weight:800;
  color:#0f172a;
  box-shadow:0 4px 14px rgba(0,0,0,.08);
}

.xxl-pickup-date{
  background:rgba(255,255,255,.75);
  border-radius:999px;
  padding:12px 12px;
  font-size:15px;
  color:#475569;
  line-height:1.2;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
  white-space:nowrap;
}

.xxl-pickup-date b{
  font-weight:700;
  color:#0f172a;
}

@media (max-width: 768px){
  .xxl-uidbox{ align-items:flex-start; }
}
.xxl-pickup-date{
  background:rgba(16,185,129,.08);
}

