body {
 /*experiments*/
 background-image: url("https://bodysleepmind.com/wp-content/uploads/2026/01/mind4_bg.png");
  
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin: 0;
  padding: 0;
}
.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;
}


/*********menu ********/
/* =========================================
   MIND MODULE: NAVIGATION SYSTEM
   File: styleMind.css
   STATUS: TEAL IDENTITY | RECTANGLE HAMBURGER | DRAWER BG IMAGE
   ========================================= */

/* ----------------------------------------------------------
   1. GLOBAL CONTAINER CLEANUP
   ---------------------------------------------------------- */
.wp-block-navigation, 
.wp-block-navigation__container {
    background-color: transparent !important;
    border: none !important;
    gap: 10px !important; 
}

/* ----------------------------------------------------------
   2. DESKTOP TABS (The Pills)
   ---------------------------------------------------------- */
.wp-block-navigation-item__content {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    
    /* BASE STATE: White with Teal Outline */
    background-color: #ffffff !important;
    color: #008080 !important; /* TEAL */
    border: 1px solid #008080 !important;
    
    /* SHAPE: Rounded Pills (Keep soft on desktop) */
    border-radius: 50px !important;
    padding: 10px 24px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 0.85rem !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    transition: all 0.3s ease !important;
    box-shadow: none !important;
}

/* ----------------------------------------------------------
   3. INTERACTION STATES (Hover & Active)
   ---------------------------------------------------------- */
/* HOVER STATE */
.wp-block-navigation-item__content:hover {
    background-color: #008080 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 128, 128, 0.2) !important;
}

/* ACTIVE STATE (Standard WP Logic) */
.current-menu-item .wp-block-navigation-item__content {
    background-color: #008080 !important;
    color: #ffffff !important;
    border-color: #008080 !important;
    box-shadow: 0 4px 15px rgba(0, 128, 128, 0.3) !important;
    transform: translateY(-1px) !important;
}

/* ----------------------------------------------------------
   4. MOBILE HAMBURGER (The "Crisp" Rectangle)
   ---------------------------------------------------------- */
/* VISIBILITY RULE: Strict Hide on Desktop (>600px) */
@media (min-width: 601px) {
    .wp-block-navigation__responsive-container-open {
        display: none !important;
    }
}

/* MOBILE RULE: Show on Mobile (<600px) */
@media (max-width: 600px) {
    .wp-block-navigation__responsive-container-open {
        border: 2px solid #008080 !important; 
        border-radius: 0px !important;   /* CRISP RECTANGLE */
        padding: 10px 14px !important;   
        background-color: transparent !important; 
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        margin-top: 5px !important;      
    }
    .wp-block-navigation__responsive-container-open svg {
        width: 28px !important;  
        height: 28px !important;
        fill: #008080 !important; 
    }
}

/* ----------------------------------------------------------
   5. MOBILE DRAWER (THE POP-UP MENU)
   ---------------------------------------------------------- */
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open {
    padding: 40px 20px !important;
    background-color: #ffffff !important; 
    background-image: url('https://bodysleepmind.com/wp-content/uploads/2026/01/bowels_hearts.png') !important; 
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

/* STANDARD LINKS inside Drawer */
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open a {
    color: #008080 !important; 
    font-size: 1.2rem !important;
    margin-bottom: 15px !important;
    display: block !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

/* ACTIVE LINK inside Drawer */
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .current-menu-item .wp-block-navigation-item__content,
.wp-block-navigation__responsive-container.has-modal-open.is-menu-open .current-menu-item a {
    color: #ffffff !important;      
    background-color: #008080 !important;
}

/* Close Button (X) */
.wp-block-navigation__responsive-container-close {
    color: #008080 !important;
    background: transparent !important;
}

/* ----------------------------------------------------------
   6. DESKTOP SUBMENU (The Card Style)
   ---------------------------------------------------------- */
/* STRICTLY DESKTOP ONLY: Keeps the 'Card' look away from mobile */
@media (min-width: 601px) {

    /* A. THE CARET (Arrow) */
    .wp-block-navigation-submenu__toggle svg {
        fill: #008080 !important;
        width: 14px !important;
        height: 14px !important;
        stroke: #008080 !important;
        stroke-width: 1px !important;
    }

    /* B. THE DROPDOWN CONTAINER */
    .wp-block-navigation__submenu-container {
        background-color: #ffffff !important;
        border: 1px solid #008080 !important;
        border-radius: 20px !important;
        padding: 10px !important;
        margin-top: 10px !important;
        box-shadow: 0 4px 15px rgba(0, 128, 128, 0.15) !important;
        width: max-content !important; 
        min-width: 160px !important;
        max-width: 300px !important;
        position: absolute !important; /* Ensures it floats */
        z-index: 999 !important;
    }

    /* C. THE DROPDOWN ITEMS */
    .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
        border: none !important;
        background-color: transparent !important;
        color: #008080 !important;
        justify-content: flex-start !important;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 10px !important;
    }
    
    .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
        background-color: #f0fdfd !important;
    }
}

