/* @import "./_custom-alert.css"; */
@import "./_buttons.css";
/* @import "./_star.css"; */
/* @import "./_form.css"; */
@import "./_feedback.css";

@font-face {
  font-family: "Galyon Bold";
  font-style: bold;
  src:
    local("Galyon"),
    local("Galyon-Bold"),
    url(../fonts/galyon-bold.woff) format("woff"),
    url(../fonts/galyon-bold.otf) format("otf");
}

@font-face {
  font-family: "Galyon Regular";
  font-style: regular;
  src:
    local("Galyon"),
    local("Galyon-Regular"),
    url(../fonts/galyon-regular.woff) format("woff");
}

* {
  padding: 0;
  margin: 0;
  border: 0;
}

*,
*:before,
*:after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  scroll-behavior: smooth;
}

img {
  display: block;
  width: 100%;
}

/* =========================================================
   GUEST HOME PAGE BASE RESET
   Hide all base/dashboard headers on guest service page only
========================================================= */

body.guest-home-layout {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
}

/* Hide all possible base headers/nav/sidebar/footer chrome */
body.guest-home-layout .header-base,
body.guest-home-layout .header-mobile,
body.guest-home-layout .nav__base,
body.guest-home-layout .nav__base-header,
body.guest-home-layout .nav__base-bottom,
body.guest-home-layout .sidebar,
body.guest-home-layout .navbar,
body.guest-home-layout .footer-dashboard,
body.guest-home-layout .footer-base {
  display: none !important;
}

/* Remove base layout offsets/backgrounds */
body.guest-home-layout main,
body.guest-home-layout .wrapper__base,
body.guest-home-layout .main-content,
body.guest-home-layout .main-content-dashboard,
body.guest-home-layout .page-content,
body.guest-home-layout .container-page,
body.guest-home-layout #main-area {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent;
}

/* Keep the guest mobile wrapper centered and free from base spacing */
body.guest-home-layout .wrapper__mobile {
  width: 100%;
  min-height: 100dvh;
  margin: 0 auto;
}

/*--------------------*/

body {
  min-height: 100%;
  font-family: "Figtree", serif;
  background: url("/assets/img/jpeg/beach-background-final.jpeg") top center / cover no-repeat;
}

.branch {
  display: none;
}
.wrapper__mobile {
  display: flex;
  background: url("/assets/img/jpeg/beach-background-final.jpeg") top center / cover no-repeat;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
}

.wrapper-content {
  width: 100%;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 0 auto;
}

.logo-client {
  width: 130px;
  margin: 0 auto;
}

.logo-oiio {
  width: 80px;
}

.logo-small {
  width: 70px;
}

a .glow {
  border-radius: 50%;
}

.header {
  position: relative;
  width: min(420px, 92vw);
  max-width: none;
  margin: 12px auto;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;

  grid-template-areas:
    "brand brand"
    ". .";

  align-items: end; /* ← important */
  row-gap: 12px;
  color: #111;
}

.checkin .header {
  grid-template-columns: auto auto;
  justify-items: center;
  align-items: center;
}

.header.login {
  align-items: center;
  grid-template-areas:
    "brand brand"
    ". .";
}

.header__brand {
  grid-area: brand;
  align-self: end;
}

.header__service-panel {
  grid-area: service;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;

  align-self: end;
  /* max-width: 110px; */
}

.header__service {
  text-align: right;
  line-height: 1.08;
}

.captain-line {
  font-weight: 600;
}

.captain-sub {
  font-size: 12px;
  opacity: 0.85;
}

.header__actions {
  /* position: absolute; /* keep your account/order buttons top-right */
  /* top: 10px;
  right: 12px; */
  display: flex;
  gap: 10px;
}

.header__orders,
.header__user-btn {
  width: 40px;
  height: 40px;

  display: grid;
  place-items: center;

  border-radius: 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);

  background: rgba(244, 241, 241, 0.25);
  backdrop-filter: blur(4px);

  color: #000;
  cursor: pointer;

  transition:
    transform 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease,
    box-shadow 0.12s ease;
}

/* Hover */
.header__user-btn:hover {
  background: rgba(0, 0, 0, 0.35);
  border-color: rgba(89, 196, 190, 0.6);
  box-shadow: 0 0 0 3px rgba(89, 196, 190, 0.25);
}

/* Active */
.header__user-btn:active {
  transform: translateY(1px);
}

.header__user svg {
  color: #171717;
}

