/* -------------------------------------------------- */
/* GLOBAL RESET & BASE                                */
/* -------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: "Poppins", sans-serif;
    background: #fcfcfc;
    color: #2f2f2f;
    overflow-x: hidden;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6{
    margin-top: 10px;
    margin-bottom: 10px;  
}
.textcenter{text-align:center;}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* -------------------------------------------------- */
/* WRAPPER                                            */
/* -------------------------------------------------- */
.adr-wrapper {
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
}

/* -------------------------------------------------- */
/* HEADER (FIXED)                                      */
/* -------------------------------------------------- */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100px;
  background: #fcfcfc;
  z-index: 9999;

  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 28px;
}

/* Logo */
header .logo {
  position: relative;
  margin-top: 50px;
}

header .logo img {
  width: 160px;
  height: auto;
}

/* -------------------------------------------------- */
/* DESKTOP NAV                                         */
/* -------------------------------------------------- */

.desktop-nav {
  display: none;
}

@media (min-width: 768px) {
  .desktop-nav {
    display: block;
  }

  .desktop-nav ul {
    display: flex;
    gap: 28px;
    list-style: none;
    align-items: center;
  }
}

.desktop-nav ul li a {
  text-decoration: none;
  color: #1f4d40;
  font-weight: 500;
  font-size: 15px;
  position: relative;
  padding: 6px 0;
}

/* Underline hover */
.desktop-nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #88d4c0;
  transition: width 0.25s ease;
}

.desktop-nav ul li a:hover::after {
  width: 100%;
}

/* Active */
.desktop-nav ul li a.active {
  font-weight: 600;
}

.desktop-nav ul li a.active::after {
  width: 100%;
}

/* -------------------------------------------------- */
/* LANGUAGE DROPDOWN (DESKTOP)                        */
/* -------------------------------------------------- */

.lang-dropdown {
  position: relative;
}

.lang-dropdown > a {
  cursor: pointer;
}

.lang-menu {
  position: absolute;
  top: 28px;
  right: 0;
  background: #ffffff;
  min-width: 130px;
  border-radius: 6px;
  padding: 8px 0;
  display: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  z-index: 200;
  list-style: none;
}

.lang-dropdown:hover .lang-menu {
  display: block;
}

.lang-menu li a {
  padding: 10px 15px;
  display: block;
  font-size: 14px;
  color: #1f4d40;
  text-decoration: none;
}

.lang-menu li a:hover {
  background: #e8f5f1;
}

/* -------------------------------------------------- */
/* MOBILE MENU BUTTON                                 */
/* -------------------------------------------------- */

.menu-btn {
  font-size: 28px;
  cursor: pointer;
  z-index: 9999;
}

/* Hide burger on desktop */
@media (min-width: 768px) {
  .menu-btn {
    display: none;
  }
}

/* -------------------------------------------------- */
/* MOBILE HEADER BEHAVIOUR                            */
/* -------------------------------------------------- */

@media (max-width: 767.98px) {
  /* center logo on mobile, burger on right */
  header {
    justify-content: center;
  }

  header .logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .menu-btn {
    position: absolute;
    right: 20px;
    top: 32px;
  }
}

/* -------------------------------------------------- */
/* MOBILE NAV (OVERLAY PANEL)                         */
/* -------------------------------------------------- */

.mobile-nav {
  position: fixed;
  top: 100px; /* directly under header */
  left: 0;
  width: 100%;
  max-height: calc(100vh - 100px);
  overflow-y: auto;

  background: #ffffff;
  border-top: 1px solid #eee;
  display: none;

  z-index: 9998;
}

.mobile-nav.open {
  display: block;
  animation: fadeMenu 0.25s ease-out;
}

