/*
╔════════════════════════════════════════════════════════════════════╗
║  ROOTED VITALITY, INC.                                             ║
║  File: styles/pages.css                                            ║
║  Purpose: Page-Specific Styles (Index, Dashboard, Signup, etc.)    ║
║  Holistic Wellness · Modern Connection Platform                    ║
║  rootedvitality.health | 2025                                         ║
╚════════════════════════════════════════════════════════════════════╝

TABLE OF CONTENTS
  1. INDEX PAGE - Hero Sections
  2. INDEX PAGE - Toggle & Tabs
  3. INDEX PAGE - Search & Articles
  4. INDEX PAGE - Legal Section
  5. DASHBOARD PAGES
  6. SIGNUP PAGES
  7. ARTICLE PAGES
  8. POLICY PAGES
  9. RESPONSIVE OVERRIDES

Extracted from: styles_legacy.css (lines 1284-3856)
Note: Page-specific selectors wrapped with logical body classes where applicable
*/

/* ========================================== */
/* 1. INDEX PAGE - Hero Sections */
/* ========================================== */
.toggle-top-section {
    padding: 2rem 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.featured-heros {
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    margin-bottom: 4rem;
    margin-left: auto;
    margin-right: auto;
    border-radius: 16px;
    position: relative;
    overflow: visible;
    max-width: 1200px;
    width: calc(100% - 2rem);
}

.hero-section:nth-child(1) {
    background: rgba(235, 246, 232, 0.95);
    overflow: hidden;
    align-items: center;
    min-height: 480px;
    border-radius: 24px;
    display: flex;
}

.hero-section.practitioner-hero:nth-child(1) {
    background: rgba(250, 226, 202, 0.95);
}

.hero-section:nth-child(1) .hero-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    width: 48%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-section:nth-child(1) .hero-image {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 52%;
    height: 100%;
    min-height: 480px;
    border-radius: 50% 24px 24px 50% / 50% 24px 24px 50%;
    object-fit: cover;
    box-shadow: inset -10px 0 30px rgba(93, 106, 62, 0.1);
    z-index: 1;
}

.hero-section.client-hero:nth-child(1) .hero-content {
    margin-left: auto;
    margin-right: 0;
}

.hero-section.client-hero:nth-child(1) .hero-image {
    left: 0;
    right: auto;
    border-radius: 24px 50% 50% 24px / 24px 50% 50% 24px;
}

.hero-section:nth-child(2) {
    background: rgba(251, 247, 236, 0.80);
    padding: 0;
}

.hero-section.client-second {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: rgba(251, 247, 236, 0.80);
}

.hero-section.client-second .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    order: 1;
}

.hero-section.client-second .hero-content {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 0;
}

.hero-section.practitioner-first {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    background: rgba(250, 226, 202, 0.80);
}

.hero-section.practitioner-first .hero-image {
    order: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-section.practitioner-first .hero-content {
    order: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    margin-top: 0.5rem;
}

.hero-image {
    width: 100%;
    height: 300px;
    background: rgba(0,0,0,0.08);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-secondary);
    font-size: 0.9rem;
    text-align: center;
    padding: 1rem;
    font-style: italic;
    object-fit: cover;
}

/* ========================================== */
/* 2. INDEX PAGE - Toggle & Tabs */
/* ========================================== */
.tab-container-top {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.tab-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.tab-btn {
    padding: 0.7rem 2rem;
    border: 2px solid var(--rooted-light);
    background: var(--color-white);
    color: var(--color-text-light);
    font-family: var(--font-sans);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
}

.tab-btn:hover {
    background: #ebf6e8;
    border-color: var(--text-accent);
    color: var(--text-accent);
}

.tab-btn.active {
    background: var(--rooted-primary);
    color: var(--color-white);
    border-color: var(--text-accent);
    box-shadow: 0 4px 12px rgba(92, 154, 114, 0.3);
}

.tab-btn:focus {
    outline: 2px solid var(--rooted-primary);
    outline-offset: 2px;
}

.toggle-caption {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
}

/* ========================================== */
/* 3. INDEX PAGE - Search & Articles */
/* ========================================== */
.search-articles-section {
    display: none;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.search-articles-section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-align: center;
}

.search-articles-section-inline {
    margin: 3rem auto;
    padding: 2rem 1rem;
    max-width: 1200px;
    position: relative;
    z-index: 1;
}

.search-articles-section-inline h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--color-text);
    text-align: center;
}

.search-container {
    margin-bottom: 2rem;
    text-align: center;
}