.header__table-pill {
  /* width: max-content;
  font-weight: 900;
  letter-spacing: 0.05em;
  font-size: 12px;
  text-transform: uppercase;
  margin: 0 auto;
  padding: 7px 14px;
  border-radius: 999px;
  border: 2px solid rgba(0, 0, 0, 0.52); */
  grid-area: table;

  justify-self: center; /* horizontal center */
  align-self: center; /* vertical center */

  width: 50px;
  height: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  border: 2px solid rgba(24, 24, 24, 0.8);

  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(6px);

  font-size: 24px;
  font-weight: 700;
}

#captains {
  margin: 0;
  color: #171717;
}

/* .header-content {
  flex-grow: 1;
  text-align: left;
  text-wrap: balance;
  display: none;
} */

.header-content_title {
  margin: 2rem 0;
}

.layout-frame {
  width: min(420px, 92vw);
  max-width: none;
}

#main-area.container.home-actions {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    ". . . . . ."
    ". . menu menu . ."
    ". . . . . .";

  gap: 14px;
  justify-content: center;
  justify-items: center;
}

#main-area .service-btn {
  min-width: 0;
}

/* Easy movement map */
.action-menu {
  grid-area: menu;
}

.action-coffee {
  grid-area: coffee;
}

.action-desserts {
  grid-area: desserts;
}

.action-captain {
  grid-area: captain;
}

.action-bill {
  grid-area: bill;
}

.action-shisha {
  grid-area: shisha;
}

.action-beach {
  grid-area: beach;
}

/* Hide hidden buttons properly */
#main-area .service-btn[hidden] {
  display: none !important;
}

/* Mobile: keep same logic but more comfortable */
/* @media (max-width: 575.98px) {
  #main-area.container.home-actions {
    max-width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-areas:
      "menu coffee desserts"
      "captain . bill"
      "shisha . beach";
    gap: 12px;
  }
} */

#main-area > p {
  display: none !important;
}

.container {
  width: 100%;
  /* margin: 0; */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
}

.container::before,
.container::after {
  content: none;
}

.column {
  width: auto;
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.right-column,
.left-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.column-title {
  display: none;
}

.center {
  flex-direction: column;
  justify-content: center;
}

/* Service buttons */
.service-btn {
  position: relative;
  width: 95px;
  height: 95px;
  border-radius: 50%;
  overflow: hidden;

  /* border: 1px solid rgba(0, 0, 0, 0.05); */
  /* background: rgba(255, 255, 255, 0.55); */

  /* box-shadow:
    0 18px 28px rgba(0, 0, 0, 0.12),
    0 4px 10px rgba(0, 0, 0, 0.06); */
  /* 
  display: grid;
  place-items: center;
  gap: 6px;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease; */

  transform: none;
}

.service-btn img {
  height: 44px;
  width: auto;
  margin-top: 6px;
  /* filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.18)); */
}

/* .service-btn span {
  margin: 0;
  width: 75%;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.1em;
  color: rgba(0, 0, 0, 0.9);
  text-transform: uppercase;
  line-height: 1.15;
  z-index: 5;
  white-space: normal;
} */

.service-btn:active {
  transform: translateY(1px) scale(0.985);
  box-shadow:
    0 6px 14px rgba(0, 0, 0, 0.14),
    inset 0 6px 14px rgba(0, 0, 0, 0.22);
}

.service-btn img {
  /* width: 32px; */
  height: 45px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.25));
}

.service-btn:disabled,
.service-btn[disabled] {
  background: rgb(3 29 28 / 0.25);

  border: 1px solid rgba(255, 255, 255, 0.12);

  box-shadow:
    0 6px 12px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  transform: none;
  cursor: not-allowed;
}

.service-btn:disabled img,
.service-btn:disabled svg {
  opacity: 0.6;
  filter: none;
}

.service-btn:disabled span {
  opacity: 0.65;
  font-weight: 500;
}
/* end service buttons */

/* #view_menu_btn {
  background-image: url("/static/assets/img/png/Buttons-01.png");
  background-repeat: no-repeat;

  /* zoom in to eat the padding */
/* background-size: 135%; */

/* shift a bit to compensate the off-center padding */
/* background-position: 58% 56%; */
/* } */

/* #call_captain_btn {
  background-image: url("/static/assets/img/png/Buttons-02.png");
  background-repeat: no-repeat;
  background-size: 135%;
  background-position: 58% 56%;
}

#order_bill_btn {
  background-image: url("/static/assets/img/png/Buttons-03.png");
  background-repeat: no-repeat;
  background-size: 135%;
  background-position: 58% 56%;
}

#ice_btn {
  background-image: url("/static/assets/img/png/Buttons-04.png");
  background-repeat: no-repeat;
  background-size: 135%;
  background-position: 58% 56%;
}

#cleaning_btn {
  background-image: url("/static/assets/img/png/Buttons-05.png");
  background-repeat: no-repeat;
  background-size: 135%;
  background-position: 58% 56%;
}

#napkin_btn {
  background-image: url("/static/assets/img/png/Buttons-01.png");
  background-repeat: no-repeat;
  background-size: 135%;
  background-position: 58% 56%;
} */