@keyframes fadeMenu {
  from { opacity: 0; transform: translateY(-10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
  list-style: none;
  padding: 15px 20px;
}

.mobile-nav ul li {
  padding: 12px 0;
  border-bottom: 1px solid #f2f2f2;
}

.mobile-nav ul li a {
  font-size: 17px;
  color: #1f4d40;
  text-decoration: none;
  display: block;
}

/* Mobile language block (only inside mobile nav) */
.mobile-lang-title {
  padding: 12px 20px;
  font-size: 17px;
  font-weight: 500;
  color: #1f4d40;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.mobile-lang-menu {
  padding-left: 20px;
  display: none;
}

.mobile-lang.open .mobile-lang-menu {
  display: block;
}

.mobile-lang-menu li a {
  padding: 10px 0;
  display: block;
  color: #1f4d40;
}

/* Hide mobile nav / mobile language completely on desktop */
@media (min-width: 768px) {
  .mobile-nav {
    display: none !important;
  }
}
 

/* -------------------------------------------------- */
/* FOOTER                                             */
/* -------------------------------------------------- */
footer {
    width: 100%;
    background: #fafafa;
    padding: 20px 0;
    border-top: 1px solid #eee;
    margin-top: 40px;
}

footer p {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* -------------------------------------------------- */
/* LOGIN PAGE                                         */
/* -------------------------------------------------- */
.login-wrapper {
    max-width: 420px;
    margin: 0 auto;
    padding: 20px;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.loginlogo {
    width: 100%;
    max-width: 260px;
    margin: 0 auto 20px auto;
}

form.login {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}

form.login label {
    display: block;
    margin: 14px 0 6px;
    font-weight: 600;
}

form.login input[type=text],
form.login input[type=password] {
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 15px;
    transition: all .25s ease;
}

form.login input:focus {
    border-color: #ccc;
    background: #fff;
}

form.login input[type=submit] {
    width: 100%;
    margin-top: 20px;
    padding: 14px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s ease;
}

form.login input[type=submit]:hover {
    background: #333;
}

/* -------------------------------------------------- */
/* BACK TO TOP BUTTON                                 */
/* -------------------------------------------------- */
#button {
    position: fixed;
    bottom: 35px;
    right: 35px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: #000;
    font-size: 1.4rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
    box-shadow: 0 0 12px rgba(0,0,0,0.15);
}

#button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#button:not(.show) {
    transform: translateY(60px);
}

/* -------------------------------------------------- */
/* SECTIONS + FOOTER                                  */
/* -------------------------------------------------- */

.hero {
  padding: 60px 20px;
  background: #e8f5f1;
  text-align: center;
}

.section {
  max-width: 1440px;
  margin: 50px auto;
  padding: 0 20px;
  border-radius: 25px;
}

.placeholder {
  height: 180px;
  background: #f4f4f4;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* CLIENT GRID */
.client-grid {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
}

/* Desktop expansion */
@media (min-width: 700px) {
    .client-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 1100px) {
    .client-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* CLIENT CARD */
.client-card {
    background: #ffffff;
    border: 1px solid #e6f0ec;
    border-radius: 14px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: 0.25s ease;
}

.client-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.09);
}

/* HEADER */
.client-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.client-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #d7ebe5;
}

.client-basic h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.client-email {
    margin: 0;
    font-size: 0.85rem;
    color: #6a7a77;
}

/* STATUS BADGE */
.status-badge {
    margin-left: auto;
    padding: 6px 12px;
    font-size: 0.75rem;
    border-radius: 12px;
    text-transform: capitalize;
}

/* Colors */
.status-badge.active {
    background: #d8f5dd;
    color: #2b7a3f;
}
.status-badge.pending {
    background: #fff4d6;
    color: #ab7a00;
}
.status-badge.suspended {
    background: #ffe0e0;
    color: #a94442;
}

/* DETAILS */
.client-details p {
    margin: 4px 0;
    font-size: 0.9rem;
}

.client-actions {
    margin-top: 14px;
    display: flex;
    gap: 10px;
}

.btn {
    flex: 1 1 0;
    text-align: center;
    padding: 8px 12px;
    border-radius: 10px;
    font-size: 0.85rem;
    transition: 0.2s ease;
    cursor: pointer;
}

/* ACTION BUTTONS */
.btn.details {
    background: #e5f5f1;
    color: #177d6b;
}

.btn.edit {
    background: #eaf0ff;
    color: #3453c7;
}

.btn.bookings {
    background: #FFC571;
    color: #A84D0F;
}


.btn:hover {
    opacity: 0.85;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 12px;
    margin-left: 6px;
}

.badge.business {
    background: #e2f7ff;
    color: #037a95;
}

.badge.verified {
    background: #e4ffe7;
    color: #1a8c3a;
}

.status-badge.active { background:#d9ffe2; color:#0b8a3e; }
.status-badge.pending { background:#fff4d4; color:#a07800; }
.status-badge.suspended { background:#ffe0e0; color:#b10000; }

/* ============================================================
   CLIENT CONTROLS BAR
   ============================================================ */
.client-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    background: #fff;
    padding: 16px 18px;
    margin: 20px auto;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    max-width: 1920px;
}

/* Shared styling for inputs + selects */
.client-controls input,
.client-controls select {
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
    font-size: 15px;
    min-width: 180px;
    transition: all 0.25s ease;
    outline: none;
}

/* Hover + focus */
.client-controls input:focus,
.client-controls select:focus {
    border-color: #bbb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

#searchBox {
    flex: 1;
    min-width: 260px;
}

/* Nice spacing on selects */
.client-controls select {
    cursor: pointer;
}

/* Responsive (mobile-first) */
@media (max-width: 700px) {
    .client-controls {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .client-controls input,
    .client-controls select {
        width: 100%;
        min-width: unset;
    }
}
/* Sticky filter bar */
.sticky-controls {
    position: sticky;
    top: 90px;
    background: #ffffffcf;
    backdrop-filter: blur(6px);
    padding: 15px;
    border-radius: 12px;
    z-index: 10;
}

/* Badges */
.badge {
    display: inline-block;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 6px;
    margin-left: 4px;
}

.badge.business {
    background: #e3f2fd;
    color: #1565c0;
}

.badge.verified {
    background: #d4edda;
    color: #1b5e20;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #777;
    font-size: 18px;
}

/* Pagination */
.pagination {
    margin: 30px auto;
    text-align: center;
}

.page-btn {
    padding: 8px 14px;
    margin: 0 8px;
    background: #f1f5f9;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
}

.page-btn:hover {
    background: #e2e8f0;
}

.page-info {
    margin: 0 12px;
    color: #666;
}
 
.card-footer {
    margin-top: 10px;
    padding: 12px;
    background: #fafafa;
    border-radius: 8px;
    border: 1px solid #eee;
}

.hidden { display: none; }

.card-footer-toggle {
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
    color: #2bb673;
    text-decoration: underline;
}
.heat-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-left: 6px;
    display: inline-block;
}

.heat-hot { background: #2bb673; }      /* Active recently */
.heat-warm { background: #ffc107; }     /* Active last 7 days */
.heat-cold { background: #bbb; }        /* Active over 7 days */
.client-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin: 10px 0 20px;
    font-size: 14px;
    color: #444;
}
.quick-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.qf {
    padding: 6px 14px;
    border-radius: 20px;
    border: 1px solid #ddd;
    background: #fafafa;
    font-size: 14px;
    cursor: pointer;
    transition: 0.25s;
}

.qf.active {
    background: #2bb673;
    color: #fff;
    border-color: #2bb673;
}
 
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    display: none;
    justify-content: center;
    align-items: center;
    padding: 20px;
    z-index: 9999;
}

.modal-overlay.open {
    display: flex;
}

.modal-window {
    background: #fff;
    width: 95%;
    max-width: 600px;
    border-radius: 14px;
    overflow: hidden;
    animation: fadeIn 0.25s ease;
}

.modal-header {
    padding: 16px;
    background: #f5f5f5;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 20px;
}

.modal-close {
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


/* Guest Area Password Reset */

.guest-dashboard {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guest-alert-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guest-alert-card {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(42, 72, 68, 0.12);
    border: 1px solid rgba(91, 132, 124, 0.18);
    text-align: left;
}

.guest-alert-card h1 {
    margin: 0 0 14px;
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    line-height: 1.15;
    color: #254842;
}

.guest-alert-card p {
    margin: 0 0 26px;
    font-size: 1rem;
    line-height: 1.7;
    color: #5d6f6a;
}

.guest-password-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.guest-password-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.guest-password-form label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #254842;
}

.guest-password-form input[type="password"] {
    width: 100%;
    min-height: 48px;
    border-radius: 14px;
    border: 1px solid rgba(91, 132, 124, 0.35);
    background: #f8fbfa;
    padding: 0 15px;
    font-size: 1rem;
    color: #254842;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.guest-password-form input[type="password"]:focus {
    border-color: #5b847c;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(91, 132, 124, 0.12);
}

.guest-password-form .btn-primary {
    margin-top: 8px;
    min-height: 50px;
    border: none;
    border-radius: 999px;
    background: #254842;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0 24px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.guest-password-form .btn-primary:hover {
    background: #1d3834;
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(37, 72, 66, 0.22);
}

.form-error,
.form-success {
    margin-bottom: 20px;
    border-radius: 14px;
    padding: 14px 16px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.form-error {
    background: #fff2f0;
    color: #9f2f24;
    border: 1px solid rgba(159, 47, 36, 0.18);
}

.form-success {
    background: #eef8f4;
    color: #23644f;
    border: 1px solid rgba(35, 100, 79, 0.18);
}

.guest-welcome-section {
    background: #ffffff;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 18px 50px rgba(42, 72, 68, 0.1);
    border: 1px solid rgba(91, 132, 124, 0.16);
}

.guest-welcome-section h1 {
    margin: 0 0 12px;
    color: #254842;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.guest-welcome-section p {
    margin: 0;
    color: #5d6f6a;
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .guest-dashboard {
        padding: 24px 14px;
    }

    .guest-alert-section {
        min-height: auto;
        align-items: flex-start;
    }

    .guest-alert-card,
    .guest-welcome-section {
        border-radius: 20px;
        padding: 26px 20px;
    }

    .guest-password-form .btn-primary {
        width: 100%;
    }
    .guest-alert-section{
        margin-top:134px;
    }
}

.desktop-nav a,
.mobile-nav a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.desktop-nav a svg,
.mobile-nav a svg {
    width: 18px;
    height: 18px;
    stroke-width: 1.8;
    flex-shrink: 0;
}

/* Guest Area Content Sections */

.guest-content-section {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.guest-section-header {
    max-width: 760px;
    margin: 0 auto 34px;
}

.guest-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(91, 132, 124, 0.12);
    color: #254842;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.guest-section-header h1 {
    margin: 0 0 16px;
    color: #254842;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.1;
}

.guest-section-header p {
    margin: 0;
    color: #5d6f6a;
    font-size: 1.05rem;
    line-height: 1.75;
}

.guest-video-card {
    background: #ffffff;
    border-radius: 28px;
    padding: 24px;
    border: 1px solid rgba(91, 132, 124, 0.16);
    box-shadow: 0 20px 55px rgba(42, 72, 68, 0.12);
}

.guest-video-intro {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) 1.2fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 22px;
    padding: 8px 4px 18px;
    border-bottom: 1px solid rgba(91, 132, 124, 0.14);
}

.guest-video-label {
    display: inline-flex;
    margin-bottom: 10px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.guest-video-intro h2 {
    margin: 0;
    color: #254842;
    font-size: clamp(1.35rem, 2.5vw, 2rem);
    line-height: 1.2;
}

.guest-video-intro p {
    margin: 0;
    color: #5d6f6a;
    font-size: 1rem;
    line-height: 1.7;
}

.guest-video-frame {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 22px;
    background: #e8f1ee;
    aspect-ratio: 16 / 9;
    box-shadow: inset 0 0 0 1px rgba(91, 132, 124, 0.12);
}

.guest-video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 768px) {
    .guest-content-section {
        padding: 28px 14px;
    }

    .guest-video-card {
        padding: 16px;
        border-radius: 22px;
    }

    .guest-video-intro {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 4px 2px 16px;
    }

    .guest-video-frame {
        border-radius: 18px;
    }
}

/* Back to Top Button */

#button {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #254842;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 12px 28px rgba(37, 72, 66, 0.24);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

#button::before {
    content: "↑";
    font-size: 24px;
    line-height: 1;
    font-weight: 700;
}

#button:hover {
    background: #1d3834;
    transform: translateY(-3px);
}

#button.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #button {
        right: 16px;
        bottom: 16px;
        width: 44px;
        height: 44px;
    }

    #button::before {
        font-size: 22px;
    }
}