/* ----------------------------------------------------------
   7. MOBILE SUBMENU CLEANUP (The Indented List)
   ---------------------------------------------------------- */
/* STRICTLY MOBILE ONLY: Removes borders, adds structure */
@media (max-width: 600px) {

    /* Remove the "Card" borders/shadows */
    .wp-block-navigation__submenu-container {
        background-color: rgba(255,255,255,0.7) !important; /* Slight semi-transparent white backing for readability */
        border: none !important;
        box-shadow: none !important;
        width: 100% !important;
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        margin-top: 5px !important;
        padding-left: 0 !important;
        border-radius: 10px !important;
    }

    /* Style the Submenu Links (Indented Hierarchy) */
    .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
    .wp-block-navigation__submenu-container a {
        font-size: 1rem !important; /* Slightly smaller than main links */
        padding-left: 25px !important; /* The Indentation */
        color: #008080 !important;
        border: none !important;
        background: transparent !important;
        margin-bottom: 5px !important;
    }

    /* Hide the Toggle Arrow on Mobile (It's always open anyway) */
    .wp-block-navigation-submenu__toggle {
        display: none !important;
    }
}


/****************** ABOUT MANNER AND MENTAL PAGES*******************/

/*About*/
/* --- LAYOUT CONTAINER --- */
.mind-dashboard {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #334155;
    line-height: 1.75; 
	font-size: 20px;
    margin: 40px auto;
    padding: 20px;
}

/* --- UPPER HERO SECTION (White Card) --- */
.mind-hero-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 50px; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 40px;
    border: 1px solid #f1f5f9;
}

/* Flex Container for Desktop (Left Text, Right SVG) */
.mind-hero-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 60px; 
}

/* Left Column: Text */
.mind-hero-text {
    flex: 1; 
}

/* Right Column: Visual */
.mind-visual-wrapper {
    flex: 0 0 320px; 
    max-width: 100%;
}

.mind-kicker {
    font-size: 14px; 
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 15px;
    display: block;
}

.mind-title {
    font-size: 42px; 
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 25px 0;
    line-height: 1.2;
    letter-spacing: -1px;
}

.mind-about-intro {
	margin:20px !important;
	}

.mind-intro-paragraph {
    font-size: 20px; 
    color: #475569;
    margin-bottom: 0;
}

