/*===================================
   RANDOMS COPIED OVER FROM MIND css
   PROBABLY NOT NEEDED 
=====================================*/
/*
.mind-tabs {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Poppins', sans-serif;
}

.tab-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.tab-nav li {
  margin: 0 10px;
}

.tab-link {
  background: #eee;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 6px;
  transition: background 0.3s;
}

.tab-link.active,
.tab-link:hover {
  background: #ffbf00;
  color: #000;
}

.tab-content {
  text-align: center;
  display: none;
}

.tab-emoji {
  font-size: 4rem;
  margin-bottom: 10px;
}

.tab-link-url a {
  font-size: 1.2rem;
  color: #0073aa;
  text-decoration: none;
  font-weight: bold;
}

.tab-link-url a:hover {
  text-decoration: underline;
}

*/


/* =========================================================
   HOLISTIC WELLNESS DESIGN SYSTEM
   Location: /css/styles_bodyNew.css
   ========================================================= */

:root {
    --bsm-sage: #819b81;        
    --bsm-sage-light: #eef2ee;  
    --bsm-peach: #f4e4d4;       
    --bsm-peach-light: #fbf6f0; 
    --bsm-cream: #faf9f5;       
    --bsm-text: #3e443e;        
    --bsm-text-light: #848b84;  
    --bsm-white: #ffffff;
    --bsm-border: #e6e9e6;
    --bsm-shadow: 0 4px 15px rgba(0,0,0,0.03);
    --bsm-radius: 16px;
    --bsm-error: #ef4444;
    --bsm-warning: #f59e0b;
}

/*====================================
  REMOVE THE HEADERS IN WP TEMPLATE  
 ===================================*/
 
 /*hamburger list*/
.wp-block-navigation, 
.wp-block-navigation__container {
	display:none;
}

/*header background that wouldnt take in the template design*/
.wp-block-group.is-layout-flex.wp-block-group-is-layout-flex {
	display:none;
}

/*===================================
  BODY WIDE CONTAINER - 
  FACILITATING POSITION OF  TOP MENU  
 ===================================*/