/* Recipe Library */

html {
    scroll-behavior: smooth;
}

.recipe-index-card,
.recipe-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(91, 132, 124, 0.16);
    box-shadow: 0 18px 45px rgba(42, 72, 68, 0.1);
}

.recipe-index-card {
    padding: 28px;
    margin-bottom: 34px;
}

.recipe-index-card h2 {
    margin: 0 0 8px;
    color: #254842;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.recipe-index-card p {
    margin: 0 0 22px;
    color: #5d6f6a;
    line-height: 1.7;
}

.recipe-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.recipe-index-grid a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f2f8f5;
    color: #254842;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.recipe-index-grid a:hover {
    background: #dfeee8;
    transform: translateY(-1px);
}

.recipe-list {
    display: grid;
    gap: 26px;
}

.recipe-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 24px;
    scroll-margin-top: 130px;
}

.recipe-image-placeholder {
    min-height: 240px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eef8f4 0%, #dfeee8 100%);
    border: 1px dashed rgba(91, 132, 124, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f968d;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-align: center;
}

.recipe-content {
    min-width: 0;
}

.recipe-card-header {
    margin-bottom: 20px;
}

.recipe-card-header span,
.recipe-meta {
    display: inline-flex;
    margin-bottom: 10px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.recipe-card-header h2 {
    margin: 0;
    color: #254842;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1.2;
}

.recipe-meta {
    display: block;
    margin: -8px 0 20px;
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.95rem;
}

.recipe-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.recipe-card h3 {
    margin: 0 0 12px;
    color: #254842;
    font-size: 1.05rem;
}

.recipe-card ul,
.recipe-card ol {
    margin: 0;
    padding-left: 20px;
    color: #5d6f6a;
    line-height: 1.75;
}

.recipe-card li + li {
    margin-top: 5px;
}

.recipe-image {
    min-height: 240px;
    border-radius: 22px;
    overflow: hidden;
    background: #eef8f4;
}

.recipe-image img {
    width: 100%;
    height: 100%;
    min-height: 240px;
    object-fit: cover;
    display: block;
}

@media (max-width: 1000px) {
    .recipe-card {
        grid-template-columns: 1fr;
    }

    .recipe-image-placeholder,
    .recipe-image,
    .recipe-image img {
        min-height: 220px;
    }
}

@media (max-width: 900px) {
    .recipe-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .recipe-columns {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (max-width: 600px) {
    .recipe-index-card,
    .recipe-card {
        border-radius: 22px;
        padding: 22px;
    }

    .recipe-index-grid {
        grid-template-columns: 1fr;
    }

    .recipe-image-placeholder,
    .recipe-image,
    .recipe-image img {
        min-height: 190px;
    }
}

/* Juicing Library */

.juice-index-card,
.juice-card {
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(91, 132, 124, 0.16);
    box-shadow: 0 18px 45px rgba(42, 72, 68, 0.1);
}

.juice-index-card {
    padding: 28px;
    margin-bottom: 34px;
}

.juice-index-card h2 {
    margin: 0 0 8px;
    color: #254842;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.juice-index-card p {
    margin: 0 0 22px;
    color: #5d6f6a;
    line-height: 1.7;
}

.juice-index-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.juice-index-grid a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 14px;
    border-radius: 999px;
    background: #f2f8f5;
    color: #254842;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s ease, transform 0.2s ease;
}

.juice-index-grid a:hover {
    background: #dfeee8;
    transform: translateY(-1px);
}

.juice-list {
    display: grid;
    gap: 26px;
}

.juice-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    padding: 24px;
    scroll-margin-top: 120px;
}

.juice-image-placeholder {
    min-height: 240px;
    border-radius: 22px;
    background: linear-gradient(135deg, #eef8f4 0%, #dfeee8 100%);
    border: 1px dashed rgba(91, 132, 124, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6f968d;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.juice-card-header {
    margin-bottom: 14px;
}

.juice-card-header span {
    display: inline-flex;
    margin-bottom: 9px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.juice-card-header h2 {
    margin: 0 0 6px;
    color: #254842;
    font-size: clamp(1.45rem, 3vw, 2.1rem);
    line-height: 1.2;
}

.juice-card-header p {
    margin: 0;
    color: #7b8f89;
    font-weight: 600;
}

.juice-content > p {
    margin: 0 0 18px;
    color: #5d6f6a;
    line-height: 1.75;
}

.juice-card h3 {
    margin: 0 0 10px;
    color: #254842;
    font-size: 1.05rem;
}

.juice-card ul {
    margin: 0;
    padding-left: 20px;
    color: #5d6f6a;
    line-height: 1.75;
}

.juice-card li + li {
    margin-top: 5px;
}

@media (max-width: 900px) {
    .juice-index-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .juice-card {
        grid-template-columns: 1fr;
    }

    .juice-image-placeholder {
        min-height: 220px;
    }
}

@media (max-width: 600px) {
    .juice-index-card,
    .juice-card {
        border-radius: 22px;
        padding: 22px;
    }

    .juice-index-grid {
        grid-template-columns: 1fr;
    }

    .juice-image-placeholder {
        min-height: 190px;
    }
}

.juice-prep-note {
    max-width: 760px;
    margin: 24px auto 0;
    padding: 20px 24px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(91, 132, 124, 0.16);
    box-shadow: 0 14px 34px rgba(42, 72, 68, 0.08);
    text-align: left;
}

.juice-prep-note h2 {
    margin: 0 0 8px;
    color: #254842;
    font-size: 1.15rem;
}

.juice-prep-note p {
    margin: 0;
    color: #5d6f6a;
    line-height: 1.7;
}

.guest-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    padding: 13px 22px;
    border-radius: 999px;
    background: #254842;
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 12px 26px rgba(37, 72, 66, 0.22);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.guest-download-btn:hover {
    background: #1d3834;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 72, 66, 0.28);
}

.program-book-intro-card {
    text-align: center;
}

.program-book-intro-card p {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.guest-download-btn {
    margin-left: auto;
    margin-right: auto;
}

.guest-download-btn {
    display: inline-flex;
}

.program-book-gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
}

.program-book-page {
    display: block;
    max-width: 100%;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    text-decoration: none;
    overflow: hidden;
}

.program-book-page img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

.program-book-page span {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-weight: 700;
}

@media (max-width: 1000px) {
    .program-book-gallery {
        grid-template-columns: repeat(3, 1fr);
    }

    .program-book-page img {
        height: 230px;
    }
}

@media (max-width: 700px) {
    .program-book-gallery {
        grid-template-columns: repeat(2, 1fr);
    }

    .program-book-page img {
        height: 200px;
    }
}

.program-book-gallery .program-book-page img {
    width: 100% !important;
    max-width: 100% !important;
    height: 260px !important;
    object-fit: cover !important;
}

.program-status-section {
    margin-bottom: 38px;
}

.program-status-section h2 {
    margin: 0 0 18px;
    color: #254842;
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.program-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: center;
    margin-bottom: 18px;
    padding: 26px;
    background: #ffffff;
    border-radius: 26px;
    border: 1px solid rgba(91, 132, 124, 0.16);
    box-shadow: 0 18px 45px rgba(42, 72, 68, 0.1);
}

.program-label {
    display: inline-flex;
    margin-bottom: 8px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.program-card h3 {
    margin: 0 0 8px;
    color: #254842;
    font-size: clamp(1.35rem, 2.5vw, 1.9rem);
}

.program-dates,
.program-composition,
.program-booking-ref {
    margin: 0 0 8px;
    color: #5d6f6a;
    line-height: 1.6;
}

.program-dates span {
    display: inline-flex;
    margin-left: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f2f8f5;
    color: #254842;
    font-size: 0.82rem;
    font-weight: 700;
}

.program-composition {
    font-weight: 600;
}

.program-booking-ref {
    font-size: 0.9rem;
    color: #7b8f89;
}

.program-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.guest-outline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 999px;
    border: 1px solid rgba(37, 72, 66, 0.25);
    color: #254842;
    background: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.guest-outline-btn:hover {
    background: #f2f8f5;
    transform: translateY(-2px);
}

.program-muted {
    color: #7b8f89;
    font-size: 0.95rem;
}

.current-program {
    border-left: 5px solid #5b847c;
}

.upcoming-program {
    border-left: 5px solid #c9a85d;
}

.past-program {
    border-left: 5px solid #b9c9c4;
}

@media (max-width: 768px) {
    .program-card {
        grid-template-columns: 1fr;
        padding: 22px;
    }

    .program-actions {
        justify-content: flex-start;
    }

    .program-actions a,
    .program-actions span {
        width: 100%;
    }
}

.prepare-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.prepare-modal.is-open {
    display: block;
}

.prepare-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(16, 35, 31, 0.65);
}

.prepare-modal-content {
    position: relative;
    z-index: 2;
    width: min(940px, calc(100% - 28px));
    max-height: calc(100vh - 40px);
    margin: 20px auto;
    overflow-y: auto;
    background: #ffffff;
    border-radius: 28px;
    padding: 34px;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.prepare-modal-close {
    position: sticky;
    top: 0;
    float: right;
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #254842;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
}

.prepare-modal-header {
    max-width: 760px;
    margin-bottom: 26px;
}

.prepare-modal-header h2 {
    margin: 0 0 12px;
    color: #254842;
    font-size: clamp(1.8rem, 4vw, 2.7rem);
}

.prepare-modal-header p,
.prepare-modal-body p {
    color: #5d6f6a;
    line-height: 1.75;
}

.prepare-modal-body section {
    padding: 22px 0;
    border-top: 1px solid rgba(91, 132, 124, 0.16);
}

.prepare-modal-body h3 {
    margin: 0 0 12px;
    color: #254842;
}

.prepare-summary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0 20px;
}

.prepare-summary-grid div {
    padding: 14px 16px;
    border-radius: 16px;
    background: #f2f8f5;
}

.prepare-summary-grid span {
    display: block;
    margin-bottom: 4px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
}

.prepare-summary-grid strong {
    color: #254842;
}

.prepare-dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.prepare-dos-donts div {
    padding: 22px;
    border-radius: 22px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.14);
}

.prepare-modal-body ul {
    margin: 0;
    padding-left: 20px;
    color: #5d6f6a;
    line-height: 1.75;
}

.prepare-bring-list {
    columns: 2;
}

.prepare-note {
    margin-top: 22px;
    padding: 20px 24px;
    border-radius: 20px;
    background: #eef8f4;
    color: #254842;
    font-weight: 700;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 700px) {
    .prepare-modal-content {
        padding: 24px 20px;
        border-radius: 22px;
    }

    .prepare-summary-grid,
    .prepare-dos-donts {
        grid-template-columns: 1fr;
    }

    .prepare-bring-list {
        columns: 1;
    }
}

.guest-home-section {
    padding: 20px 0 60px;
}

.guest-home-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr;
    gap: 40px;
    align-items: start;
}

.guest-welcome-card,
.guest-info-box,
.guest-review-box,
.guest-contact-card,
.guest-video-card {
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(91, 132, 124, 0.12);
    box-shadow: 0 20px 45px rgba(37, 72, 66, 0.08);
    margin-bottom: 24px;
}

.guest-highlight {
    color: #6f968d;
}

.guest-home-content h1 {
    margin: 0 0 18px;
    color: #254842;
    font-size: clamp(2rem, 5vw, 3rem);
    line-height: 1.15;
}

.guest-home-content h2,
.guest-contact-card h2 {
    margin: 0 0 16px;
    color: #254842;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.guest-home-content p,
.guest-contact-card p,
.guest-contact-list div {
    color: #5d6f6a;
    line-height: 1.8;
    font-size: 1rem;
}

.guest-feature-list {
    display: grid;
    gap: 18px;
}

.guest-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px;
    border-radius: 20px;
    background: #f7fbf8;
}

.guest-feature-item i {
    width: 24px;
    height: 24px;
    color: #6f968d;
    flex-shrink: 0;
    margin-top: 3px;
}

.guest-feature-item strong {
    display: block;
    margin-bottom: 4px;
    color: #254842;
    font-size: 1rem;
}

.guest-feature-item p {
    margin: 0;
    font-size: 0.95rem;
}

.guest-review-box {
    background: linear-gradient(135deg, #f2f8f5 0%, #ffffff 100%);
}

.guest-signoff {
    padding: 10px 5px 0;
}

.guest-signature {
    margin-top: 22px;
    color: #254842;
    font-weight: 700;
}

.guest-video-card {
    overflow: hidden;
    padding: 18px;
}

.responsive-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: 22px;
    overflow: hidden;
}

.responsive-video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.guest-contact-list {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.guest-contact-list strong {
    color: #254842;
}

.guest-contact-card a {
    color: #6f968d;
    text-decoration: none;
    font-weight: 700;
}

.guest-contact-card a:hover {
    text-decoration: underline;
}

@media (max-width: 992px) {
    .guest-home-grid {
        grid-template-columns: 1fr;
    }
}

.guest-profile-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(91, 132, 124, 0.14);
    box-shadow: 0 20px 45px rgba(37, 72, 66, 0.08);
}

.profile-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.profile-form-grid .full {
    grid-column: 1 / -1;
}

.guest-profile-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #254842;
    font-weight: 700;
}

.guest-profile-form input,
.guest-profile-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(91, 132, 124, 0.24);
    background: #f7fbf8;
    color: #254842;
    font: inherit;
}

.guest-profile-form textarea {
    resize: vertical;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.6;
}

.checkbox-group input {
    width: auto;
    margin-top: 5px;
}

.guest-profile-form button {
    margin-top: 24px;
}

@media (max-width: 700px) {
    .profile-form-grid {
        grid-template-columns: 1fr;
    }

    .guest-profile-card {
        padding: 22px;
    }
}

.profile-image-upload {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 22px;
    align-items: center;
    padding: 20px;
    border-radius: 22px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.16);
}

.profile-image-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    background: #eef8f4;
}