/* --- THE 3-COLUMN GRID --- */
.mind-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* --- INDIVIDUAL CARDS --- */
.mind-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    border-top: 6px solid #ccc; 
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.mind-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Colors */
.mind-card-blue { border-top-color: #0d6efd; }
.mind-card-green { border-top-color: #198754; }
.mind-card-red { border-top-color: #dc3545; }

.mind-card-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.mind-card-icon {
    font-size: 28px;
    background: #f8fafc;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mind-card-title {
    font-size: 24px; 
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.mind-card-subtitle {
    font-size: 13px;
    text-transform: uppercase;
    color: #94a3b8;
    letter-spacing: 1.5px;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.mind-card-body p {
    font-size: 17px; 
    color: #64748b;
    margin-bottom: 15px;
}

/* CTA BUTTONS */
.mind-btn {
    display: inline-block;
    padding: 14px 20px;
    background: #f1f5f9;
    color: #334155;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s;
    margin-top: auto; 
}

.mind-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.mind-btn strong { color: inherit; }

/* Consultant Card footer bar specifically */
.mind-card-footer-bar {
    height: 6px;
    width: 100%;
    margin-top: 20px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 900px) {
    .mind-hero-content {
        flex-direction: column; 
        text-align: center;
        gap: 40px;
    }
    
    .mind-visual-wrapper {
        flex: auto;
        width: 80%; 
        max-width: 350px;
    }

    .mind-hero-card { padding: 30px; }
    .mind-title { font-size: 32px; }
    .mind-intro-paragraph { font-size: 18px; }
}

/*----------------------------manner-----------------------------*/
/* WRAPPER */
.mind_explorer-container {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* HEADER SECTION */
.mind_header {
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}
.mind_title {
    color: #2c3e50;
    margin: 0 0 5px 0;
    font-size: 1.5rem;
}
.mind_subtitle {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.9rem;
}
.mind_intro-p {
    font-size: 1rem;
    color: #333;
    max-width: 700px;
    margin: 0 auto 15px auto;
    line-height: 1.5;
}
.mind_action-box {
    background: #eafaf1;
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    border: 1px solid #d5f5e3;
    margin-bottom: 10px;
}
.mind_action-text {
    color: #27ae60;
    font-weight: 700;
    font-size: 0.95rem;
}
.mind_disclaimer {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

/* DASHBOARD GRID (Side-by-Side) */
.mind_dashboard {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-start;
}
.mind_column {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 10px;
}
.mind_col-title {
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
}

/* VISUALIZATIONS */
.mind_svg {
    width: 60%;
    height: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: block;
    margin-bottom: 10px;
    margin: 0 auto 10px auto; 
}

/* SLIDERS */
.mind_slider-wrapper {
    margin-bottom: 8px;
}
.mind_slider-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #555;
    display: flex;
    justify-content: space-between;
}
.mind_range-input {
    width: 100%;
    margin: 2px 0;
    cursor: pointer;
}

/* RESULT CARD */
.mind_result-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-top: 15px;
    border: 1px solid #ddd;
}
.mind_card-header {
    background: #2c3e50;
    color: #fff;
    padding: 10px 15px;
    text-align: center;
    transition: background 0.3s ease;
}
.mind_arch-type {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}
.mind_arch-name {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
}

/* CARD BODY */
.mind_card-body {
    padding: 15px;
}
.mind_sentiment {
    font-size: 0.95rem;
    color: #444;
    font-style: italic;
    line-height: 1.5;
    border-left: 3px solid #eee;
    padding-left: 12px;
    margin-bottom: 10px;
}
.mind_stats-box {
    background: #f1f2f3;
    padding: 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: #666;
    display: flex;
    justify-content: space-between;
    border: 1px solid #e1e1e1;
}
.mind_stat-val {
    color: #333;
    font-weight: bold;
}

/* SAVE BUTTON STYLES */
.mind_save-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: #27ae60;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 15px;
    transition: background 0.2s;
}
.mind_save-btn:hover {
    background: #219150;
}
.mind_success-message {
    background: #d4edda;
    color: #155724;
    padding: 10px;
    text-align: center;
    border: 1px solid #c3e6cb;
    border-radius: 6px;
    margin-bottom: 20px;
}


/* --- --------------SEARCH TOOLS LIBRARY STYLES ------------------------- */

/*
    .mind-library-header { text-align: center; margin: 40px 0; }
    
    .mind-search-box { 
        width: 100%; max-width: 400px; padding: 12px; 
        border: 2px solid #eee; border-radius: 30px; 
        font-size: 1rem; margin: 0 auto 30px auto; 
        display: block; outline: none; text-align: center; 
        font-family: inherit;
    }
    .mind-search-box:focus { border-color: #4AA3A2; }

    .mind-filter-bar { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
    
    .mind-filter-btn { 
        padding: 8px 16px; border-radius: 20px; 
        border: 1px solid #ccc; background: #fff; 
        cursor: pointer; font-size: 0.9rem; color: #555; 
        transition: all 0.3s; 
    }
    .mind-filter-btn:hover, .mind-filter-btn.active { 
        background: #2c3e50; color: #fff; border-color: #2c3e50; 
    }
    
    .mind-tools-grid { 
        display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; 
    }
    
    /* Card Styles */
	
	/*
    .mind-tool-card { 
        background: #fff; border: 1px solid #e0e0e0; 
        border-radius: 8px; overflow: hidden; 
        transition: transform 0.2s; position: relative; 
    }
    .mind-tool-card:hover { transform: translateY(-3px); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
    
    .mind-tool-header { 
        padding: 15px; color: #fff; font-weight: bold; 
        text-transform: uppercase; font-size: 0.85rem; 
        letter-spacing: 1px; display: flex; justify-content: space-between; 
    }
	.mind-header-reactive { 
		background-color: #D97575 !important; /* Calmer Soft Red/Rose */
	}
/*
	.mind-header-preventative { 
		background-color: #68A678 !important; /* Calmer Sage Green */
	}
    
 /*
     .mind-tool-body { padding: 20px; }
    
    .mind-tool-title { font-size: 1.2rem; font-weight: 700; color: #2c3e50; margin-bottom: 5px; display:block;}
    .mind-tool-category { font-size: 0.75rem; text-transform: uppercase; color: #999; margin-bottom: 15px; display: block; }
    
    .mind-tool-detail { font-size: 0.9rem; color: #555; margin-bottom: 8px; line-height: 1.5; }
    .mind-int-link { color: #2980b9; text-decoration: none; font-weight: 600; }
    
    .mind-tags { margin-top: 15px; border-top: 1px dashed #eee; padding-top: 10px; }
    .mind-tag { 
        display: inline-block; font-size: 0.7rem; 
        background: #f0f0f0; padding: 2px 8px; 
        border-radius: 4px; color: #777; margin-right: 5px; margin-bottom: 5px;
    }
	
	
	.mind-search-tags {
    margin-top: 10px;
    margin-bottom: 5px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.mind-pill {
    background-color: #e3f2fd; 
    color: #1565c0;           /
    border-radius: 12px;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid #bbdefb;
}


/* --- MODERN LIBRARY CONTAINER --- */
.mind-library-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #444;
}

/* --- HERO HEADER --- */
.mind-lib-header {
    text-align: center;
    padding: 60px 20px 40px 20px;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.mind-lib-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0;
    letter-spacing: -1px;
}

.mind-lib-subtitle {
    font-size: 1.1rem;
    color: #7f8c8d;
    margin-top: 10px;
    font-weight: 400;
}

/* --- SEARCH BAR --- */
.mind-search-container {
    position: relative;
    max-width: 500px;
    margin: -30px auto 40px auto; /* Pulls it up into the header slightly */
    z-index: 10;
	margin-bottom:20px;
}

.mind-search-input {
    width: 100%;
    padding: 18px 25px;
    border-radius: 50px;
    border: none;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    text-align: center;
}

.mind-search-input:focus {
    box-shadow: 0 8px 25px rgba(74, 163, 162, 0.2);
    transform: scale(1.02);
}

/* --- FILTER BUTTONS --- */
.mind-filter-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 50px;
}