.body-container {
    max-width: 1000px; /* Your desired consistent width */
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   PANTRY LAYOUT & CONTAINERS
   ========================================================= */
.pantry-dashboard-wrapper {
    max-width: 1040px; 
    margin: 40px auto;
    padding: 40px;
    background: linear-gradient(135deg, #fdfcf7 0%, #e6eee7 100%); 
    border-radius: 32px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
    color: var(--bsm-text);
}

.bsm-back-link {
    display: inline-flex;
    align-items: center;
    color: #58707C;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 20px;
	margin-top: 10px;
}
.bsm-back-link-svg {
    margin-right: 10px;
}



.pantry-top-controls {
    background: rgba(255, 255, 255, 0.6); 
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: var(--bsm-shadow);
}

.pantry-header { 
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; 
}
.pantry-header h1 { 
    margin: 0; font-size: 24px; font-weight: 700; color: var(--bsm-text); display: flex; align-items: center; gap: 10px; 
}

/* =========================================================
   TOP CONTROLS & BUTTONS
   ========================================================= */
.pantry-consultant-lead {
    display: flex; align-items: center; gap: 10px; background: var(--bsm-white); padding: 6px 14px;
    border-radius: 50px; box-shadow: var(--bsm-shadow); cursor: pointer;
}
.pantry-mini-avatar { width: 30px; height: 30px; border-radius: 50%; }
.pantry-guide-btn { font-size: 13px; font-weight: 600; color: var(--bsm-sage); }

.pantry-actions-row { display: flex; flex-wrap: nowrap; gap: 12px; }
.pantry-action-btn {
    background: var(--bsm-white); padding: 0 20px; border-radius: 50px; cursor: pointer;
    box-shadow: var(--bsm-shadow); transition: all 0.2s ease; display: flex; align-items: center;
    justify-content: center; gap: 8px; flex: 1; height: 48px; border: 1px solid transparent; color: var(--bsm-text);
}
.pantry-action-btn:hover { border-color: var(--bsm-sage); transform: translateY(-2px); }
.pantry-action-btn.active {
    background: var(--bsm-sage); color: var(--bsm-white); border-color: var(--bsm-sage); box-shadow: none;
}
.pantry-pill-icon { font-size: 18px; }
.pantry-pill-text { font-size: 14px; font-weight: 600; white-space: nowrap; }

.back-btn {
    background: var(--bsm-white); border: 1px solid var(--bsm-border); color: var(--bsm-text);
    padding: 10px 20px; border-radius: 50px; font-size: 14px; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 8px; transition: all 0.2s ease; box-shadow: var(--bsm-shadow);
}
.back-btn:hover { border-color: var(--bsm-sage); color: var(--bsm-sage); transform: translateY(-1px); }

/* =========================================================
   UTILITIES & TYPOGRAPHY
   ========================================================= */
.spa-panel { display: none; animation: fadeIn 0.3s ease; }
.spa-panel.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.bsm-page-title { margin-top: 0; font-size: 24px; font-weight: 800; color: var(--bsm-text); display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.bsm-mb-25 { margin-bottom: 25px; }
.bsm-mt-35 { margin-top: 35px; }
.bsm-text-center { text-align: center; }

/* Empty States & Notices */
.bsm-empty-state { grid-column: 1/-1; text-align: center; color: var(--bsm-text-light); padding: 40px; font-size: 15px; }
.bsm-error-state { grid-column: 1/-1; text-align: center; color: var(--bsm-error); padding: 20px; font-size: 15px; }
.bsm-notice { padding: 20px; text-align: center; }
.bsm-notice-light { padding: 20px; text-align: center; color: var(--bsm-text-light); }
.bsm-empty-tag { font-size: 13px; color: var(--bsm-text-light); font-weight: 500; }
.bsm-dashed-placeholder { padding: 40px; background: var(--bsm-white); border-radius: 12px; border: 1px dashed var(--bsm-border); text-align: center; color: var(--bsm-text-light); }
.bsm-loading { opacity: 0.5; pointer-events: none; }

/* =========================================================
   SEARCH CONTROLS & FORMS
   ========================================================= */
.bsm-search-wrap { margin-bottom: 25px; position: relative; }
.bsm-search-wrap input {
    width: 100%; padding: 14px 20px 14px 45px; border-radius: 50px; border: 1px solid var(--bsm-border);
    background: var(--bsm-white); font-size: 15px; color: var(--bsm-text); box-shadow: var(--bsm-shadow); outline: none;
}
.bsm-search-wrap input:focus { border-color: var(--bsm-sage); }
.bsm-search-wrap::before { content: '🔍'; position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 16px; opacity: 0.5; }

.bsm-search-controls-wrap { display: flex; gap: 10px; margin-bottom: 25px; align-items: stretch; flex-wrap: wrap; }
.bsm-search-input { flex: 1; min-width: 200px; padding: 12px 20px; border-radius: 50px; border: 1px solid var(--bsm-border); outline: none; background: var(--bsm-white); color: var(--bsm-text); }
.bsm-search-select { padding: 12px 20px; border-radius: 50px; border: 1px solid var(--bsm-border); outline: none; background: var(--bsm-white); color: var(--bsm-text); min-width: 180px; }
.bsm-search-btn { background: var(--bsm-sage); color: white; border: none; padding: 0 25px; border-radius: 50px; font-weight: 600; cursor: pointer; height: 44px; min-width: 120px; }

/* =========================================================
   FOOD CARDS (GRID)
   ========================================================= */
.bsm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 15px; align-items: start; }
.bsm-card {
    background: var(--bsm-white); border-radius: var(--bsm-radius); padding: 12px 16px; display: flex;
    justify-content: space-between; align-items: center; border: 1px solid transparent;
    box-shadow: var(--bsm-shadow); transition: all 0.2s ease;
}
.bsm-card:hover { border-color: var(--bsm-sage); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,0,0,0.06); }

.bsm-card-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.bsm-card-icon {
    width: 40px; height: 40px; flex-shrink: 0; background: var(--bsm-peach-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.bsm-card-info { flex: 1; min-width: 0; }
.bsm-card-title { 
    font-size: 15px; font-weight: 700; color: var(--bsm-text); margin-bottom: 2px; line-height: 1.3;
    min-height: 39px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.bsm-card-tag { font-size: 10px; font-weight: 700; color: var(--bsm-text-light); letter-spacing: 0.5px; }

.bsm-card-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.bsm-btn-view {
    background: var(--bsm-sage); color: var(--bsm-white); border: none; padding: 0 14px; border-radius: 50px;
    font-size: 12px; font-weight: 600; cursor: pointer; height: 32px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
}
.bsm-btn-view:hover { background: #6b836b; }
.bsm-btn-apply { padding: 12px 28px; font-size: 14px; height: auto; }

.bsm-btn-add {
    background: var(--bsm-white); color: var(--bsm-sage); border: 1px solid var(--bsm-sage); padding: 0 14px; border-radius: 50px;
    font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.2s ease; height: 32px; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
}
.bsm-btn-add:hover { background: var(--bsm-sage); color: var(--bsm-white); }

.bsm-badge-added {
    display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px;
    background: var(--bsm-sage-light); color: var(--bsm-sage); border-radius: 50%; font-size: 14px; font-weight: bold; flex-shrink: 0;
}
.bsm-btn-del { background: transparent; border: none; font-size: 16px; cursor: pointer; color: var(--bsm-text-light); padding: 4px; }
.bsm-btn-del:hover { color: var(--bsm-error); }

/* =========================================================
   MODALS & DETAIL CARDS
   ========================================================= */
.bsm-modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(40, 45, 40, 0.6); backdrop-filter: blur(4px);
    z-index: 99999; align-items: center; justify-content: center; padding: 20px;
}
.bsm-modal-overlay.active { display: flex; animation: fadeIn 0.2s ease; }
.bsm-modal-content {
    background: var(--bsm-white); border-radius: 24px; width: 100%; max-width: 550px;
    max-height: 90vh; overflow-y: auto; padding: 35px; position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15); color: var(--bsm-text);
}
.bsm-modal-close {
    position: absolute; top: 20px; right: 20px; background: var(--bsm-sage-light); border: none;
    width: 32px; height: 32px; border-radius: 50%; font-size: 14px; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--bsm-text); transition: all 0.2s;
}
.bsm-modal-close:hover { background: var(--bsm-sage); color: white; }

.bsm-modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 25px; border-bottom: 1px solid var(--bsm-border); padding-bottom: 15px;}
.bsm-modal-header h2 { margin: 0; font-size: 28px; font-weight: 800; color: var(--bsm-text); line-height: 1.2;}
.bsm-modal-score {
    color: white; width: 50px; height: 50px; border-radius: 50%;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); flex-shrink: 0; margin-left: 15px;
}
.bsm-modal-score .score-val { font-size: 18px; font-weight: 800; line-height: 1; }
.bsm-modal-score .score-label { font-size: 8px; font-weight: 600; letter-spacing: 0.5px; opacity: 0.9; }