.profile-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    text-align: center;
    color: #6f968d;
    font-size: 0.85rem;
}

.profile-image-placeholder svg {
    width: 42px;
    height: 42px;
    margin-bottom: 6px;
}

@media (max-width: 700px) {
    .profile-image-upload {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-image-preview {
        margin: 0 auto;
    }
}

.daily-schedule-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(91, 132, 124, 0.14);
    box-shadow: 0 20px 45px rgba(37, 72, 66, 0.08);
}

.daily-schedule-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 26px;
}

.daily-schedule-header h2 {
    margin: 8px 0;
    color: #254842;
}

.daily-schedule-header p {
    margin: 0;
    color: #5d6f6a;
}

.daily-room-badge {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f2f8f5;
    color: #254842;
    font-weight: 700;
}

.daily-schedule-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.daily-item {
    padding: 18px;
    border-radius: 20px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.12);
}

.daily-item span {
    display: block;
    margin-bottom: 6px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.daily-item strong {
    display: block;
    color: #254842;
    font-size: 1.25rem;
}

.daily-item p {
    margin: 6px 0 0;
    color: #5d6f6a;
}

.daily-notes {
    margin-top: 24px;
    padding: 20px;
    border-radius: 20px;
    background: #eef8f4;
    color: #254842;
}

.daily-actions {
    margin-top: 24px;
}

@media (max-width: 700px) {
    .daily-schedule-card {
        padding: 22px;
    }

    .daily-schedule-header {
        flex-direction: column;
    }

    .daily-schedule-grid {
        grid-template-columns: 1fr;
    }
}

.guest-breadcrumbs {
    max-width: 980px;
    margin: 0 auto 26px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.9rem;
    color: #6f968d;
}

.guest-breadcrumbs a {
    color: #254842;
    text-decoration: none;
    font-weight: 700;
}

.guest-breadcrumbs a:hover {
    text-decoration: underline;
}

.guest-breadcrumbs span {
    color: #9bb7b0;
}

.guest-breadcrumbs strong {
    color: #6f968d;
    font-weight: 700;
}

.daily-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

@media (max-width: 700px) {
    .daily-actions .guest-outline-btn {
        width: 100%;
        text-align: center;
    }
}
.assessment-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}

