/* Konto klienta (strona /konto/). Bazuje na stylach formularza rezerwacji (.rz). */
.rz.cwa { width: min(100%, 980px); max-width: 100%; margin: 0 auto 80px; }
.cwa .cwa-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cwa .cwa-card h2, .cwa .cwa-sec h2 { margin: 0 0 10px; font-size: 22px; font-weight: 800; color: var(--rz-ink); }
.cwa .cwa-card p { margin: 0 0 16px; color: var(--rz-muted); }
.cwa .cwa-card .rz-field { margin-bottom: 14px; }
.cwa .cwa-card .rz-submit, .cwa .cwa-btn { display: inline-flex; justify-content: center; align-items: center; width: auto; min-width: 220px; text-decoration: none; }
.cwa .rz-submit--light { background: #fff; color: var(--rz-green); box-shadow: inset 0 0 0 1.5px var(--rz-green); }
.cwa .rz-submit--light:hover { background: var(--rz-pale); color: var(--rz-green); }
.cwa .cwa-msg { margin: 0 0 18px; padding: 12px 16px; border-radius: 14px; background: var(--rz-pale); color: var(--rz-green); font-weight: 700; }
.cwa .cwa-card .cwa-msg { margin: 14px 0 0; }
.cwa .cwa-msg.is-bad { background: #fdecea; color: var(--rz-bad); }

.cwa .cwa-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; max-width: none; }
.cwa .cwa-logout { font-weight: 700; color: var(--rz-muted); }
.cwa .cwa-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.cwa .cwa-tabs a { padding: 9px 16px; border-radius: 999px; background: var(--rz-stone); color: var(--rz-ink); font-size: 15px; font-weight: 700; text-decoration: none; }
.cwa .cwa-tabs a:hover { background: var(--rz-pale); color: var(--rz-green); }
.cwa .cwa-sec { margin-bottom: 20px; scroll-margin-top: 90px; }
.cwa .cwa-sec p { color: var(--rz-muted); }
.cwa .cwa-sec a:not(.rz-submit):not(.cwa-share):not(.cwa-code__use) { color: var(--rz-green); font-weight: 700; }

.cwa .cwa-orders, .cwa .cwa-codes { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.cwa .cwa-order { padding: 16px 18px; border-radius: 18px; background: #fff; border-left: 5px solid var(--rz-green); }
.cwa .cwa-order.is-completed, .cwa .cwa-order.is-cancelled { border-left-color: var(--rz-line); }
.cwa .cwa-order p { margin: 6px 0 0; color: var(--rz-ink); }
.cwa .cwa-order .cwa-order__sub { color: var(--rz-muted); font-size: 14px; }
.cwa .cwa-order__top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.cwa .cwa-tag { padding: 3px 10px; border-radius: 999px; background: var(--rz-pale); color: var(--rz-green); font-size: 13px; font-weight: 800; }
.cwa .is-completed .cwa-tag, .cwa .is-cancelled .cwa-tag { background: var(--rz-stone); color: var(--rz-muted); }
.cwa .cwa-order__link { display: inline-block; margin-top: 10px; }

.cwa .cwa-codes li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 18px; border-radius: 18px; background: #fff; border: 1.5px dashed var(--rz-gold-line, #f0c869); }
.cwa .cwa-codes li div { display: grid; gap: 2px; }
.cwa .cwa-code { font-size: 20px; letter-spacing: .06em; color: var(--rz-ink); }
.cwa .cwa-codes small { color: var(--rz-muted); }
.cwa .cwa-code__use { flex: none; padding: 9px 18px; border-radius: 999px; background: var(--rz-green); color: #fff; font-weight: 800; text-decoration: none; }
.cwa .cwa-code__use:hover { background: var(--rz-deep); color: #fff; }

.cwa .cwa-ref { background: var(--rz-green); color: #fff; }
.cwa .cwa-ref h2 { color: #fff; }
.cwa .cwa-ref p { color: rgba(255, 255, 255, .85); }
.cwa .cwa-ref strong { color: #fff; }
.cwa .cwa-ref__lead { font-size: 17px; }
.cwa .cwa-ref__code { display: inline-flex; flex-direction: column; margin: 8px 0 16px; padding: 12px 22px; border-radius: 16px; background: #fff; border: 2px dashed #f0c869; }
.cwa .cwa-ref__code span { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--rz-muted); }
.cwa .cwa-ref__code strong { font-size: 26px; letter-spacing: .08em; color: var(--rz-green); }
.cwa .cwa-ref__share { display: flex; flex-wrap: wrap; gap: 10px; }
.cwa .cwa-share { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; color: var(--rz-green); font-size: 15px; font-weight: 800; text-decoration: none; }
.cwa .cwa-share:hover { background: var(--rz-pale); }
.cwa .cwa-share:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.cwa .cwa-ref__stats { margin: 16px 0 0; }
.cwa .cwa-ref__fine { margin: 6px 0 0; font-size: 13px; }

@media (max-width: 760px) {
  .cwa .cwa-grid { grid-template-columns: 1fr; }
  .cwa .cwa-codes li { flex-direction: column; align-items: flex-start; }
  .cwa .cwa-card .rz-submit, .cwa .cwa-btn { width: 100%; }
}
.cwa .cwa-share.cwa-share--main { background: #f0c869; color: #101a17; }
.cwa .cwa-share.cwa-share--main:hover { background: #ffd982; }