.mind-filter-pill {
    padding: 10px 20px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.mind-filter-pill:hover {
    transform: translateY(-2px);
    border-color: #4AA3A2;
    color: #4AA3A2;
}

.mind-filter-pill.active {
    background: #4AA3A2;
    color: #fff;
    border-color: #4AA3A2;
    box-shadow: 0 5px 15px rgba(74, 163, 162, 0.3);
}

/* --- CARD GRID --- */
.mind-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 10px;
}

/* --- THE MODERN CARD --- */
.mind-modern-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #f0f0f0;
    padding: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.mind-modern-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.06);
    border-color: #fff;
}

/* Mode Indicator (Top colored border) */
.mind-mode-strip {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
}
.strip-reactive { background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%); } /* Soft Red Gradient */
.strip-preventative { background: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%); } /* Soft Green Gradient */
.strip-medical { background: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%); } /* Soft Grey Gradient */

/* Watermark Icon */
.mind-card-watermark {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 6rem;
    opacity: 0.05;
    pointer-events: none;
    filter: grayscale(100%);
}

/* Content */
.mind-modern-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.mind-modern-step {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #999;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 8px;
}

.mind-modern-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #2c3e50;
    margin: 0 0 5px 0;
    line-height: 1.2;
}

.mind-modern-cat {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4AA3A2; /* Brand Teal */
    margin-bottom: 15px;
    display: block;
}