.assessment-tab-btn {
    padding: 12px 16px;
    border: 1px solid rgba(91, 132, 124, 0.2);
    border-radius: 999px;
    background: #f7fbf8;
    color: #254842;
    font-weight: 700;
    cursor: pointer;
}

.assessment-tab-btn.is-active {
    background: #254842;
    color: #ffffff;
}

.assessment-tab-panel {
    display: none;
}

.assessment-tab-panel.is-active {
    display: block;
}

.assessment-tab-panel h2 {
    margin: 0 0 20px;
    color: #254842;
}

.assessment-tab-panel h3 {
    margin: 26px 0 14px;
    color: #254842;
}

.assessment-check-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.assessment-check-grid label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 14px;
    border-radius: 16px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.14);
    color: #254842;
    font-weight: 600;
    line-height: 1.4;
}

.assessment-check-grid input {
    margin-top: 3px;
}

.lifestyle-grid {
    grid-template-columns: repeat(2, 1fr);
}

.assessment-actions {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-top: 32px;
}

@media (max-width: 900px) {
    .assessment-check-grid,
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .assessment-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .assessment-tab-btn {
        white-space: nowrap;
    }

    .assessment-check-grid,
    .lifestyle-grid {
        grid-template-columns: 1fr;
    }

    .assessment-actions {
        flex-direction: column;
    }
}