.bsm-traffic-lights { display: flex; gap: 10px; margin-bottom: 25px; }
.bsm-traffic-lights .tl-item { flex: 1; text-align: center; }
.bsm-traffic-lights .tl-label { font-size: 11px; font-weight: 700; color: var(--bsm-text-light); margin-bottom: 6px; }
.bsm-traffic-lights .tl-bar { height: 4px; border-radius: 4px; margin-bottom: 6px; }
.bsm-traffic-lights .tl-val { font-size: 12px; font-weight: 600; color: var(--bsm-text); }

.bsm-context-box { background: var(--bsm-peach); padding: 15px 20px; border-radius: 12px; margin-bottom: 25px; font-size: 14px; line-height: 1.5; color: #5c4e42;}

.bsm-clean-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; font-size: 14px; color: var(--bsm-text); }
.bsm-clean-table th { text-align: left; padding: 10px 0; color: var(--bsm-text-light); font-weight: 600; border-bottom: 2px solid var(--bsm-border); }
.bsm-clean-table td { padding: 12px 0; border-bottom: 1px solid var(--bsm-border); font-weight: 500; }

.bsm-wellness-impact h3 { font-size: 13px; color: var(--bsm-text-light); letter-spacing: 1px; border-bottom: 1px solid var(--bsm-border); padding-bottom: 8px; margin-bottom: 15px;}
.bsm-wellness-impact .impact-row { display: flex; gap: 15px; margin-bottom: 15px; align-items: flex-start; }
.bsm-wellness-impact .impact-icon { font-size: 20px; }
.bsm-wellness-impact .impact-text strong { display: block; font-size: 12px; color: var(--bsm-sage); letter-spacing: 0.5px; margin-bottom: 2px; }
.bsm-wellness-impact .impact-text span { font-size: 13px; line-height: 1.4; color: var(--bsm-text); }

