/* Hobson © 2026 Pharo929 LLC
All Rights Reserved.
Unauthorized reproduction prohibited. */




/* Basic page styling */
body {
  font-family: 'Arial', sans-serif;

  background:
    radial-gradient(circle at top, #2a2a2a 0%, #372c2c 100%);

  color: #141313;

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

  height: 100vh;
  margin: 0;
}

/* ======================
   GUEST LOADING SPLASH
====================== */

#guest-loading-splash {
  position: fixed;
  inset: 0;

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

  background: #000;

  z-index: 10000;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#guest-loading-splash img {
 width: min(85vw, 420px);
height: min(85vw, 420px);

  object-fit: contain;

  animation:
    hobsonSplashPulse
    1.6s
    ease-in-out
    infinite;


  image-rendering: auto;

  animation: hobsonSplashPulse 1.2s ease-in-out infinite;
}

#guest-loading-splash.guest-loading-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

@keyframes hobsonSplashPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.75;
  }

  50% {
    transform: scale(1.08);
    opacity: 1;
  }

  100% {
    transform: scale(0.96);
    opacity: 0.75;
  }
}

.container {
  background: rgba(217, 215, 215, 0.94);
  backdrop-filter: blur(14px);

  padding: 2rem;
  border-radius: 16px;

  box-shadow:
    0 15px 50px rgba(0,0,0,0.35),
    0 4px 15px rgba(0,0,0,0.15);

  text-align: center;
  max-width: 420px;
  width: 100%;
}

h1 {
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

h2 {
  margin-bottom: 1.5rem;
}
h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

p {
  opacity: 0.75;
  font-size: 0.95rem;
}

/* Buttons styling */
.button-group button {
  display: block;
  width: 100%;
  padding: 1rem;
  margin: 0.5rem 0;

  font-size: 1rem;
  border: none;
  border-radius: 10px;

  cursor: pointer;
  transition: all 0.2s ease;

  background: linear-gradient(135deg, #703232, #483d75);
  color: #fff;
}

/* ONE accent only */
#valet-btn {
  background: linear-gradient(135deg, #703232, #483d75);
}

#valet-ticket-input::placeholder {
  font-weight: 600;
  text-align: center;
}

#valet-ticket-input {

  width: 100%;

  min-height: 54px;

  padding: 12px 14px;

  box-sizing: border-box;

  font-size: 1rem;

}

/* Unified hover */
.button-group button:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7960f6, #703232);
}

/* Accent hover */
#valet-btn:hover {
  background: linear-gradient(135deg, #7960f6, #703232);
}


/* Response styling */
.response {
  margin-top: 1rem;
  font-weight: bold;
  min-height: 1.5em;
}

/* Status list */
.status-list {
  list-style: none;
  padding: 0;
  margin: 1.2rem 0 0;
  text-align: left;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.04);
  border: 1px solid rgba(0,0,0,0.05);

  border-radius: 10px;
  margin-bottom: 0.5rem;

  padding: 0.7rem 0.9rem;
}

.status-list li.completed {
  opacity: 0.7;
  text-decoration: line-through;
}

.status-list li.error {
  border-color: rgba(255,0,0,0.25);
  background: rgba(255,0,0,0.05);
  color: #a33;
}
.menu-header {
  margin-top: 1.2rem;
  margin-bottom: 0.4rem;
  font-weight: bold;
  text-align: left;
  color: #444;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.2rem;
}

/* ======================
   GUEST STATUS FEEDBACK
====================== */

.guest-status {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 9999;
}

.guest-status.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
}

.guest-status.success {
  border: 1px solid #4caf50;
}

.guest-status.progress {
  border: 1px solid #ff9800;
}
.status-list li.completed {
  opacity: 0.7;
  text-decoration: line-through;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}

.status-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.req-time {
  font-size: 0.8rem;
  opacity: 0.6;
}

.property-branding-content {
  text-align: center;
  margin: 12px 0 18px;
}

.property-branding-content h2 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.property-branding-content p {
  margin-top: 4px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* ======================
   SERVICE PANEL
====================== */

.service-panel {
  margin-top: 16px;
  text-align: left;

  max-height: 60vh;
overflow-y: auto;
padding-right: 4px;
}

.service-panel.hidden {
  display: none;
}

.service-panel-close {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #4e4d4d;
  font-weight: 600;
  cursor: pointer;
position: sticky;
top: 0;
z-index: 5;

}

.service-group {
  margin-bottom: 14px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.06);
}

.service-group-title {
  padding: 14px 16px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  
  display: flex;
  justify-content: space-between;
  align-items: center;

  background: rgba(0,0,0,0.04);

  color: #111;
}