.health-assessment-form input[type="text"],
.health-assessment-form input[type="email"],
.health-assessment-form input[type="date"],
.health-assessment-form select,
.health-assessment-form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(91, 132, 124, 0.24);
    background: #f7fbf8;
    color: #254842;
    font: inherit;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.health-assessment-form input:focus,
.health-assessment-form select:focus,
.health-assessment-form textarea:focus {
    outline: none;
    border-color: #6f968d;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(111, 150, 141, 0.14);
}

.health-assessment-form input[readonly] {
    background: #eef4f1;
    color: #5d6f6a;
    cursor: not-allowed;
}

.health-assessment-form textarea {
    resize: vertical;
    min-height: 110px;
}

.health-assessment-form select {
    appearance: none;
    cursor: pointer;
}

.health-assessment-form .form-group label {
    display: block;
    margin-bottom: 8px;
    color: #254842;
    font-weight: 700;
}

.assessment-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.health-assessment-form .flatpickr-input,
.health-assessment-form .flatpickr-input.form-control,
.health-assessment-form input.datepicker-dob {
    height: 58px !important;
    min-height: 58px !important;
    padding: 14px 16px !important;
    border-radius: 16px;
    box-sizing: border-box;
}

/* ================================
   Program Results Page
================================ */

.program-results-section {
    width: 100%;
}

.program-results-section .program-results-card,
.program-results-section .before-after-card,
.program-results-section .guest-info-card {
    max-width: 980px;
    margin: 0 auto 28px;
    padding: 30px;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(91, 132, 124, 0.14);
    box-shadow: 0 20px 45px rgba(37, 72, 66, 0.08);
}

.program-results-section .results-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 26px;
}

.program-results-section .results-header h2 {
    margin: 8px 0;
    color: #254842;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.15;
    
}
.program-results-section h3 {
    text-align: center !important;
}

.program-results-section .results-header p {
    margin: 4px 0;
    color: #5d6f6a;
    line-height: 1.5;
}

.program-results-section .results-info-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 30px;
}

.program-results-section .results-info-grid > div {
    padding: 16px;
    border-radius: 18px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.1);
}

.program-results-section .results-info-grid span {
    display: block;
    margin-bottom: 6px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.program-results-section .results-info-grid strong {
    display: block;
    color: #254842;
    font-weight: 800;
    line-height: 1.35;
}

.program-results-section .results-section-title {
    margin: 8px 0 18px;
    color: #254842;
    font-size: clamp(1.4rem, 3vw, 2rem);
}

.program-results-section .results-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(91, 132, 124, 0.14);
}

.program-results-section .results-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    margin: 0;
    background: #ffffff;
}

.program-results-section .results-table th {
    padding: 15px 14px;
    background: #254842;
    color: #ffffff;
    text-align: left;
    font-weight: 800;
    font-size: 0.9rem;
    white-space: nowrap;
}

.program-results-section .results-table td {
    padding: 14px;
    border-bottom: 1px solid rgba(91, 132, 124, 0.14);
    color: #254842;
    font-size: 0.96rem;
    vertical-align: middle;
}

