/* BoardNotebook Theme CSS - Warm Professional Design */

/* ========================================
   Color Variables
   ======================================== */
:root {
    /* Main background - warm tan reminiscent of manila folders */
    --bg-primary: #f3d18f;
    --bg-primary-light: #faecc7;
    
    /* Non-logged in background - gray */
    --bg-guest: #9a9a9a;
    
    /* Content cards - clean white with slight gray for landing */
    --bg-card: #ffffff;
    --bg-card-landing: #e8e8e8;
    
    /* Text colors */
    --text-primary: #000000;
    --text-secondary: #666666;
    --text-muted: #999999;
    
    /* Section colors */
    --section-title: #c25c3a;
    --section-bg: #fffae6;
    
    /* Borders */
    --border-default: #dddddd;
    --border-light: #eeeeee;
    --border-section: #f3d18f;
    
    /* Active/Selected states */
    --active-highlight: #f3d18f;
    --hover-bg: #f5f5f5;
    
    /* Button colors */
    --btn-primary: #5cb85c;
    --btn-primary-hover: #4cae4c;
    --btn-action: #5cb85c;
    --btn-secondary: #6c757d;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 8px rgba(0, 0, 0, 0.15);
    
    /* Focus states (accessibility) */
    --focus-ring: 0 0 8px rgba(102, 175, 233, 0.6);
    --focus-border: #66afe9;
    
    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 24px;
    --space-6: 32px;
}

/* ========================================
   Global Styles
   ======================================== */
body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Guest/Non-logged in body background */
body.guest-page {
    background-color: var(--bg-guest);
}

.main-content {
    flex: 1;
}

/* ========================================
   Landing Page Styles
   ======================================== */
.landing-card {
    background-color: var(--bg-card-landing);
    border-radius: 8px;
    padding: var(--space-6);
    margin-top: var(--space-5);
    box-shadow: var(--shadow-md);
}

.mission-statement {
    color: var(--text-primary);
    font-size: 18px;
    line-height: 1.6;
    margin-top: var(--space-4);
}

.btn-show-me {
    background-color: #4db19e;
    color: white;
    padding: 12px 28px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 4px;
    border: none;
    transition: background-color 0.2s ease;
}

.btn-show-me:hover {
    background-color: #3a9d8a;
    color: white;
}

/* ========================================
   Login Page Styles
   ======================================== */
.login-card {
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: var(--space-5);
    box-shadow: var(--shadow-md);
}

.login-card h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: var(--space-4);
}

.login-card .form-label {
    font-weight: 600;
}

.login-card .form-control {
    border-radius: 4px;
    padding: 10px 12px;
}

.btn-signin {
    background-color: #6b9a9a;
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
}

.btn-signin:hover {
    background-color: #5a8989;
    color: white;
}