.search-bar {
    width: 100%;
    max-width: 500px;
    padding: 0.8rem 1.2rem;
    font-size: 1rem;
    border: 2px solid var(--rooted-light);
    border-radius: 8px;
    background: var(--color-white);
    color: var(--color-text);
    outline: none;
    transition: border 0.3s;
}

.search-bar:focus {
    border-color: var(--color-button);
}

.articles-section {
    margin-bottom: 4rem;
}

.articles-section h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.search-articles-section-inline .articles-grid {
    max-width: 1100px;
    margin: 0 auto 3rem auto;
    padding: 0 1rem;
}

/* ========================================== */
/* 4. INDEX PAGE - Legal Section */
/* ========================================== */
.legal-section {
    background: rgba(249, 249, 249, 0.50);
    padding: 3rem;
    border-radius: 12px;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.legal-section h2 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.legal-caption {
    font-size: 0.95rem;
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.legal-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.8rem 2rem;
}

.legal-links a {
    color: var(--color-button);
    text-decoration: underline;
    font-weight: 700;
    transition: all 0.2s;
}

.legal-links a:hover {
    color: var(--color-text);
    background: var(--color-hover);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    text-decoration: none;
}

.legal-links a:focus {
    outline: 2px solid var(--color-button);
    outline-offset: 2px;
}

/* ========================================== */
/* 5. DASHBOARD PAGES */
/* ========================================== */
body.dashboard-pro,
body.dashboard-client {
    background: var(--rooted-light);
}

body.dashboard-pro .dashboard-wrapper,
body.dashboard-client .dashboard-wrapper {
    min-height: calc(100vh - 200px);
    padding: 3rem 0;
}

/* ========================================== */
/* 6. SIGNUP PAGES */
/* ========================================== */
body.signup .practitioner-hero {
    background: linear-gradient(135deg, var(--rooted-sage) 0%, var(--rooted-neutral) 100%);
    padding: 4rem 2rem 3rem;
    text-align: center;
    border-bottom: 1px solid rgba(92, 154, 114, 0.15);
}

body.signup .progress-section {
    background: var(--rooted-light);
    padding: 2rem 1rem;
    border-bottom: 1px solid rgba(92, 154, 114, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 8px rgba(46, 43, 40, 0.05);
}

/* ========================================== */
/* SIGNUP FORM CARD STYLING */
/* ========================================== */

.signup-container {
    max-width: 800px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    position: relative;
    z-index: 10;
}

.signup-hero {
    text-align: center;
    margin-bottom: 2.5rem;
}

.signup-hero h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--rooted-primary, #77883e);
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.signup-hero p {
    font-size: 1rem;
    color: #6b6359;
    line-height: 1.6;
}

.signup-form {
    background: var(--rooted-light);
    border: 1px solid rgba(92, 154, 114, 0.15);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 12px rgba(92, 154, 114, 0.08);
    backdrop-filter: blur(4px);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-grid > div {
    display: flex;
    flex-direction: column;
}

.form-grid label {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2e2b28;
    margin-bottom: 0.6rem;
    display: block;
}

.form-grid input,
.form-grid select {
    padding: 0.8rem 1rem;
    border: 1px solid #e0d5cc;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #2e2b28;
    background: var(--rooted-light);
    transition: all 0.3s ease;
}

.form-grid input:focus,
.form-grid select:focus {
    outline: none;
    border-color: var(--rooted-primary, #77883e);
    background: var(--rooted-light);
    box-shadow: 0 0 0 3px rgba(92, 154, 114, 0.1);
}

.form-grid input::placeholder {
    color: #a89f95;
}

.form-helper {
    font-size: 0.85rem;
    color: #7a7370;
    margin-top: 0.4rem;
    font-weight: 500;
}

.signup-consent {
    margin-bottom: 2rem;
    padding: 1.2rem;
    background: rgba(92, 154, 114, 0.05);
    border-radius: 8px;
}

.signup-consent label {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
    color: #2e2b28;
    margin-bottom: 0;
    gap: 0.8rem;
}

.signup-consent input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--rooted-primary, #77883e);
}

.signup-consent a {
    color: var(--rooted-primary, #77883e);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.signup-consent a:hover {
    color: #4a8460;
}

.signup-submit {
    display: block;
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--rooted-primary, #77883e);
    color: var(--text-light);
    border: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.signup-submit:hover {
    background: #4a8460;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(92, 154, 114, 0.3);
}

.signup-submit:active {
    transform: translateY(0);
}

.signup-alt {
    text-align: center;
    font-size: 0.9rem;
    color: #6b6359;
}

.signup-alt strong {
    color: var(--rooted-accent, #d4c47c);
    font-weight: 600;
}

/* Single column on mobile */
@media (max-width: 600px) {
    .signup-container {
        margin: 2rem 1rem;
    }

    .signup-form {
        padding: 1.5rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .signup-hero h1 {
        font-size: 1.8rem;
    }
}

/* ========================================== */
/* 7. ARTICLE PAGES */
/* ========================================== */
body.article .container-narrow {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ========================================== */
/* 8. POLICY PAGES */
/* ========================================== */
body.policy .container-narrow {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/* ========================================== */
/* 9. RESPONSIVE OVERRIDES */
/* ========================================== */
@media (max-width: 1024px) {
    .hero-section:nth-child(1) {
        min-height: 420px;
    }
    
    .hero-section:nth-child(1) .hero-content {
        padding: 2.5rem;
        width: 48%;
    }
    
    .hero-section:nth-child(1) .hero-image {
        width: 52%;
        min-height: 420px;
    }
    
    .hero-content {
        padding: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-articles-section h2 {
        font-size: 1.4rem;
    }
    
    .articles-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .toggle-top-section {
        padding: 1.5rem 0;
    }
    
    .tab-container-top {
        gap: 0.75rem;
    }
    
    .tab-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .featured-heros {
        margin-bottom: 2.5rem;
    }
    
    .hero-section:nth-child(1) {
        display: flex;
        flex-direction: column;
        min-height: auto;
        margin-bottom: 2.5rem;
    }
    
    .hero-section:nth-child(1) .hero-content {
        width: 100%;
        padding: 2rem 1.5rem;
        order: 2;
    }
    
    .hero-section:nth-child(1) .hero-image {
        position: relative;
        width: 100%;
        height: 300px;
        right: auto;
        top: auto;
        transform: none;
        border-radius: 0 0 24px 24px;
        order: 1;
    }
    
    .hero-section {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 2.5rem;
        border-radius: 12px;
    }
    
    .hero-section:nth-child(2) {
        display: flex;
        flex-direction: column;
    }
    
    .hero-section.client-second {
        display: flex;
        flex-direction: column;
    }
    
    .hero-section.client-second .hero-image {
        order: 2;
        width: 100%;
        height: 300px;
        border-radius: 0 0 12px 12px;
    }
    
    .hero-section.client-second .hero-content {
        order: 1;
        padding: 2rem 1.5rem;
    }
    
    .hero-section.practitioner-second {
        display: flex;
        flex-direction: column;
    }
    
    .hero-section.practitioner-second .hero-image {
        order: 2;
        width: 100%;
        height: 300px;
        border-radius: 0 0 12px 12px;
    }
    
    .hero-section.practitioner-second .hero-content {
        order: 1;
        padding: 2rem 1.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .search-articles-section-inline {
        padding: 1.5rem 0.5rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .legal-section {
        padding: 2rem 1.5rem;
    }
    
    .legal-links {
        grid-template-columns: 1fr;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .hero-section:nth-child(1) .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .search-bar {
        max-width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.95rem;
    }
    
    .legal-section {
        padding: 1.5rem 1rem;
    }
}

/* ========================================== */
/* LANDING PAGE - Under Construction */
/* ========================================== */
.landing-under-construction {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    align-items: center;
}

.landing-under-construction main {
    flex: 1;
    margin: 3rem 2rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--rooted-light);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    max-width: 600px;
    width: 100%;
}

.landing-under-construction .caution-icon {
    margin-bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
JMNUY69

.landing-under-construction footer {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
}

/* ========================================== */
/* PRACTITIONER DASHBOARD - Single Page Tabs */
/* ========================================== */
body.pro-dashboard {
    background: var(--rooted-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body.pro-dashboard main {
    flex: 1;
}

.pro-tabs {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}

.pro-tabs .tab {
    background: none;
    border: none;
    font: 600 1rem var(--font-sans);
    cursor: pointer;
    color: #2e2b28;
    padding: 0.5rem 0.75rem;
    transition: color 0.2s ease, border-color 0.2s ease;
    position: relative;
}

.pro-tabs .tab:hover {
    color: var(--text-accent);
}

.pro-tabs .tab.active {
    color: var(--text-accent);
    border-bottom: 2px solid #77883e;
}

.tab-panel {
    display: none;
    padding: 2rem 1rem;
}

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

.tab-panel h1 {
    font-size: 2rem;
    color: #2e2b28;
    margin-bottom: 1rem;
    font-weight: 700;
}

.tab-panel p {
    font-size: 1rem;
    color: #6b6359;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Placeholder Table Styling */
.placeholder-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    background: var(--rooted-light);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.placeholder-table th {
    background: var(--rooted-light);
    border: 1px solid #e8ddd5;
    padding: 0.75rem;
    text-align: left;
    font-weight: 600;
    color: #2e2b28;
}

.placeholder-table td {
    border: 1px solid #e8ddd5;
    padding: 0.75rem;
    text-align: left;
    color: #6b6359;
}

.placeholder-table tr:hover {
    background: var(--rooted-light);
}

.placeholder-table .btn-accent {
    background: #77883e;
    color: var(--text-light);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease;
}

.placeholder-table .btn-accent:hover {
    background: #4a7a5b;
}

.placeholder-table .btn-neutral {
    background: var(--rooted-light);
    color: #2e2b28;
    border: 1px solid #d0ccc7;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-left: 0.5rem;
}

.placeholder-table .btn-neutral:hover {
    background: #d0ccc7;
    border-color: #b5b0a8;
}

.placeholder-table .btn-danger {
    background: #d9534f;
    color: var(--text-light);
    border: 1px solid #c9302c;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease;
    margin-left: 0.5rem;
}

.placeholder-table .btn-danger:hover {
    background: #ac2925;
    border-color: #8b1f1a;
}

.landing-under-construction main h1 {
    font-size: 2.5rem;
    color: #2e2b28;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.landing-under-construction main p {
    font-size: 1.1rem;
    color: #6b6359;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 500px;
}

.landing-under-construction main a {
    color: var(--text-accent);
    text-decoration: none;
    font-weight: 600;
    transition: text-decoration 0.3s ease;
}

.landing-under-construction main a:hover {
    text-decoration: underline;
}

/* Practitioner Header Nav Links - Removed (now in components.css) */
/* All nav link styling is now unified in components.css under .rv-header-practitioner .rv-nav-link */

/* ========================================== */
/* CLIENTS PANEL - Sub-tabs & Cards */
/* ========================================== */

.clients-subtabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0 1.5rem;
    border-bottom: 1px solid var(--rooted-light);
    padding-bottom: 1rem;
}

.clients-tab {
    background: none;
    border: none;
    padding: 0.5rem 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted-secondary);
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
    position: relative;
    bottom: -1rem;
}

.clients-tab:hover {
    color: var(--text-accent);
}

.clients-tab.active {
    color: var(--text-accent);
    border-bottom-color: var(--text-accent);
}

/* Scrollable client lists */
.clients-list {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.clients-list.active {
    display: flex;
}

/* Client Cards */
.client-card {
    background: var(--rooted-light);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    transition: box-shadow 0.2s ease;
}

.client-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.card-header {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.client-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.client-info {
    flex: 1;
}

.client-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #2e2b28;
}

.client-service {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: var(--rooted-dark);
    font-style: italic;
}

.client-location {
    margin: 0.25rem 0 0;
    font-size: 0.9rem;
    color: #888;
}

.card-divider {
    height: 1px;
    background: var(--rooted-light);
    margin: 1rem 0;
}

.message-preview-box {
    background: var(--rooted-light);
    border-radius: 6px;
    padding: 1rem;
    position: relative;
}

.message-text {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #444;
    max-height: 4.5rem;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.message-text.expanded {
    max-height: none;
}

.read-more-toggle {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--text-accent);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.read-more-toggle:hover {
    color: #4a7a5b;
    text-decoration: underline;
}

/* Card Action Buttons */
.card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.card-actions button {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.card-actions .btn-accent {
    background: #77883e;
    color: var(--text-light);
}

.card-actions .btn-accent:hover {
    background: #4a7a5b;
}

.card-actions .btn-neutral {
    background: var(--rooted-light);
    color: #2e2b28;
    border: 1px solid #d0ccc7;
}

.card-actions .btn-neutral:hover {
    background: #d0ccc7;
    border-color: #b5b0a8;
}

.card-actions .btn-danger {
    background: #d9534f;
    color: var(--text-light);
    border: 1px solid #c9302c;
}

.card-actions .btn-danger:hover {
    background: #ac2925;
    border-color: #8b1f1a;
}

/* ========================================== */
/* PUBLIC PROFILE REVIEWS */
/* ========================================== */

.review-item {
    margin: 1rem 0;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--primary-opacity-10);
}

.review-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    gap: 1rem;
}

.review-header-compact .review-stars {
    flex-shrink: 0;
}

.review-category-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    background: var(--primary-opacity-10);
    color: var(--text-accent);
    text-transform: capitalize;
    white-space: nowrap;
}

.review-text {
    font-style: italic;
    color: var(--card-text-secondary);
    margin: 0.75rem 0;
    line-height: 1.5;
}

.review-author {
    font-size: 0.9rem;
    color: var(--rooted-dark);
    font-weight: 500;
}









/* FORCE: Black text in dark mode for maximum readability */