.program-results-section .results-table tbody tr:nth-child(even) {
    background: #f7fbf8;
}

.program-results-section .results-table tbody tr:last-child td {
    border-bottom: none;
}

.program-results-section .results-table td:first-child {
    font-weight: 800;
    color: #254842;
}

.program-results-section .results-notes {
    margin-top: 24px;
    padding: 20px;
    border-radius: 20px;
    background: #eef8f4;
    border: 1px solid rgba(91, 132, 124, 0.12);
}

.program-results-section .results-notes h3 {
    margin: 0 0 10px;
    color: #254842;
}

.program-results-section .results-notes p {
    margin: 0;
    color: #5d6f6a;
    line-height: 1.7;
}

.program-results-section .results-photo-section {
    max-width: 980px;
    margin: 44px auto 0;
}

.program-results-section .guest-section-header.compact {
    margin-bottom: 24px;
}

.program-results-section .before-after-card h3 {
    margin: 0 0 18px;
    color: #254842;
    font-size: clamp(1.2rem, 2.6vw, 1.6rem);
}

.program-results-section .before-after-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.program-results-section .before-after-image {
    padding: 16px;
    border-radius: 22px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.12);
    text-align: center;
}

.program-results-section .before-after-image span {
    display: block;
    margin-bottom: 12px;
    color: #6f968d;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.program-results-section .before-after-image a {
    display: block;
    text-decoration: none;
}

.program-results-section .before-after-image img {
    display: block;
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
}

.program-results-section .image-placeholder {
    display: grid;
    place-items: center;
    min-height: 320px;
    border-radius: 16px;
    background: #eef8f4;
    color: #6f968d;
    font-weight: 800;
    text-align: center;
}

.program-results-section .daily-actions {
    max-width: 980px;
    margin: 26px auto 0;
    display: flex;
    justify-content: center;
}

/* Room Badge fallback if not already styled globally */
.program-results-section .daily-room-badge {
    padding: 10px 16px;
    border-radius: 999px;
    background: #f2f8f5;
    color: #254842;
    font-weight: 800;
    white-space: nowrap;
}

/* Mobile */
@media (max-width: 900px) {
    .program-results-section .results-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .program-results-section .before-after-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .program-results-section .program-results-card,
    .program-results-section .before-after-card,
    .program-results-section .guest-info-card {
        padding: 22px;
        border-radius: 22px;
    }

    .program-results-section .results-header {
        flex-direction: column;
    }

    .program-results-section .results-info-grid {
        grid-template-columns: 1fr;
    }

    .program-results-section .results-table th,
    .program-results-section .results-table td {
        padding: 12px;
        font-size: 0.9rem;
    }

    .program-results-section .daily-actions .guest-outline-btn {
        width: 100%;
        text-align: center;
    }
}

.program-results-section .generated-placeholder {
    min-height: 520px;
    aspect-ratio: 2 / 3;
    background: #ffffff;
    border: 2px dashed rgba(91, 132, 124, 0.25);
    color: #6f968d;
    text-align: center;
    padding: 24px;
}

.program-results-section .generated-placeholder strong {
    display: block;
    margin-bottom: 8px;
    color: #254842;
    font-size: 1.1rem;
}

.program-results-section .generated-placeholder span {
    color: #6f968d;
    font-weight: 700;
}

@media (max-width: 700px) {
    .program-results-section .results-table-wrap {
        border: none;
        overflow: visible;
    }

    .program-results-section .results-table {
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0 14px;
    }

    .program-results-section .results-table thead {
        display: none;
    }

    .program-results-section .results-table,
    .program-results-section .results-table tbody,
    .program-results-section .results-table tr,
    .program-results-section .results-table td {
        display: block;
        width: 100%;
    }

    .program-results-section .results-table tr {
        padding: 16px;
        border-radius: 20px;
        background: #f7fbf8;
        border: 1px solid rgba(91, 132, 124, 0.14);
        margin-bottom: 10px;
    }

    .program-results-section .results-table td {
        display: flex;
        justify-content: space-between;
        gap: 16px;
        padding: 9px 0;
        border-bottom: 1px solid rgba(91, 132, 124, 0.12);
        text-align: right;
    }

    .program-results-section .results-table td:last-child {
        border-bottom: none;
    }

    .program-results-section .results-table td::before {
        content: attr(data-label);
        color: #6f968d;
        font-weight: 800;
        text-align: left;
    }
}

.flight-program-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 28px;
}

.flight-program-summary div {
    padding: 16px;
    border-radius: 18px;
    background: #f7fbf8;
    border: 1px solid rgba(91, 132, 124, 0.12);
}

.flight-program-summary span {
    display: block;
    margin-bottom: 6px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.flight-program-summary strong {
    display: block;
    color: #254842;
    line-height: 1.35;
}

.flight-note {
    margin-top: 22px;
    padding: 18px 20px;
    border-radius: 18px;
    background: #eef8f4;
    color: #254842;
    line-height: 1.6;
}

.flight-note strong {
    color: #254842;
}

@media (max-width: 900px) {
    .flight-program-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .flight-program-summary {
        grid-template-columns: 1fr;
    }
}

.prepare-payment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 18px 0 22px;
}

.payment-card {
    padding: 18px;
    border-radius: 18px;
    background: #f2f8f5;
    border: 1px solid rgba(91, 132, 124, 0.14);
}

.payment-card span {
    display: block;
    margin-bottom: 6px;
    color: #6f968d;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.payment-card strong {
    display: block;
    color: #254842;
    font-size: 1.15rem;
    margin-bottom: 8px;
}

.payment-card small {
    display: block;
    color: #5d6f6a;
    line-height: 1.5;
}

@media (max-width: 800px) {
    .prepare-payment-grid {
        grid-template-columns: 1fr;
    }
}

.prepare-summary-grid strong small {
    display: block;
    margin-top: 6px;
    color: #5d6f6a;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.4;
}

.daily-timeline {
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.daily-timeline-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    align-items: stretch;
}