.first-page-content {
  margin: 3rem;
  text-align: center;
  color: #000;
  font-weight: 600;
  font-size: 1.5em;
}

/*
.table-details {
  margin: 0 0 15px 10px;
}

.fa-home {
  padding: 7px 15px;
}

.custom-btn {
  width: 80px;
  height: 75px;
}

/* 
#call_captain_btn img {
  width: 50px;
  height: auto;
} */

/* #call_captain_btn,
#order_bill_btn,
#beach_boy_btn {
  transform: translateY(36%);
}

#ice_btn,
#cleaning_btn,
#shisha_btn {
  transform: translateY(25%);
} */

#feedback-message-action,
#feedback-message-quick {
  font-size: 1.2em;
  text-align: center;
  margin-top: 10px;
}

@media (min-width: 768px) {
  .form-inline .form-group {
    display: flex;
  }
}

/* Account modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(2px);
  z-index: 9998;
}

.modal-overlay[hidden] {
  display: none !important;
}

.modal-open {
  overflow: hidden;
  height: 100%;
}

/* Account Modal */
#feedbackModal.modal,
#accountModal.modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 12px;
  z-index: 9999;
}

#feedbackModal[hidden],
#accountModal[hidden] {
  display: none !important;
}

/* Panel surface */
.user-modal__content {
  width: min(560px, 100%);
  max-height: 90dvh;
  overflow: hidden;

  display: flex;
  flex-direction: column;
  gap: 10px;

  background: rgba(255, 255, 255, 0.65);
  border: 2px solid var(--lp-border);
  border-radius: var(--lp-radius);
  box-shadow: var(--lp-shadow);
}

/* top glossy strip like allergen panel */
.user-modal__content::before {
  content: "";
  display: block;
  height: 8px;
  background: rgba(255, 255, 255, 0.35);
}

.user-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 16px 16px 10px;
  background: rgba(255, 255, 255, 0.08);
}

.user-modal__title {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.4px;
  font-size: 18px;
  text-transform: uppercase;
  color: #0b0f12;
  border-left: 4px solid #59c4be;
  padding-left: 10px;
}

.user-modal__body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 12px 16px;
}

/* Sections */
.user-modal__section {
  margin-top: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
}

.user-modal__summary {
  list-style: none;
  cursor: pointer;
  padding: 12px;
  display: flex;
  justify-content: space-between;
  font-weight: 800;
}

.user-modal__summary::-webkit-details-marker {
  display: none;
}

.user-modal__section-body {
  padding: 0 12px 12px;
  display: grid;
  gap: 10px;
}

/* Fields */
.user-modal__field {
  display: block;
  margin: 0;
}

.user-modal__label {
  display: block;
  margin: 0 0 6px;
  font-weight: 900;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-size: 12px;
  color: #0b0f12;
}

.user-modal__label-note {
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.7;
}

.user-modal__input {
  width: 100%;
  box-sizing: border-box;
  min-height: 42px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 14px;
  border: 2px solid rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.85);
  color: #0b0f12;
  outline: none;
  transition:
    border-color 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}

/* Disabled fields should look intentional (not “dead”) */
#accountModal .user-modal__content label input:disabled {
  opacity: 0.95;
  filter: saturate(0.85);
  cursor: not-allowed;
}

/* Focus style consistent with teal */
#accountModal .user-modal__content label input:focus {
  border-color: rgba(89, 196, 190, 0.55);
  box-shadow: 0 0 0 3px rgba(89, 196, 190, 0.18);
}

/* Preferences */
.user-modal__preferences {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-modal__preferences-title {
  font-weight: 900;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-size: 12px;
  color: #0b0f12;
}

/* Footer actions*/
.user-modal__actions {
  padding: 14px 16px 16px;
  display: flex;
  gap: 10px;
  align-items: stretch;
  justify-content: space-between;
  /* flex-wrap: nowrap; */
  border-top: 2px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.user-modal__action-btn,
.user-modal__preferences-btn {
  flex: 1;
  min-width: 0;
  height: 42px;
  padding: 9px 12px;
  font-size: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-align: center;
  line-height: 1.05;
  white-space: normal;
  word-break: keep-all;
  border-radius: 999px;
}

.user-modal__preferences-btn img {
  width: 20px;
  height: auto;
  flex: 0 0 auto;
  margin: 0 6px 0 0;
  transform: translateY(-1px);
}

#openAllergenModal {
  margin: 0 16px;
  background: #ffffff;
  color: var(--lp-teal-dark);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.06);
  line-height: 1;
}