.mind-modern-body p {
    font-size: 0.95rem;
    color: #555;
    margin: 0 0 10px 0;
    line-height: 1.6;
}

.mind-modern-body strong {
    color: #333;
}

/* Link Style */
.mind-int-link-modern {
    color: #4AA3A2;
    text-decoration: none;
    border-bottom: 1px dotted #4AA3A2;
    transition: all 0.2s;
}
.mind-int-link-modern:hover {
    color: #2c3e50;
    border-bottom-style: solid;
}

/* Tags */
.mind-modern-tags {
    margin-top: auto; /* Pushes to bottom */
    padding-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mind-modern-pill {
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 12px;
    background: #f0f4f8;
    color: #556;
    font-weight: 600;
}

/* Footer Button */
.mind-modern-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #eee;
    text-align: right;
}

.mind-view-btn {
    font-size: 0.85rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: gap 0.2s;
}
.mind-view-btn:hover {
    gap: 8px;
    color: #4AA3A2;
}

    /* ... (Previous Drawer Styles Preserved) ... */
    .mind-drawer-backdrop {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.5); z-index: 9998;
        opacity: 0; visibility: hidden; transition: opacity 0.3s ease;
    }
    .mind-drawer-backdrop.open { opacity: 1; visibility: visible; }

    .mind-drawer-panel {
        position: fixed; top: 0; right: -100%; width: 90%; max-width: 850px; height: 100%;
        background: white; z-index: 9999; box-shadow: -5px 0 25px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1); overflow-y: auto; padding: 40px 20px;
    }
    .mind-drawer-panel.open { right: 0; }

    .mind-drawer-close {
        position: absolute; top: 20px; right: 20px; background: #f1f1f1;
        border: none; font-size: 24px; width: 40px; height: 40px; border-radius: 50%;
        cursor: pointer; color: #333; display: flex; align-items: center; justify-content: center;
        transition: background 0.2s; z-index: 10000;
    }
    .mind-drawer-close:hover { background: #e0e0e0; color: #d32f2f; }

    /* === CARD STYLES === */
    .mind-modern-header {
        position: relative;
        display: flex;
        justify-content: flex-end; /* Changed to flex-end so Add button stays right */
        align-items: center;
        margin-bottom: 10px;
        min-height: 30px; /* Ensures height if button is only element */
    }

    .mind-rx-btn {
        background: white;
        border: 1px solid #ddd;
        color: #aaa;
        border-radius: 20px;
        padding: 4px 12px;
        font-size: 0.75rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        gap: 5px;
    }
    .mind-rx-btn:hover {
        border-color: #4AA3A2;
        color: #4AA3A2;
    }
    .mind-rx-btn.added {
        background: #e0f2f1;
        border-color: #4AA3A2;
        color: #00695c;
    }

    .mind-meta-row {
        display: flex;
        gap: 15px;
        font-size: 0.8rem;
        color: #7f8c8d;
        margin-bottom: 12px;
        font-weight: 600;
        background: #fafafa;
        padding: 6px 10px;
        border-radius: 6px;
        align-self: flex-start;
    }
    
    /* Sleep Filter Button Specifics */
    .mind-filter-pill[data-filter="sleep"] {
        background-color: #f4f6f8;
        border-color: #7f8c8d;
        color: #2c3e50;
    }
    .mind-filter-pill[data-filter="sleep"].active {
        background-color: #2c3e50; /* Midnight Blue for Sleep Active */
        color: white;
        border-color: #2c3e50;
    }
	
	
/*************Prescription Page***********************/
    /* --- Main Layout Wrappers --- */
    .mind-card-wrapper {
        margin-bottom: 30px;
    }

    /* --- Reactive Tool Cards (Red Zone) --- */
    .mind-tool-card-red {
        background: #fdf2f2;
        border-left: 4px solid #c0392b;
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 0 8px 8px 0;
    }

    /* --- Preventative Tool Cards (Green Zone) --- */
    .mind-tool-card-green {
        background: #eafaf1;
        border-left: 4px solid #27ae60;
        padding: 15px;
        margin-bottom: 15px;
        border-radius: 0 8px 8px 0;
    }

    /* --- Tool Lists & Typography --- */
    .mind-tool-list {
        margin: 10px 0 0 0;
        padding-left: 20px;
        font-size: 0.95rem;
        color: #555;
        list-style-type: disc;
    }

    .mind-tool-link {
        text-align: right;
        margin-top: 5px;
    }

    .mind-tool-link a {
        font-size: 0.85rem;
        font-weight: bold;
        text-decoration: none;
    }

    /* --- Swap/Action Buttons --- */
    .mind-swap-container {
        text-align: center;
        margin-top: 15px;
        padding-top: 10px;
        border-top: 1px dotted #ccc;
    }

    .mind-swap-btn {
        font-size: 0.85rem;
        color: #7f8c8d;
        text-decoration: underline;
        cursor: pointer;
    }

    /* --- Brand / Fabulous You Section --- */
    .mind-hero-brand {
        background: #ffffff;
        border-radius: 20px;
        padding: 40px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        margin-top: 40px;
        border: 1px solid #f1f5f9;
        border-top: 6px solid #4AA3A2;
        text-align: center;
    }

    /* --- Action Footer --- */
    .mind-actions-footer {
        margin-top: 30px;
        margin-bottom: 60px;
    }

    /* --- Horizontal Button Row (Mobile Scrollable) --- */
    .mind-btn-row {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        gap: 15px;
        justify-content: center;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .mind-btn {
        flex: 0 0 auto;
        background: #f1f5f9;
        border: 1px solid #ccc;
        padding: 12px 24px;
        cursor: pointer;
        font-weight: bold;
        color: #333;
        border-radius: 30px;
        font-size: 0.95rem;
        white-space: nowrap;
        transition: background 0.2s, transform 0.2s;
    }

    .mind-btn:hover {
        background: #e2e8f0;
        transform: translateY(-2px);
    }

    /* --- Drawer Backdrop & Panel --- */
    .mind-drawer-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 9998;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
    }

    .mind-drawer-backdrop.open {
        opacity: 1;
        visibility: visible;
    }

    .mind-drawer-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 90%;
        max-width: 850px;
        height: 100%;
        background: white;
        z-index: 9999;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
        transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        overflow-y: auto;
        padding: 40px 20px;
    }

    .mind-drawer-panel.open {
        right: 0;
    }

    .mind-drawer-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: #f1f1f1;
        border: none;
        font-size: 24px;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        color: #333;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
        z-index: 10000;
    }

    /* --- Content Content Grids (Lists) --- */
    .lists-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-top: 20px;
        text-align: left;
    }

    .list-box {
        padding: 20px;
        border-radius: 8px;
        border: 1px solid #eee;
    }

    .avoid-box {
        background: #fff5f5;
        border-color: #feb2b2;
    }

    .avoid-box h4 {
        color: #c53030;
        margin-top: 0;
    }

    .embrace-box {
        background: #f0fff4;
        border-color: #9ae6b4;
    }

    .embrace-box h4 {
        color: #2f855a;
        margin-top: 0;
    }

    .list-box ul {
        padding-left: 20px;
        margin-bottom: 0;
    }

    .list-box li {
        margin-bottom: 8px;
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .job-box {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        padding: 20px;
        border-radius: 8px;
        margin-top: 20px;
    }

    /* --- Responsive Adjustments --- */
    @media(max-width: 600px) {
        .lists-grid {
            grid-template-columns: 1fr;
        }
    }



/********NEURO LOAD********/
    .mind-gad-container {       
        margin: 20px auto;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    .mind-gad-card {
        background: #fff;
        border-radius: 12px;
        border: 1px solid #e0e0e0;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        overflow: hidden;
    }

    .mind-gad-header {
        background: #f8f9fa;
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mind-gad-title {
        margin: 0;
        font-size: 1rem;
        font-weight: 700;
        color: #2c3e50;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mind-gad-body {
        padding: 25px;
        text-align: center;
    }

    .mind-gad-score-circle {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto 15px auto;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        font-weight: 800;
        color: white;
        border: 4px solid white;
        outline: 1px solid #eee;
        transition: background-color 0.3s ease;
    }

    .mind-gad-status {
        font-size: 1.4rem;
        font-weight: 700;
        color: #333;
        margin-bottom: 5px;
    }

    .mind-gad-desc {
        font-size: 0.95rem;
        color: #7f8c8d;
        margin-bottom: 20px;
        font-style: italic;
    }

    .mind-gad-meter-bg {
        height: 8px;
        width: 100%;
        background: #eee;
        border-radius: 4px;
        overflow: hidden;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .mind-gad-meter-fill {
        height: 100%;
        border-radius: 4px;
        transition: width 0.5s ease-in-out;
    }

    .mind-gad-adjust-area {
        background: #f9f9f9;
        border-top: 1px dashed #ddd;
        padding-top: 20px;
        margin-top: 10px;
    }

    .mind-gad-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        margin-bottom: 15px;
    }

    input[type=range].mind-gad-range {
        -webkit-appearance: none;
        width: 70%;
        height: 8px;
        background: #d3d3d3;
        border-radius: 5px;
        outline: none;
    }

    input[type=range].mind-gad-range::-webkit-slider-thumb {
        -webkit-appearance: none;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #2c3e50;
        cursor: pointer;
    }

    .mind-gad-slider-val {
        font-size: 1.2rem;
        font-weight: 800;
        color: #2c3e50;
        width: 30px;
    }

    .mind-gad-save-btn {
        background-color: #2c3e50;
        color: white;
        border: none;
        padding: 10px 25px;
        font-size: 0.9rem;
        font-weight: 700;
        border-radius: 25px;
        cursor: pointer;
        transition: background-color 0.2s;
    }

    .mind-gad-save-btn:hover {
        background-color: #34495e;
    }

    .mind-success-message {
        background: #d4edda;
        color: #155724;
        padding: 10px;
        text-align: center;
        border: 1px solid #c3e6cb;
        border-radius: 6px;
        margin-bottom: 20px;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

	
/********NEURO STATE********/
   .mind-triage-wrapper {
        max-width: 900px;
        margin: 40px auto;
        font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    }

    .mind-triage-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        margin-bottom: 15px;
        padding: 0 5px;
    }

    .mind-t-title {
        font-size: 1.4rem;
        font-weight: 800;
        color: #2c3e50;
        margin: 0;
    }

    .mind-t-sub {
        font-size: 0.95rem;
        color: #7f8c8d;
        margin-top: 5px;
    }

    .mind-triage-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-bottom: 20px;
    }

    .mind-triage-btn {
        background: white;
        border: 1px solid #e0e0e0;
        border-bottom: 4px solid #e0e0e0;
        border-radius: 8px;
        padding: 20px 5px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
        position: relative;
    }

    .mind-triage-btn:hover {
        transform: translateY(-3px);
    }

    .mind-t-label {
        display: block;
        font-size: 1rem;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 8px;
        color: #2c3e50;
    }

    .mind-t-sub {
        display: block;
        font-size: 0.7rem;
        text-transform: uppercase;
        letter-spacing: 1px;
        font-weight: 700;
        color: #95a5a6;
    }

    /* Active States */
    .mind-triage-btn.mind-active-ALARM {
        background: #e74c3c;
        border-color: #c0392b;
        border-bottom-width: 0;
        transform: translateY(4px);
    }

    .mind-triage-btn.mind-active-ALARM .mind-t-label,
    .mind-triage-btn.mind-active-ALARM .mind-t-sub {
        color: white;
    }

    .mind-triage-btn.mind-active-FREEZE {
        background: #3498db;
        border-color: #2980b9;
        border-bottom-width: 0;
        transform: translateY(4px);
    }

    .mind-triage-btn.mind-active-FREEZE .mind-t-label,
    .mind-triage-btn.mind-active-FREEZE .mind-t-sub {
        color: white;
    }

    .mind-triage-btn.mind-active-LOOP {
        background: #f1c40f;
        border-color: #f39c12;
        border-bottom-width: 0;
        transform: translateY(4px);
    }

    .mind-triage-btn.mind-active-LOOP .mind-t-label,
    .mind-triage-btn.mind-active-LOOP .mind-t-sub {
        color: white;
        text-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    }

    .mind-triage-btn.mind-active-STABLE {
        background: #2ecc71;
        border-color: #27ae60;
        border-bottom-width: 0;
        transform: translateY(4px);
    }

    .mind-triage-btn.mind-active-STABLE .mind-t-label,
    .mind-triage-btn.mind-active-STABLE .mind-t-sub {
        color: white;
    }

    /* Cloud */
    #mind-triage-cloud-display {
        background: #f8f9fa;
        border: 2px dashed #e0e0e0;
        border-radius: 12px;
        padding: 25px;
        min-height: 160px;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        text-align: left;
        transition: all 0.3s ease;
        margin-bottom: 20px;
        font-size: 0.95rem;
        line-height: 1.5;
        color: #444;
    }

    .mind-cloud-header {
        width: 100%;
        text-align: center;
        font-weight: 800;
        text-transform: uppercase;
        margin-bottom: 15px;
        display: block;
        font-size: 0.9rem;
        letter-spacing: 1px;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .mind-cloud-cat-title {
        font-weight: 700;
        color: #2c3e50;
        margin-top: 8px;
        display: inline-block;
    }

    .mind-cloud-list-item {
        display: block;
        margin-bottom: 4px;
    }

    .mind-cloud-placeholder {
        text-align: center;
        width: 100%;
        color: #bbb;
        font-style: italic;
        margin-top: 40px;
    }

    .mind-save-bar {
        text-align: center;
        margin-top: 10px;
    }

    .mind-triage-submit-btn {
        background-color: #2c3e50;
        color: white;
        border: none;
        padding: 15px 40px;
        font-size: 1.1rem;
        font-weight: 700;
        border-radius: 40px;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(44, 62, 80, 0.3);
        transition: transform 0.2s, background-color 0.2s;
    }

    .mind-triage-submit-btn:hover {
        background-color: #4AA3A2;
        transform: scale(1.05);
    }

    .mind-success-message {
        background: #d4edda;
        color: #155724;
        padding: 10px;
        text-align: center;
        border: 1px solid #c3e6cb;
        border-radius: 6px;
        margin-bottom: 20px;
        opacity: 1;
        transition: opacity 0.5s ease;
    }

    @media (max-width: 768px) {
        .mind-triage-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }
	
	