/* =========================================================
   CLINICAL OBJECTIVES & CHECKLISTS
   ========================================================= */
.bsm-objectives-card {
    background: var(--bsm-white); border-radius: 20px; padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); border: 1px solid var(--bsm-border); margin-bottom: 35px;
}
.bsm-obj-header {
    font-size: 16px; font-weight: 800; color: var(--bsm-text); margin-bottom: 20px;
    display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--bsm-border); padding-bottom: 15px;
}
.bsm-obj-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; align-items: start; }
.bsm-obj-title {
    font-size: 11px; font-weight: 700; color: var(--bsm-text-light); text-transform: uppercase;
    letter-spacing: 1px; margin-bottom: 12px;
}
.bsm-obj-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.bsm-tag { padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 700; letter-spacing: 0.3px; }
.bsm-tag-adopt { background: var(--bsm-sage-light); color: var(--bsm-sage); }
.bsm-tag-avoid { background: #ffeceb; color: #d46b6b; }

.bsm-filter-label { display: block; font-weight: 700; font-size: 15px; margin-bottom: 12px; color: var(--bsm-text); }

.bsm-checklist-wrapper {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; width: 100%; margin-bottom: 25px;
}
.bsm-checklist-item {
    display: flex; align-items: center; padding: 14px 18px; border: 1px solid var(--bsm-border);
    border-radius: 16px; cursor: pointer; transition: all 0.2s ease; background: var(--bsm-white);
    box-shadow: var(--bsm-shadow); user-select: none;
}
.bsm-checklist-item:hover { border-color: var(--bsm-sage); transform: translateY(-1px); }
.bsm-checklist-item.active { background: var(--bsm-sage-light); border-color: var(--bsm-sage); }

.bsm-checklist-box {
    width: 24px; height: 24px; border: 2px solid var(--bsm-border); border-radius: 6px;
    margin-right: 16px; display: flex; align-items: center; justify-content: center;
    background: var(--bsm-white); flex-shrink: 0; font-size: 14px; font-weight: bold;
    color: transparent; transition: all 0.2s ease;
}
.bsm-checklist-item.active .bsm-checklist-box {
    background: var(--bsm-sage); border-color: var(--bsm-sage); color: white;
}
.bsm-checklist-content { display: flex; flex-direction: column; }
.bsm-checklist-title { font-weight: 700; font-size: 15px; color: var(--bsm-text); }
.bsm-checklist-desc { font-size: 13px; color: var(--bsm-text-light); margin-top: 3px; }

/* =========================================================
   MOBILE RESPONSIVENESS
   ========================================================= */
@media (max-width: 600px) {
    .pantry-dashboard-wrapper { padding: 20px; margin: 20px auto; border-radius: 20px; }
    .pantry-top-controls { padding: 15px; }
    .pantry-actions-row { gap: 6px; }
    .pantry-action-btn { padding: 0 4px; height: 44px; border-radius: 12px; gap: 4px; }
    .pantry-pill-icon { font-size: 16px; }
    .pantry-pill-text { font-size: 11px; }
    .hide-mobile { display: none; }
    .bsm-modal-content { padding: 20px; }
    
    .bsm-objectives-card { padding: 15px; }
    .bsm-obj-header { font-size: 14px; margin-bottom: 15px; padding-bottom: 10px; }
    .bsm-obj-title { font-size: 10px; }
    .bsm-tag { padding: 4px 10px; font-size: 10px; }
    .bsm-obj-grid { gap: 10px; }

    .bsm-checklist-wrapper { gap: 10px; }
    .bsm-checklist-item { padding: 10px 12px; border-radius: 12px; }
    .bsm-checklist-box { width: 20px; height: 20px; margin-right: 10px; font-size: 12px; border-width: 1px; }
    .bsm-checklist-title { font-size: 12px; }
    .bsm-checklist-desc { font-size: 10px; margin-top: 2px; }
}