@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&display=swap");
:root {
  --ink: #08272d;
  --muted: #64767a;
  --aqua: #19c6d2;
  --aqua-dark: #0b8e9d;
  --cream: #f5f7f4;
  --line: #dbe5e3;
  --shadow: 0 18px 45px rgba(8, 39, 45, 0.1);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.045em;
}
.eyebrow {
  margin-bottom: 8px;
  color: var(--aqua-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.landing {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 26px;
  background:
    radial-gradient(circle at 75% 0, #bff8ef, transparent 35%), var(--cream);
}
.landing-card {
  width: min(720px, 100%);
  padding: 50px;
  border: 1px solid #d5e8e5;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}
.landing-card h1 {
  margin-bottom: 18px;
  font-size: clamp(2.5rem, 7vw, 4.7rem);
  line-height: 0.92;
}
.landing-card > p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  font-size: 1.08rem;
}
.demo-tables {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin: 30px 0;
}
.demo-tables a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.demo-tables span {
  color: var(--aqua-dark);
  font-size: 0.82rem;
}
.admin-link {
  color: var(--aqua-dark);
  font-weight: 800;
}
.order-page {
  background: #f8fbfa;
}
.order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1120px, calc(100% - 40px));
  margin: auto;
  padding: 25px 0;
}
.brand,
.admin-header > a {
  color: var(--ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
}
.brand span,
.admin-header span {
  color: var(--aqua);
}
.brand-logo {
  display: inline-flex;
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: #061b20;
  box-shadow: 0 6px 16px rgba(8, 39, 45, .14);
}
.brand-logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-header div {
  text-align: right;
}
.order-header small,
.order-header strong {
  display: block;
}
.order-header small {
  color: var(--muted);
  font-size: 0.74rem;
}
.order-header strong {
  font-size: 0.87rem;
}
.order-main {
  width: min(1120px, calc(100% - 40px));
  margin: 16px auto 65px;
}
.kitchen-privacy-consent{margin:10px 0 0!important;color:#64767a!important;font-size:.73rem!important;line-height:1.4;text-align:center}.kitchen-privacy-consent a{color:#087b87;font-weight:800}
.order-intro {
  max-width: 680px;
  margin: 35px 0;
}
.order-intro h1 {
  margin-bottom: 10px;
  font-size: clamp(2.35rem, 6vw, 4.4rem);
  line-height: 0.95;
}
.order-intro > p:last-child {
  max-width: 540px;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.5;
}
.menu-layout {
  display: block;
}
.menu-layout .menu {
  max-width: 800px;
  margin: 0 auto;
}
.menu-category {
  margin-bottom: 34px;
}
.menu-category h2 {
  margin-bottom: 13px;
  font-size: 1.42rem;
}
.product {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.product h3 {
  margin: 0 0 4px;
  font-family: "DM Sans", sans-serif;
  font-size: 1rem;
  letter-spacing: 0;
}
.product strong {
  color: var(--aqua-dark);
  font-size: 0.9rem;
}
.quantity {
  display: flex;
  align-items: center;
  gap: 11px;
}
.quantity button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  cursor: pointer;
}
.quantity button:hover {
  border-color: var(--aqua);
  background: #e9fcfc;
}
.quantity output {
  width: 16px;
  font-weight: 800;
  text-align: center;
}
.cart {
  position: static;
  max-width: 800px;
  margin: 34px auto 0;
  padding: 22px;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow);
  color: #fff;
}
.cart-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid #ffffff2b;
}
.cart .eyebrow {
  color: #9ceef3;
}
.cart h2 {
  margin: 0;
  font-size: 1.28rem;
}
.cart-header > strong {
  color: #aef2f2;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}
.cart-items {
  min-height: 90px;
  padding: 15px 0;
  border-bottom: 1px solid #ffffff2b;
}
.cart-items p {
  margin: 0;
  color: #c7d6d7;
  font-size: 0.85rem;
}
.cart-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  font-size: 0.85rem;
}
.cart-item span {
  color: #dce9e9;
}
.cart label {
  display: block;
  margin: 18px 0 6px;
  font-size: 0.8rem;
  font-weight: 800;
}
.cart input {
  width: 100%;
  min-height: 45px;
  padding: 10px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.cart-note {
  margin: 8px 0 17px;
  color: #b5cccf;
  font-size: 0.75rem;
  line-height: 1.4;
}
.offline-schedule{margin:20px 0;padding:15px;border:1px solid #ffffff30;border-radius:12px;background:#ffffff0d}.offline-schedule .eyebrow{margin:0;color:#9ceef3}.offline-schedule label{margin-top:14px}.offline-schedule label:first-of-type{margin-top:12px}.order-schedule-confirmation{margin:10px 0;color:#b5cccf}
.order-schedule{display:block;margin-top:3px;color:#087b87!important;font-weight:800}
.primary-button,
.cart button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  background: linear-gradient(90deg, #1bcad3, #108e9d 55%, #08272d);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.cart button[type="submit"] {
  width: 100%;
  background: #20cad1;
  color: #052329;
}
.order-confirmation {
  max-width: 620px;
  padding: 30px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
}
.order-confirmation span {
  color: #a2eff2;
  font-size: 0.8rem;
  font-weight: 800;
}
.order-confirmation h2 {
  margin: 10px 0;
  font-size: 2rem;
}
.order-confirmation p {
  color: #cde1e3;
}
.order-confirmation button {
  border: 0;
  background: transparent;
  color: #a2eff2;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.table-reserved-notice { max-width: 650px; margin: 32px auto; padding: 32px; border: 1px solid #efd188; border-radius: 20px; background: linear-gradient(135deg, #fffdf6, #fff6dc); box-shadow: 0 14px 34px rgba(124, 82, 6, .1); text-align: center; }
.table-reserved-notice .eyebrow { color: #9a6909; }
.table-reserved-notice h2 { margin: 8px 0 10px; color: #563b06; font-size: clamp(1.55rem, 4vw, 2.3rem); }
.table-reserved-notice p:last-child { margin: 0; color: #735b2d; }
.payment-split-picker { max-width: 800px; margin: 0 auto 28px; padding: 18px; border: 1px solid #c5e9e9; border-radius: 16px; background: #f3ffff; }
.payment-split-picker .eyebrow { margin: 0 0 7px; }
.payment-split-picker label { display: block; color: #08272d; font-weight: 900; }
.payment-split-picker select { width: min(100%, 320px); min-height: 46px; margin: 10px 0 7px; padding: 9px 12px; border: 1px solid #a8d5d5; border-radius: 9px; background: #fff; color: #08272d; font: inherit; font-weight: 700; }
.payment-split-picker small { display: block; color: #587176; line-height: 1.4; }
.is-hidden {
  display: none;
}
.notice {
  margin: 20px 0;
  padding: 12px 15px;
  border: 1px solid #a3e1d7;
  border-radius: 10px;
  background: #e4fbf6;
  color: #087267;
  font-weight: 700;
}
.notice.error {
  border-color: #f0b7b7;
  background: #fff0f0;
  color: #a53636;
}
.admin-login {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 20px;
}
.login-card {
  display: grid;
  gap: 14px;
  width: min(390px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
}
.login-card h1 {
  margin: 0;
  font-size: 2.4rem;
}
.login-card label,
.admin-form label {
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 800;
}
.login-card input,
.admin-form input,
.admin-form textarea,
.admin-order select {
  min-height: 44px;
  padding: 9px;
  border: 1px solid #bfcfd0;
  border-radius: 8px;
  background: #fff;
  font: inherit;
}
.login-card a {
  color: var(--aqua-dark);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}
.backoffice {
  background: #f7fafa;
}
.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px max(20px, calc((100% - 1260px) / 2));
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.admin-header h1 {
  margin: 0;
  font-size: 1.2rem;
}
.admin-header form button {
  border: 0;
  background: none;
  color: var(--muted);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.admin-brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.admin-brand-logo img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #061b20;
  box-shadow: 0 4px 10px rgba(8, 39, 45, .14);
}
.admin-brand-logo b { color: var(--ink); }
.admin-header > a:not(.admin-brand-logo)::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0 8px -8px 0;
  border-radius: 50%;
  background: #061b20 url('chill-padel-logo.webp') center / cover no-repeat;
}
.admin-main {
  width: min(1260px, calc(100% - 40px));
  margin: 32px auto 60px;
}
.admin-nav {
  display: flex;
  gap: 8px;
}
.admin-nav a {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}
.admin-nav .is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}
.admin-heading {
  margin: 36px 0 20px;
}
.admin-heading h2 {
  margin: 0;
  font-size: 2.4rem;
}
.admin-heading > p:last-child {
  color: var(--muted);
}
.table-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.table-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 6px 22px #08272d0c;
}
.table-card > header {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 20px;
  border-bottom: 1px solid var(--line);
}
.table-card header .eyebrow {
  margin-bottom: 4px;
}
.table-card h3 {
  margin: 0;
  font-size: 1.35rem;
}
.table-card > header > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.25rem;
}
.empty-state {
  padding: 20px;
  color: var(--muted);
}
.order-list {
  padding: 10px;
}
.admin-order {
  padding: 13px;
  border-bottom: 1px solid var(--line);
}
.admin-order:last-child {
  border: 0;
}
.admin-order-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.status,
.payment {
  display: inline-block;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 0.66rem;
  font-weight: 900;
  text-transform: uppercase;
}
.status {
  background: #eaf4fb;
  color: #25769b;
}
.payment {
  height: max-content;
  background: #fff0cb;
  color: #966d12;
}
.payment.pagat {
  background: #dcf8ed;
  color: #147657;
}
.admin-order h4 {
  margin: 7px 0 2px;
  font-size: 1.03rem;
}
.admin-order small {
  color: var(--muted);
}
.order-items {
  margin: 10px 0;
  color: #43595d;
  font-size: 0.83rem;
  line-height: 1.55;
}
.order-items>span{display:block;margin:0 0 6px}.order-items>span:last-child{margin-bottom:0}.order-items small{display:block;margin-top:1px;color:#708285;font-size:.73rem}.order-items .order-item-option{margin-top:3px;color:#087b87;font-weight:800}
.order-items .is-paid-item{opacity:.56;text-decoration:line-through}.order-items .order-item-payment{color:#087b87;font-weight:900;text-decoration:none}.paid-items-summary{margin:8px 0;padding:8px 10px;border:1px solid #a8d5d5;border-radius:8px;background:#effafa;color:#087b87;font-size:.78rem;font-weight:800;line-height:1.45}.pending-payment-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 0;padding:10px;border:1px solid #edb8b8;border-radius:8px;background:#fff1f1;color:#b34747;font-size:.78rem}.pending-payment-summary span{display:grid;gap:2px}.pending-payment-summary small{font-weight:800}.pending-payment-summary button{border:1px solid #edb8b8;border-radius:999px;padding:7px 10px;background:#fff;color:#b34747;font:inherit;font-size:.74rem;font-weight:900;cursor:pointer}.pending-payment-summary button:hover{background:#ffe5e5;border-color:#dd8d8d;color:#983333}@media(max-width:520px){.pending-payment-summary{align-items:flex-start;flex-direction:column}.pending-payment-summary button{width:100%}}
.order-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.order-actions form {
  display: flex;
  gap: 5px;
}
.order-actions select,
.order-actions button,
.table-payment button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
}
.order-actions button,
.table-payment button {
  padding: 6px 8px;
}
.waiter-edit-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid #8edfe2;
  border-radius: 7px;
  background: #edffff;
  color: #087b87;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}
.order-actions .pay-button,
.table-payment button {
  border-color: #6cd9bd;
  background: #edfff8;
  color: #087257;
}
.order-actions .pay-card,
.table-payment .pay-card {
  border-color: #72bddb;
  background: #eef9ff;
  color: #176d91;
}
.order-actions .pay-cash,
.table-payment .pay-cash {
  border-color: #6cd9bd;
  background: #edfff8;
  color: #087257;
}
.table-payment {
  padding: 12px 16px;
  border-top: 1px solid var(--line);
}
.inline-form {
  grid-template-columns: 2fr 1fr 1fr auto;
  align-items: end;
}
.admin-form {
  display: grid;
  gap: 12px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.admin-form h3 {
  margin: 0;
  font-size: 1.3rem;
}
.admin-form textarea {
  resize: vertical;
}
.products-admin {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}
.products-admin article {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}
.products-admin span {
  color: var(--aqua-dark);
  font-size: 0.72rem;
  font-weight: 800;
}
.products-admin h3 {
  margin: 8px 0;
  font-size: 1rem;
}
.products-admin strong {
  font-size: 0.9rem;
}
.settings-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.qr-list {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.qr-list h3 {
  margin: 0 0 15px;
}
.qr-list p {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.qr-list code {
  color: var(--aqua-dark);
}
@media (max-width: 760px) {
  .landing-card {
    padding: 30px 22px;
  }
  .demo-tables,
  .table-board,
  .settings-grid,
  .products-admin {
    grid-template-columns: 1fr;
  }
  .order-header,
  .order-main,
  .admin-main {
    width: min(100% - 28px, 1120px);
  }
  .order-header {
    padding: 18px 0;
  }
  .cart {
    margin-top: 26px;
  }
  .inline-form {
    grid-template-columns: 1fr;
  }
  .table-card > header {
    padding: 16px;
  }
  .qr-list p {
    display: block;
  }
  .qr-list code {
    display: block;
    margin-top: 5px;
    overflow-wrap: anywhere;
  }
  .admin-heading h2 {
    font-size: 2rem;
  }
}