.daily-timeline-time {
    background: #123c2f;
    color: #fff;
    border-radius: 14px;
    padding: 14px 10px;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.daily-timeline-content {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 14px 16px;
    border-left: 5px solid #123c2f;
}

.daily-timeline-content span {
    display: block;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 900;
    margin-bottom: 4px;
}

.daily-timeline-content strong {
    display: block;
    font-size: 18px;
    color: #111;
}

.daily-timeline-content p {
    margin: 5px 0 0;
    color: #555;
    line-height: 1.45;
}

.daily-timeline-item.group .daily-timeline-time {
    background: #e8f3ef;
    color: #123c2f;
}

.daily-timeline-item.group .daily-timeline-content {
    border-left-color: #8bb9a5;
}

.daily-timeline-item.personal .daily-timeline-content {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.05);
}

@media (max-width: 640px) {
    .daily-timeline-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .daily-timeline-time {
        justify-content: flex-start;
        font-size: 17px;
        padding: 10px 14px;
    }
}

.recipe-db-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recipe-db-image {
    display: block;
    text-decoration: none;
    cursor: zoom-in;
}

.recipe-db-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.clients-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}

.add-client-btn,
.client-search-bar button,
.clear-search-btn {
    border: none;
    border-radius: 999px;
    background: #123c2f;
    color: #fff;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.client-search-bar {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    margin-bottom: 16px;
}

.client-search-bar input {
    width: 100%;
    height: 42px;
    border: 1px solid #ddd;
    border-radius: 999px;
    padding: 0 15px;
    font-weight: 700;
}

.client-letter-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.client-letter-nav a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #fff;
    color: #123c2f;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.client-letter-nav a.active,
.client-letter-nav a:hover {
    background: #123c2f;
    color: #fff;
}

.client-search-note {
    margin-bottom: 18px;
    color: #666;
    font-weight: 700;
}

.upgraded-client-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.client-profile-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.client-profile-strip div,
.modal-info-grid div {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 11px;
}

.client-profile-strip span,
.modal-info-grid span,
.modal-info-block span {
    display: block;
    font-size: 11px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 900;
    margin-bottom: 5px;
}

.client-profile-strip strong,
.modal-info-grid strong {
    display: block;
    color: #123c2f;
    font-size: 13px;
}

.client-card-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.client-card-actions .btn {
    border: none;
    border-radius: 999px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    text-align: center;
}

.client-card-actions .details {
    background: #e6f4ef;
    color: #123c2f;
}

.client-card-actions .bookings {
    background: #ffc66d;
    color: #6b3f00;
}

.client-program-summary {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 13px;
}

.client-program-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: #123c2f;
}

.client-program-summary-header span {
    font-size: 12px;
    color: #777;
    font-weight: 900;
}

.client-program-row {
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    margin-bottom: 10px;
}

.client-program-main strong {
    display: block;
    margin: 6px 0 3px;
    color: #111;
}

.client-program-main small {
    color: #666;
    font-weight: 700;
}

.program-status {
    display: inline-flex;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 900;
}

.program-status.current {
    background: #dcfce7;
    color: #166534;
}

.program-status.upcoming {
    background: #dbeafe;
    color: #1d4ed8;
}

.program-status.past {
    background: #f1f5f9;
    color: #475569;
}

.program-status.unknown {
    background: #fee2e2;
    color: #991b1b;
}

.client-program-links,
.program-history-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.program-modal-btn,
.view-all-programs {
    border: none;
    border-radius: 999px;
    background: #e6f4ef;
    color: #123c2f;
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 900;
    cursor: pointer;
}

.view-all-programs {
    width: 100%;
    margin-top: 4px;
}

.no-programs {
    color: #777;
    font-weight: 700;
    font-size: 13px;
}

/* Modal content */
.modal-profile-card h3,
.program-panel-top h3 {
    margin: 0 0 14px;
    color: #123c2f;
    font-size: 24px;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.modal-info-block {
    background: #f7f7f7;
    border-radius: 14px;
    padding: 13px;
    margin-top: 12px;
}

.modal-info-block p {
    margin: 0;
    font-weight: 700;
    color: #333;
}

.program-panel-top {
    margin-bottom: 16px;
}

.program-panel-top p {
    margin: 4px 0 0;
    color: #666;
    font-weight: 700;
}

.program-history-list {
    display: grid;
    gap: 12px;
}

.program-history-card,
.measurement-mini-card {
    background: #f7f7f7;
    border-radius: 16px;
    padding: 14px;
}

.program-history-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.program-history-header h3 {
    margin: 7px 0 4px;
    color: #123c2f;
}

.program-history-header p {
    margin: 0;
    color: #666;
    font-weight: 700;
}

.measurements-mini-list {
    display: grid;
    gap: 12px;
}

.measurement-mini-card > strong {
    display: block;
    color: #123c2f;
    margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 768px) {
    .clients-header,
    .client-search-bar {
        grid-template-columns: 1fr;
        display: grid;
    }

    .add-client-btn,
    .client-search-bar button,
    .clear-search-btn {
        width: 100%; 
        text-align: center;
    }

    .client-profile-strip,
    .modal-info-grid {
        grid-template-columns: 1fr;
    }

    .client-card-actions {
        grid-template-columns: 1fr;
    }

    .program-history-header {
        display: grid;
    }

    .client-letter-nav a {
        width: 32px;
        height: 32px;
    }
}

.guest-profile-form select {
    width: 100%;
    border: 1px solid #d8e6df;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

.results-program-composition {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    margin-top: 28px;
}

.composition-item {
    background: #f6faf7;
    border: 1px solid rgba(18,60,47,0.08);
    border-radius: 18px;
    padding: 18px;
}

.composition-item strong {
    display: block;
    margin-bottom: 6px;
    color: #123c2f;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.composition-item span {
    color: #203b32;
    font-size: 22px;
    font-weight: 700;
}

.print-results-btn {
    border: 0;
    border-radius: 999px;
    padding: 12px 22px;
    background: #123c2f;
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(18, 60, 47, 0.18);
}

.print-results-btn:hover {
    background: #2A5A2E;
    transform: translateY(-1px);
}

@media print {
    .guest-breadcrumbs,
    .print-results-btn,
    .site-header,
    .footer,
    .chat-buttons,
    #backToTop {
        display: none !important;
    }

    .program-results-card {
        box-shadow: none !important;
        border: 0 !important;
    }
}