.forgot-password-link {
    color: #c25c3a;
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

/* ========================================
   Boards List Page Styles
   ======================================== */
.alert-success-banner {
    background-color: #c8f5d1;
    border: 1px solid #a8e6a8;
    color: var(--text-primary);
    border-radius: 4px;
    padding: var(--space-3) var(--space-4);
}

.user-email-card {
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: var(--space-3) var(--space-4);
    box-shadow: var(--shadow-sm);
}

.memberships-container {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.memberships-header {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.memberships-list {
    padding: var(--space-4);
}

.organization-group {
    margin-bottom: var(--space-4);
}

.organization-header {
    margin-bottom: var(--space-3);
}

.organization-name {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.board-item {
    display: flex;
    align-items: flex-start;
    padding: var(--space-3);
    background-color: var(--section-bg);
    border-radius: 4px;
    margin-bottom: var(--space-2);
}

.board-logo {
    width: 80px;
    height: 80px;
    margin-right: var(--space-4);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 4px;
}

.board-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.board-logo-placeholder {
    font-size: 32px;
    color: var(--text-muted);
}

.board-info {
    flex: 1;
}

.board-meta {
    margin-bottom: var(--space-1);
}

.board-title {
    margin: 0 0 var(--space-1) 0;
}

.board-link {
    color: var(--section-title);
    text-decoration: none;
    font-weight: 600;
}

.board-link:hover {
    text-decoration: underline;
}

.admin-badge {
    font-size: 12px;
    font-weight: normal;
    color: var(--text-muted);
    margin-left: var(--space-2);
}

.board-description {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
}

.btn-action {
    background-color: var(--btn-action);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
}

.btn-action:hover {
    background-color: var(--btn-primary-hover);
    color: white;
}

/* ========================================
   Breadcrumb Bar
   ======================================== */
.breadcrumb-bar {
    background-color: var(--bg-card);
    padding: var(--space-3) var(--space-4);
    border-radius: 4px;
    box-shadow: var(--shadow-sm);
}

.breadcrumb-link {
    color: var(--section-title);
    text-decoration: none;
}

.breadcrumb-link:hover {
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
    margin: 0 var(--space-2);
}

.breadcrumb-current {
    color: var(--text-secondary);
}

/* ========================================
   Board TOC (Table of Contents) Page
   ======================================== */
.board-toc-card {
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.board-header {
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.board-logo-large {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.board-logo-large .board-logo-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.board-logo-placeholder-large {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 48px;
    color: var(--text-muted);
}

.board-title-large {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 var(--space-2) 0;
}

.board-mission {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
}

.board-meta-info {
    color: var(--text-primary);
}

.text-link {
    color: var(--section-title);
    text-decoration: none;
}

.text-link:hover {
    text-decoration: underline;
}

/* Section Cards (Notebooks in TOC) */
.section-card {
    background-color: var(--section-bg);
    border-left: 4px solid var(--border-section);
    border-radius: 4px;
    margin-bottom: var(--space-3);
    overflow: hidden;
}

.section-card-header {
    padding: var(--space-4);
    cursor: pointer;
}

.section-card-header:hover {
    background-color: rgba(243, 209, 143, 0.3);
}

.section-title {
    color: var(--section-title);
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 var(--space-1) 0;
}

.section-title-link {
    color: var(--section-title);
    text-decoration: none;
}

.section-title-link:hover {
    text-decoration: underline;
}

.section-description {
    color: var(--text-primary);
    margin: 0;
    font-size: 14px;
}

.section-meta {
    text-align: right;
}

.last-updated {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 13px;
}

.section-card-content {
    display: none;
    padding: 0 var(--space-4) var(--space-4);
    background-color: var(--bg-card);
}

.section-card.expanded .section-card-content {
    display: block;
}

/* ========================================
   Section Page (Phase 3) Styles
   ======================================== */
.section-page-card {
    background-color: var(--section-bg);
    border-left: 4px solid var(--border-section);
    border-radius: 4px;
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.section-page-header {
    margin-bottom: var(--space-4);
}

.section-page-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 var(--space-2) 0;
}

.section-page-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.section-page-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
}

/* Hyperpage Row Items */
.hyperpages-list {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

.hyperpage-row {
    display: flex;
    align-items: flex-start;
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
    background-color: #f5fce8;
}

.hyperpage-row:last-child {
    border-bottom: none;
}

.hyperpage-row:hover {
    background-color: #edf5d8;
}

.hyperpage-row-icon {
    width: 40px;
    flex-shrink: 0;
    font-size: 24px;
}

.hyperpage-row-info {
    flex: 1;
}

.hyperpage-row-title {
    margin: 0;
    font-size: 18px;
}

.hyperpage-row-link {
    color: var(--section-title);
    text-decoration: none;
    font-weight: 600;
}

.hyperpage-row-link:hover {
    text-decoration: underline;
}

.hyperpage-row-meta {
    text-align: right;
    min-width: 200px;
}

.hyperpage-row-description {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.hyperpage-row-date {
    color: var(--text-primary);
    font-size: 13px;
}

/* ========================================
   Hyperpage Page View (Phase 4)
   ======================================== */
.hyperpage-page-card {
    background-color: var(--section-bg);
    border-left: 4px solid var(--border-section);
    border-radius: 4px;
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.hyperpage-page-header {
    margin-bottom: var(--space-4);
}

.hyperpage-page-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 var(--space-2) 0;
}

.hyperpage-page-description {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

.hyperpage-page-actions {
    display: flex;
    justify-content: flex-end;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

/* Meeting Info Box */
.meeting-info-box {
    background-color: #d9edf7;
    border: 1px solid #bce8f1;
    border-radius: 4px;
    margin-bottom: var(--space-4);
}

.meeting-info-header {
    background-color: #bce8f1;
    padding: var(--space-2) var(--space-3);
    font-weight: 600;
    color: #31708f;
}

.meeting-info-content {
    padding: var(--space-3);
}

.meeting-info-item {
    margin-bottom: var(--space-2);
}

.meeting-info-item:last-child {
    margin-bottom: 0;
}

/* Gadgets Container */
.gadgets-container {
    background-color: var(--bg-card);
    border-radius: 4px;
    overflow: hidden;
}

/* Gadget Page Style */
.gadget-page {
    padding: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.gadget-page:last-child {
    border-bottom: none;
}

.gadget-page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
}

.gadget-page-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.gadget-page-actions {
    display: flex;
    gap: var(--space-2);
}

.gadget-page-content {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Vote Results Grid */
.vote-results-grid {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-3);
}

.vote-result-box {
    text-align: center;
    padding: var(--space-3);
    border-radius: 4px;
    min-width: 80px;
}

.vote-result-box .vote-count {
    font-size: 28px;
    font-weight: bold;
    display: block;
}

.vote-result-box .vote-label {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.vote-result-box.yes { background-color: #dff0d8; }
.vote-result-box.yes .vote-count { color: #3c763d; }

.vote-result-box.no { background-color: #f2dede; }
.vote-result-box.no .vote-count { color: #a94442; }

.vote-result-box.abstain { background-color: #f5f5f5; }
.vote-result-box.abstain .vote-count { color: var(--text-secondary); }

.vote-result-box.total { background-color: #e8e8e8; }
.vote-result-box.total .vote-count { color: var(--text-primary); }

/* Text Gadget with editor */
.gadget-text-page .gadget-page-content {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: var(--space-3);
    border-radius: 4px;
    min-height: 100px;
}

/* ========================================
   Admin Pages (Phase 5)
   ======================================== */
.admin-card {
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: var(--space-5);
    box-shadow: var(--shadow-sm);
}

.admin-card-header {
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
}

.admin-card-title {
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 var(--space-2) 0;
}

.admin-card-description {
    color: var(--text-secondary);
    margin: 0;
}

.admin-actions {
    display: flex;
    gap: var(--space-2);
}

/* Members Table */
.members-table-container {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    overflow: hidden;
}

.members-table {
    margin-bottom: 0;
}

.members-table thead {
    background-color: var(--section-bg);
}

.members-table th {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    color: var(--text-secondary);
    padding: var(--space-3);
    border-bottom: 2px solid var(--border-section);
}

.members-table td {
    padding: var(--space-3);
    vertical-align: middle;
}

.member-row:hover {
    background-color: var(--hover-bg);
}

.member-name {
    font-weight: 600;
}

.member-email {
    color: var(--text-secondary);
}

/* Role and Status Badges */
.role-badge, .status-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

.role-admin {
    background-color: #d9edf7;
    color: #31708f;
}

.role-member {
    background-color: #f5f5f5;
    color: var(--text-secondary);
}

.status-active {
    background-color: #dff0d8;
    color: #3c763d;
}

.status-inactive {
    background-color: #f5f5f5;
    color: var(--text-muted);
}

.member-actions {
    display: flex;
    gap: var(--space-2);
}

/* ========================================
   Card Styles (Notebook Pages)
   ======================================== */
.card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    box-shadow: var(--shadow-md);
    border-radius: 4px;
}

.card-header {
    background-color: var(--bg-card);
    border-bottom: 2px solid var(--border-default);
    font-weight: 600;
}

/* ========================================
   Notebook Spine (Sidebar Navigation)
   ======================================== */
.notebook-spine {
    background: linear-gradient(to right, #e8c671 0%, #f3d18f 100%);
    border-right: 3px solid #d4a859;
    min-height: calc(100vh - 56px);
    padding: var(--space-4);
    box-shadow: var(--shadow-md);
}

.notebook-tab {
    background-color: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: 0 4px 4px 0;
    margin-bottom: var(--space-2);
    padding: var(--space-3) var(--space-4);
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 4px solid transparent;
}

.notebook-tab:hover {
    background-color: var(--hover-bg);
    border-left-color: var(--border-default);
}

.notebook-tab.active {
    background-color: var(--active-highlight);
    border-left-color: #d4a859;
    font-weight: 600;
}

/* ========================================
   Hyperpage List
   ======================================== */
.hyperpage-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hyperpage-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    margin-bottom: var(--space-2);
    padding: var(--space-3);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hyperpage-item:hover {
    background-color: var(--hover-bg);
    box-shadow: var(--shadow-sm);
}

.hyperpage-item.active {
    border-left: 4px solid #337ab7;
    background-color: var(--active-highlight);
}

.hyperpage-type-badge {
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    text-transform: uppercase;
}

/* ========================================
   Gadgets
   ======================================== */
.gadget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: var(--space-4);
    margin-bottom: var(--space-4);
    box-shadow: var(--shadow-sm);
}

.gadget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-light);
}

.gadget-title {
    font-weight: 600;
    font-size: 16px;
    color: var(--text-primary);
}

.gadget-actions {
    display: flex;
    gap: var(--space-2);
}

.gadget-content {
    color: var(--text-primary);
}

/* Gadget Type Specific Styles */
.gadget-text .content {
    line-height: 1.6;
}

.gadget-vote {
    border-left: 4px solid #5cb85c;
}

.gadget-rollcall {
    border-left: 4px solid #f0ad4e;
}

.gadget-event {
    border-left: 4px solid #5bc0de;
}

.gadget-meeting {
    border-left: 4px solid #337ab7;
}

/* Vote Results */
.vote-results {
    display: flex;
    gap: var(--space-4);
    margin-top: var(--space-3);
}

.vote-result-item {
    text-align: center;
}

.vote-count {
    font-size: 24px;
    font-weight: bold;
    display: block;
}

.vote-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
}

/* ========================================
   Buttons
   ======================================== */
.btn {
    border-radius: 4px;
    font-size: 14px;
    padding: 6px 12px;
    transition: all 0.2s ease;
}

.btn:focus {
    outline: none;
    box-shadow: var(--focus-ring);
}

.btn-sm {
    font-size: 12px;
    padding: 4px 8px;
}

/* ========================================
   Forms
   ======================================== */
.form-control {
    border: 1px solid var(--border-default);
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--focus-border);
    box-shadow: var(--focus-ring);
}

/* ========================================
   Navigation
   ======================================== */
.navbar {
    box-shadow: var(--shadow-md);
}

/* Force horizontal navbar display regardless of Bootstrap collapse state */
.navbar-collapse {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
    align-items: center;
}

.navbar-nav {
    flex-direction: row;
}

.navbar-nav .nav-item {
    list-style: none;
}

.navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

/* Hide toggler on larger screens */
.navbar-toggler {
    display: none;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .navbar-nav {
        flex-direction: column;
        width: 100%;
    }
    
    .navbar-toggler {
        display: block;
    }
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 0;
    margin-right: 1rem;
}

.navbar-brand img {
    height: 40px;
    width: auto;
    display: block;
}

/* Guest navbar (non-logged in) */
.navbar-guest {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-default);
}

.navbar-guest .nav-link {
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
}

.navbar-guest .nav-link:hover {
    color: var(--text-secondary);
}

/* Logged-in navbar */
.navbar-logged-in {
    background-color: var(--bg-primary);
    border-bottom: none;
}

.navbar-logged-in .nav-link {
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    padding: 8px 12px;
}

.navbar-logged-in .nav-link:hover {
    color: var(--text-secondary);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background-color: transparent;
    padding-top: var(--space-4);
}

.footer-divider {
    border-top: 1px solid rgba(0, 0, 0, 0.3);
    margin-bottom: var(--space-3);
}

.guest-page .footer {
    background-color: transparent;
}

/* ========================================
   Utilities
   ======================================== */
.text-muted {
    color: var(--text-muted) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

/* Loading indicator for HTMX */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator {
    display: inline-block;
}

.htmx-request.htmx-indicator {
    display: inline-block;
}

/* Smooth transitions for HTMX swaps */
.htmx-swapping {
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.htmx-settling {
    opacity: 1;
    transition: opacity 0.2s ease-in;
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    .notebook-spine {
        min-height: auto;
        border-right: none;
        border-bottom: 3px solid #d4a859;
    }
    
    .notebook-tab {
        border-radius: 4px;
        border-left: none;
        border-top: 4px solid transparent;
    }
    
    .notebook-tab.active {
        border-left: none;
        border-top-color: #d4a859;
    }
}

/* ========================================
   Accessibility
   ======================================== */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 2px solid var(--focus-border);
    outline-offset: 2px;
}

/* Skip to main content link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}

/* ========================================
   Error Pages
   ======================================== */
.error-page-card {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: var(--space-6);
    margin-top: var(--space-5);
    box-shadow: var(--shadow-md);
}

.error-code {
    font-size: 120px;
    font-weight: 700;
    color: var(--section-title);
    margin: 0;
    line-height: 1;
}

.error-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--space-3) 0;
}

.error-message {
    font-size: 16px;
    color: var(--text-secondary);
    margin: var(--space-4) 0;
    line-height: 1.6;
}

.error-actions .btn {
    padding: 10px 20px;
    font-weight: 600;
}

.error-actions .btn-primary {
    background-color: var(--btn-primary);
    border-color: var(--btn-primary);
}

.error-actions .btn-primary:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

/* ========================================
   Quill Editor Content Display
   ======================================== */
.quill-content {
    /* Ensure proper rendering of Quill HTML output */
}

.quill-content h1 {
    font-size: 2em;
    font-weight: bold;
    margin: 0.67em 0;
}

.quill-content h2 {
    font-size: 1.5em;
    font-weight: bold;
    margin: 0.83em 0;
}

.quill-content h3 {
    font-size: 1.17em;
    font-weight: bold;
    margin: 1em 0;
}

.quill-content p {
    margin: 1em 0;
}

.quill-content ul, .quill-content ol {
    padding-left: 1.5em;
    margin: 1em 0;
}

.quill-content li {
    margin: 0.5em 0;
}

.quill-content a {
    color: var(--section-title);
    text-decoration: underline;
}

.quill-content a:hover {
    text-decoration: none;
}

.quill-content strong {
    font-weight: bold;
}

.quill-content em {
    font-style: italic;
}

.quill-content u {
    text-decoration: underline;
}

.quill-content s {
    text-decoration: line-through;
}

/* Quill editor in modal styling */
#quill-editor {
    background-color: white;
}

#quill-editor .ql-editor {
    min-height: 200px;
}

/* ========================================
   Meeting Page Styles
   ======================================== */
.meeting-details-section {
    background-color: var(--bg-card);
    border-radius: 4px;
    padding: var(--space-4);
}

.meeting-details-table {
    width: 100%;
    border-collapse: collapse;
}

.meeting-details-table th {
    text-align: right;
    padding: var(--space-2) var(--space-4);
    font-weight: 700;
    white-space: nowrap;
    vertical-align: top;
    width: 150px;
}

.meeting-details-table td {
    padding: var(--space-2) var(--space-4);
    vertical-align: top;
}

.btn-meeting-action {
    background-color: #7a9e9a;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
}

.btn-meeting-action:hover {
    background-color: #6a8e8a;
    color: white;
}

.btn-meeting-action i {
    margin-right: 6px;
}

.meeting-action-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-3);
}

.meeting-meta {
    font-size: 13px;
}