.service-group-title:hover {
  background: rgba(0,0,0,0.07);
}

.service-group-title::after {
  content: '▼';
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.service-group.collapsed .service-group-title::after {
  transform: rotate(-90deg);
}

.service-grid {
  display: grid;
  gap: 10px;
  padding: 12px;
}

.service-group.collapsed .service-grid {
  display: none;
}

 .service-card {

  width: 100%;

  padding: 14px;

  border: none;

  border-radius: 10px;

  background:
    linear-gradient(
      135deg,
      #703232,
      #483d75
    );

  color: #ffffff;

  opacity: 1 !important;

  font-size: 1rem;

  font-weight: 700;

  text-shadow:
    0 1px 2px rgba(0,0,0,0.55);

  text-align: left;

  cursor: pointer;

  transition: all 0.2s ease;
}

.service-card:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #7960f6, #703232);
}

.service-card-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ======================
   SERVICE PANEL SCROLL FADE
====================== */

.service-panel::after {
  content: '';

  position: sticky;
  bottom: 0;

  display: block;
  width: 100%;
  height: 28px;

  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0),
    rgba(255,255,255, 0.96)
  );
}

/* ======================
   GUEST SCROLL VISIBILITY
====================== */

/* Firefox */
.service-panel,
.service-grid,
select {
  scrollbar-width: auto;
  scrollbar-color: var(--gold-main) #141414;
}

/* Chrome / Edge / Safari */
.service-panel::-webkit-scrollbar,
.service-grid::-webkit-scrollbar,
select::-webkit-scrollbar {
  width: 16px;
}

.service-panel::-webkit-scrollbar-track,
.service-grid::-webkit-scrollbar-track,
select::-webkit-scrollbar-track {
  background: #141414;
  border-radius: 12px;
}

.service-panel::-webkit-scrollbar-thumb,
.service-grid::-webkit-scrollbar-thumb,
select::-webkit-scrollbar-thumb {
  background: var(--gold-main);
  border-radius: 12px;
  border: 3px solid #141414;
}

.service-panel::-webkit-scrollbar-thumb:hover,
.service-grid::-webkit-scrollbar-thumb:hover,
select::-webkit-scrollbar-thumb:hover {
  background: var(--gold-soft);
}

/* ======================
   SESSION EXPIRED OVERLAY
====================== */

.session-expired-overlay {

  position: fixed;
  inset: 0;

  background:
    rgba(0,0,0,0.72);

  backdrop-filter: blur(3px);

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

  z-index: 9999;

  padding: 24px;
}

.session-expired-overlay.hidden {
  display: none;
}

.session-expired-card {

  width: 100%;
  max-width: 420px;

  background:
    rgba(255,255,255,0.97);

  color: #111;

  border:
    1px solid rgba(0,0,0,0.08);

  border-radius: 18px;

  padding: 28px;

  text-align: center;

  box-shadow:
    0 10px 40px rgba(0,0,0,0.45);
}

.session-expired-card h2 {

  margin-top: 0;
  margin-bottom: 14px;

  font-size: 1.5rem;
}

.session-expired-card p {

  margin: 0;

  line-height: 1.5;

  opacity: 0.88;
}

/* ======================
   MOBILE UX POLISH
====================== */

@media (max-width: 480px) {

  body {
    align-items: flex-start;
    min-height: 100dvh;
    padding: 14px;
    padding-bottom: 80px;
    box-sizing: border-box;
  }

  .container {
    width: 100%;
    max-width: 100%;
   margin: 14px 0 90px;
    padding:
      1.25rem
      1rem
      2rem;

    border-radius: 18px;
  }

  h1 {
    font-size: 1.5rem;
    line-height: 1.2;
  }

  h2 {
    font-size: 1.15rem;
  }

  p,
  .guest-intro {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  .button-group button,
  .service-card,
  .service-panel-close {
    min-height: 52px;
    padding: 14px 16px;
    font-size: 1rem;
  }

  .button-group button {
    margin-bottom: 10px;
  }

  .service-panel {
    max-height: 62vh;
    padding-right: 2px;
  }

  .service-grid {
    gap: 12px;
  }

  .status-list li {
    padding: 0.9rem;
  }

  #hobson-watermark {
    font-size: 0.68rem;
    bottom: 6px;
    padding: 0 10px;
  }

  #manual-access-section input,
  #manual-access-section button {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 10px;
  }
}

/* ======================
   GUEST FORM READABILITY
====================== */

select,
input {

  background: #ffffff !important;

  color: #111 !important;

  opacity: 1 !important;

  font-weight: 700;

}

/* Demo hotel only: hide dining without removing functionality */
#food-menu-btn {
  display: none;
}