#viewOrders {
  background: #ffffff;
  color: var(--lp-teal-dark);

  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);

  border: 1px solid rgba(255, 255, 255, 0.4);
}

.account-modal__close {
  border: 2px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.25);
  color: var(--lp-white);
  width: 38px;
  height: 38px;
  border-radius: 14px;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  line-height: 1;
}

.account-modal__close:hover {
  border-color: var(--lp-border);
  background: rgba(0, 0, 0, 0.35);
}

/* Optional: make “Save” more prominent if you have .btn-primary */
#accountModal .user-modal__actions .btn.btn-primary,
#accountModal .user-modal__actions #saveUserInfo {
  font-weight: 700;
}

/* Input error style */
input.error {
  border: 2px solid red;
  background-color: #ffe6e6;
}

.footer-guest {
  width: 100%;
  flex-shrink: 0;
  /* margin-bottom: 1em; */
  /* background: #59c4be; */
  padding: 10px;

  display: flex;
  justify-content: center;
  align-items: center;
  /* margin-top: 2rem; */
  color: #fff;
  font-family: "Galyon Regular", sans-serif;
  font-weight: 500;
}

.footer-guest .copyrights {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.footer-guest .copyrights-text {
  color: #59c4be;
  font-size: 15px;
}

.footer-dashboard {
  padding: 0;
  width: 0;
}

/* Cookie Banner */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #333;
  color: #fff;
  padding: 15px;
  text-align: center;
  display: none; /* Hidden by default */
  z-index: 9999;
}

#close-cookie-modal,
#accept-cookie {
  margin-left: 10px;
  padding: 5px 12px;
  background: #59c4be;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

#close-cookie-modal {
  text-transform: uppercase;
  display: block;
  margin: 0 auto;
}

#cookie-modal {
  display: none;
  position: fixed;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  max-width: 600px;
  width: 90%;
  background: #fff;
  padding: 20px;
  border: 2px solid #333;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 1001;
  overflow: auto;
}

#cookie-modal.show {
  display: block;
}

.cookie-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* dim effect */
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.cookie-modal-overlay.show {
  display: flex;
}

.cookie-modal {
  background: #fff;
  padding: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  position: relative;
}

.cookie-title {
  background: #59c4be;
  text-align: center;
}

#open-cookie-modal {
  all: unset;
  color: #0077cc;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

#open-cookie-modal:hover {
  text-decoration: none;
  color: #005fa3;
}

/* =========================
   Kitchen Load Notice
========================= */

.guest-kitchen-notice {
  width: min(100%, 430px);
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 12px;

  margin: 0 auto 18px;
  padding: 14px 16px;

  border-radius: 22px;
  border: 1px solid rgba(89, 196, 190, 0.52);

  color: #073331;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.82), rgba(232, 255, 253, 0.68));

  box-shadow:
    0 16px 34px rgba(7, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.guest-kitchen-notice[hidden] {
  display: none !important;
}

.guest-kitchen-notice__icon {
  width: 48px;
  height: 48px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  color: #9a5a17;
  background: radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.95), rgba(255, 247, 237, 0.68));

  border: 1px solid rgba(89, 196, 190, 0.22);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 8px 18px rgba(7, 23, 42, 0.08);

  font-size: 20px;
}

.guest-kitchen-notice p {
  margin: 0;

  color: #073331;
  font-size: 14px;
  font-weight: 850;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.guest-kitchen-notice strong {
  display: block;
  margin-bottom: 4px;

  color: #08756f;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

@media (max-width: 575.98px) {
  .guest-kitchen-notice {
    width: calc(100% - 10px);
    gap: 10px;

    margin-bottom: 16px;
    padding: 12px 13px;

    border-radius: 20px;
  }

  .guest-kitchen-notice__icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .guest-kitchen-notice p {
    font-size: 13px;
    line-height: 1.35;
  }

  .guest-kitchen-notice strong {
    font-size: 10px;
    margin-bottom: 3px;
  }
}
.service-action {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-btn.is-time-locked {
  opacity: 0.55;
  cursor: not-allowed;
  filter: grayscale(0.25);
}

.service-availability-note {
  margin: 0;
  padding-inline: 4px;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  opacity: 0.75;
}

.service-availability-note[hidden] {
  display: none !important;
}
