/* SZMC Geriatrics Presentation Maker - Visual Elements Styles */

/* ==================== TABLE OF CONTENTS ==================== */
.slide-toc .toc-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.toc-section {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 16px;
}

.toc-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--secondary);
}

.toc-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius);
}

.toc-items {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 4px 0;
}

.toc-num {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50%;
}

/* ==================== TAKE HOME MESSAGE ==================== */
.slide-take-home {
    background: linear-gradient(135deg, var(--primary) 0%, #2d5a8a 50%, var(--secondary) 100%);
    color: white;
    padding: 48px;
}

.slide-take-home::before {
    display: none;
}

.take-home-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.take-home-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    font-size: 1.75rem;
}

.take-home-header h2 {
    font-size: 2rem;
    font-weight: 700;
    border: none;
    padding: 0;
    color: white;
}

.take-home-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.take-home-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.take-home-card.primary {
    background: rgba(39, 174, 96, 0.3);
    border-color: var(--accent);
}

.take-home-card.accent {
    background: rgba(243, 156, 18, 0.3);
    border-color: var(--accent-warning);
}

.take-home-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.take-home-content {
    font-size: 1rem;
    line-height: 1.5;
}

.take-home-bottom {
    margin-top: 24px;
}

.bottom-line-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    font-size: 1.25rem;
    font-weight: 500;
    font-style: italic;
}

.bottom-line-box i {
    opacity: 0.5;
}

/* ==================== STATISTICS VISUAL ==================== */
.slide-statistics .stats-visual-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.stat-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    border-bottom: 4px solid var(--gray-300);
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-4px);
}

.stat-card.stat-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-bottom-color: var(--primary-dark);
}

.stat-card.stat-secondary {
    border-bottom-color: var(--secondary);
}

.stat-card.stat-accent {
    border-bottom-color: var(--accent);
}

.stat-card.stat-warning {
    border-bottom-color: var(--accent-warning);
}

.stat-icon {
    font-size: 1.5rem;
    margin-bottom: 12px;
    opacity: 0.7;
}

.stat-card.stat-primary .stat-icon {
    opacity: 1;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9375rem;
    font-weight: 500;
}

.stat-sublabel {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 4px;
}

.citation-note {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-align: right;
    margin-top: 16px;
    font-style: italic;
}

/* ==================== BAR CHART ==================== */
.slide-chart .chart-container {
    display: flex;
    align-items: flex-end;
    gap: 48px;
    margin-top: 24px;
}

.bar-chart {
    flex: 1;
    height: 300px;
}

.bar-chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding: 0 20px;
    border-bottom: 2px solid var(--gray-300);
    border-left: 2px solid var(--gray-300);
}

.bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 80px;
}

.bar-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    text-align: center;
    order: 3;
}

.bar-wrapper {
    height: 250px;
    width: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.bar {
    width: 50px;
    border-radius: 4px 4px 0 0;
    transition: height 0.5s ease;
}

.bar.bar-primary { background: linear-gradient(180deg, var(--primary), var(--primary-dark)); }
.bar.bar-secondary { background: linear-gradient(180deg, var(--secondary), #2980b9); }
.bar.bar-accent { background: linear-gradient(180deg, var(--accent), #1e8449); }
.bar.bar-warning { background: linear-gradient(180deg, var(--accent-warning), #d68910); }

.bar-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.chart-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 4px;
}

.legend-color.primary { background: var(--primary); }
.legend-color.secondary { background: var(--secondary); }
.legend-color.accent { background: var(--accent); }
.legend-color.warning { background: var(--accent-warning); }

.chart-source {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 16px;
    font-style: italic;
}

/* ==================== PIE CHART ==================== */
.pie-chart-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 32px;
}

.pie-chart {
    position: relative;
    width: 280px;
    height: 280px;
}

.pie-svg {
    transform: rotate(-90deg);
    width: 100%;
    height: 100%;
}

.pie-segment {
    fill: none;
    stroke-width: 30;
}

.pie-segment.seg-1 { stroke: var(--primary); }
.pie-segment.seg-2 { stroke: var(--secondary); }
.pie-segment.seg-3 { stroke: var(--accent); }
.pie-segment.seg-4 { stroke: var(--accent-warning); }

.pie-center {
    fill: white;
}

.pie-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.pie-total {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-600);
}

.pie-legend {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pie-legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pie-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.pie-color.seg-1 { background: var(--primary); }
.pie-color.seg-2 { background: var(--secondary); }
.pie-color.seg-3 { background: var(--accent); }
.pie-color.seg-4 { background: var(--accent-warning); }

.pie-label {
    flex: 1;
    font-size: 0.9375rem;
}

.pie-value {
    font-weight: 600;
    color: var(--primary);
}

/* ==================== IMAGE SLIDES ==================== */
.slide-image-full .image-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.slide-image {
    max-width: 100%;
    max-height: 320px;
    object-fit: contain;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
}

.image-caption {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-align: center;
    font-style: italic;
}

.image-annotations {
    background: var(--gray-50);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    margin-top: 12px;
}

.image-comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 16px;
}

.comparison-image-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.comparison-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.comparison-image-box img {
    max-width: 100%;
    max-height: 250px;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.comparison-caption {
    font-size: 0.8125rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 8px;
}

/* ==================== ALGORITHM ==================== */
.slide-algorithm .algorithm-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
}

.algo-box {
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    min-width: 250px;
    max-width: 400px;
}

.algo-start-box {
    background: var(--gray-100);
    border: 2px solid var(--gray-400);
}

.algo-decision-box {
    background: #fff3cd;
    border: 2px solid var(--accent-warning);
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    padding: 20px 40px;
}

.algo-action-box {
    min-width: 180px;
}

.algo-action-box.yes {
    background: #d1fae5;
    border: 2px solid var(--accent);
}

.algo-action-box.no {
    background: #fee2e2;
    border: 2px solid var(--accent-danger);
}

.algo-end-box {
    background: var(--primary);
    color: white;
}

.algo-arrow {
    color: var(--gray-400);
    font-size: 1.5rem;
}

.algo-branches {
    display: flex;
    gap: 80px;
}

.algo-branch {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.branch-label {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 9999px;
}

.algo-branch-yes .branch-label {
    background: var(--accent);
    color: white;
}

.algo-branch-no .branch-label {
    background: var(--accent-danger);
    color: white;
}

/* ==================== TIMELINE ==================== */
.visual-timeline {
    position: relative;
    padding: 24px 0;
    margin-top: 24px;
}

.timeline-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent), var(--accent-warning));
    border-radius: 2px;
}

.timeline-events {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.timeline-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 22%;
}

.event-dot {
    width: 20px;
    height: 20px;
    background: white;
    border: 4px solid var(--primary);
    border-radius: 50%;
    margin-bottom: 16px;
    z-index: 1;
}

.event-1 .event-dot { border-color: var(--primary); }
.event-2 .event-dot { border-color: var(--secondary); }
.event-3 .event-dot { border-color: var(--accent); }
.event-4 .event-dot { border-color: var(--accent-warning); }

.event-content {
    background: var(--gray-50);
    padding: 16px;
    border-radius: var(--radius-lg);
    text-align: center;
    width: 100%;
}

.event-time {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 4px;
}

.event-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.event-desc {
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ==================== KEY POINTS VISUAL ==================== */
.key-points-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
}

.key-point-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    gap: 16px;
    border-left: 4px solid var(--gray-300);
    transition: all 0.2s;
}

.key-point-card:hover {
    transform: translateX(4px);
}

.kp-1 { border-left-color: var(--primary); }
.kp-2 { border-left-color: var(--secondary); }
.kp-3 { border-left-color: var(--accent); }
.kp-4 { border-left-color: var(--accent-warning); }
.kp-5 { border-left-color: #9b59b6; }
.kp-6 { border-left-color: #e74c3c; }

.kp-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    flex-shrink: 0;
}

.kp-1 .kp-icon { background: var(--primary); }
.kp-2 .kp-icon { background: var(--secondary); }
.kp-3 .kp-icon { background: var(--accent); }
.kp-4 .kp-icon { background: var(--accent-warning); }
.kp-5 .kp-icon { background: #9b59b6; }
.kp-6 .kp-icon { background: #e74c3c; }

.kp-content {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ==================== REFERENCES FORMATTED ==================== */
.slide-references .references-container {
    max-height: 380px;
    overflow-y: auto;
}

.references-list-formatted {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reference-entry {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    line-height: 1.5;
}

.ref-num {
    font-weight: 600;
    color: var(--primary);
    min-width: 24px;
}

.ref-text {
    color: var(--gray-700);
}

.ref-text em {
    font-style: italic;
}

/* ==================== PATHOPHYSIOLOGY ==================== */
.slide-pathophys .pathophys-diagram {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 32px;
    margin-top: 24px;
}

.path-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.path-step {
    width: 100%;
    max-width: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.path-step-header {
    padding: 10px 16px;
    font-weight: 600;
    font-size: 0.875rem;
    color: white;
}

.path-trigger .path-step-header { background: var(--accent-danger); }
.path-mechanism .path-step-header { background: var(--accent-warning); }
.path-effects .path-step-header { background: var(--secondary); }
.path-clinical .path-step-header { background: var(--accent); }

.path-step-content {
    padding: 12px 16px;
    background: var(--gray-50);
    font-size: 0.875rem;
    min-height: 60px;
}

.path-arrow {
    color: var(--gray-400);
    font-size: 1.5rem;
}

.path-sidebar {
    display: flex;
    flex-direction: column;
}

.path-note {
    background: #fff3cd;
    border: 1px solid var(--accent-warning);
    border-radius: var(--radius-lg);
    padding: 16px;
}

.path-note-header {
    font-weight: 600;
    color: var(--accent-warning);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.path-note-content {
    font-size: 0.875rem;
    color: var(--gray-700);
}

/* ==================== RISK FACTORS ==================== */
.risk-factors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.risk-category {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.risk-header {
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.risk-category.modifiable .risk-header { background: var(--accent); }
.risk-category.non-modifiable .risk-header { background: var(--gray-500); }
.risk-category.geriatric .risk-header { background: var(--secondary); }

.risk-items {
    padding: 16px;
    background: var(--gray-50);
    font-size: 0.875rem;
    min-height: 150px;
}

.risk-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 24px;
    padding: 20px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.risk-stat {
    text-align: center;
}

.risk-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.risk-stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

/* ==================== MEDICATIONS DETAILED ==================== */
.med-review-container {
    margin-top: 16px;
}

.medications-table.detailed {
    margin-bottom: 20px;
}

.med-flag {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.med-flag.beers {
    background: #fecaca;
    color: #991b1b;
}

.med-flag.interaction {
    background: #fed7aa;
    color: #9a3412;
}

tr.med-beers {
    background: #fef2f2;
}

tr.med-caution {
    background: #fffbeb;
}

.med-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
}

.med-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.count-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.count-label {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.med-alerts {
    display: flex;
    gap: 24px;
}

.alert-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
}

.beers-alert {
    background: #fecaca;
    color: #991b1b;
}

.interaction-alert {
    background: #fed7aa;
    color: #9a3412;
}

/* ==================== INLINE CITATIONS ==================== */
.citation-ref {
    color: var(--secondary);
    font-weight: 600;
    cursor: pointer;
}

.citation-ref:hover {
    text-decoration: underline;
}

/* ==================== DIAGNOSTIC WORKUP ==================== */
.workup-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 16px;
}

.workup-column {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.workup-section {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.workup-header {
    padding: 12px 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.9375rem;
}

.workup-section.urgent .workup-header { background: var(--accent-danger); }
.workup-section.routine .workup-header { background: var(--secondary); }
.workup-section.imaging .workup-header { background: var(--accent); }
.workup-section.special .workup-header { background: #9b59b6; }

.workup-content {
    padding: 16px;
    background: var(--gray-50);
    font-size: 0.875rem;
    min-height: 100px;
    line-height: 1.6;
}

.workup-rationale {
    margin-top: 20px;
    padding: 16px;
    background: #fff3cd;
    border: 1px solid var(--accent-warning);
    border-radius: var(--radius-lg);
}

.workup-rationale h4 {
    font-size: 0.9375rem;
    color: var(--accent-warning);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==================== PROS & CONS ==================== */
.pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.pros-section, .cons-section {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.pros-header, .cons-header {
    padding: 16px 20px;
    font-size: 1.125rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
}

.pros-header { background: var(--accent); }
.cons-header { background: var(--accent-danger); }

.pros-list, .cons-list {
    padding: 20px;
    background: var(--gray-50);
    min-height: 200px;
    font-size: 0.9375rem;
    line-height: 1.7;
}

.verdict-box {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1rem;
}

.verdict-box i {
    font-size: 1.5rem;
    opacity: 0.8;
}

/* ==================== CASE SUMMARY ==================== */
.slide-case-summary .summary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.summary-card {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--gray-300);
}

.summary-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.summary-icon.patient { background: var(--primary); }
.summary-icon.presentation { background: var(--secondary); }
.summary-icon.diagnosis { background: var(--accent); }
.summary-icon.treatment { background: #9b59b6; }
.summary-icon.outcome { background: var(--accent-warning); }
.summary-icon.learning { background: var(--accent-danger); }

.summary-card h4 {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.summary-card p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ==================== QUIZ QUESTION ==================== */
.slide-quiz {
    background: linear-gradient(135deg, var(--gray-50) 0%, white 100%);
}

.quiz-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.quiz-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quiz-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.quiz-question {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-800);
    line-height: 1.5;
    margin-bottom: 32px;
    padding: 24px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius-lg);
    border: 2px solid var(--gray-200);
    cursor: pointer;
    transition: all 0.2s;
}

.quiz-option:hover {
    border-color: var(--secondary);
    transform: translateX(4px);
}

.quiz-option.correct {
    border-color: var(--accent);
    background: #d1fae5;
}

.option-letter {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-100);
    color: var(--primary);
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
    flex-shrink: 0;
}

.quiz-option.correct .option-letter {
    background: var(--accent);
    color: white;
}

.option-text {
    font-size: 1rem;
    color: var(--gray-700);
}

.quiz-answer {
    margin-top: 24px;
    padding: 20px;
    background: #d1fae5;
    border: 2px solid var(--accent);
    border-radius: var(--radius-lg);
}

.quiz-answer h4 {
    color: var(--accent);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-answer p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ==================== EVIDENCE SUMMARY ==================== */
.evidence-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.evidence-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.evidence-header {
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    font-size: 0.9375rem;
}

.evidence-grade {
    font-size: 1rem;
    letter-spacing: 2px;
}

.evidence-card.high .evidence-header { background: #d1fae5; color: #065f46; }
.evidence-card.moderate .evidence-header { background: #dbeafe; color: #1e40af; }
.evidence-card.low .evidence-header { background: #fef3c7; color: #92400e; }
.evidence-card.very-low .evidence-header { background: #fee2e2; color: #991b1b; }

.evidence-content {
    padding: 16px;
    background: var(--gray-50);
    font-size: 0.875rem;
    min-height: 80px;
    line-height: 1.6;
}

.evidence-recommendation {
    margin-top: 24px;
    text-align: center;
}

.evidence-recommendation h4 {
    font-size: 0.9375rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.recommendation-scale {
    display: flex;
    justify-content: center;
    gap: 4px;
}

.recommendation-scale > div {
    padding: 10px 16px;
    font-size: 0.8125rem;
    font-weight: 500;
    background: var(--gray-100);
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.2s;
}

.recommendation-scale > div:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.recommendation-scale > div:last-child { border-radius: 0 var(--radius) var(--radius) 0; }

.rec-strong-for.active { background: #065f46; color: white; }
.rec-weak-for.active { background: #34d399; color: #065f46; }
.rec-neutral.active { background: var(--gray-400); color: white; }
.rec-weak-against.active { background: #f87171; color: #7f1d1d; }
.rec-strong-against.active { background: #991b1b; color: white; }

/* ==================== GERIATRIC SYNDROMES ==================== */
.syndromes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.syndrome-card {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 16px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.syndrome-card.present {
    border-color: var(--accent-warning);
    background: #fffbeb;
}

.syndrome-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    border-radius: 50%;
    margin: 0 auto 12px;
    font-size: 1.25rem;
}

.syndrome-card.present .syndrome-icon {
    background: var(--accent-warning);
    color: white;
}

.syndrome-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.syndrome-status {
    font-size: 0.8125rem;
    color: var(--gray-600);
    min-height: 32px;
}

/* ==================== GOALS OF CARE ==================== */
.slide-goals .goals-container {
    margin-top: 16px;
}

.goals-section.patient-values {
    background: var(--gray-50);
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    margin-bottom: 20px;
}

.goals-section.patient-values h3 {
    font-size: 0.9375rem;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.goal-option {
    background: var(--gray-50);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.goal-option:hover {
    border-color: var(--secondary);
}

.goal-option.selected {
    border-color: var(--primary);
    background: #dbeafe;
}

.goal-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-200);
    color: var(--gray-500);
    border-radius: 50%;
    margin: 0 auto 12px;
    font-size: 1.5rem;
}

.goal-option.selected .goal-icon {
    background: var(--primary);
    color: white;
}

.goal-option h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.goal-option p {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.goals-decisions {
    background: var(--gray-50);
    padding: 20px;
    border-radius: var(--radius-lg);
}

.goals-decisions h3 {
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.directive-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.directive-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 16px;
    background: white;
    border-radius: var(--radius);
}

.directive-label {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.directive-value {
    color: var(--gray-800);
    font-size: 0.875rem;
}

/* ==================== FOREST PLOT ==================== */
.forest-plot-container {
    margin-top: 20px;
}

.forest-plot {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.forest-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 3fr;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gray-100);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.forest-body {
    padding: 8px 0;
}

.forest-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 3fr;
    gap: 16px;
    padding: 8px 16px;
    font-size: 0.8125rem;
    border-bottom: 1px solid var(--gray-100);
}

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

.forest-summary {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr 3fr;
    gap: 16px;
    padding: 12px 16px;
    background: var(--gray-50);
    font-weight: 600;
}

.forest-bar {
    position: relative;
    height: 20px;
    display: flex;
    align-items: center;
}

.forest-line {
    position: absolute;
    left: 50%;
    width: 1px;
    height: 100%;
    background: var(--gray-400);
}

.forest-point {
    position: absolute;
    font-size: 0.75rem;
    color: var(--primary);
}

.forest-ci {
    position: absolute;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.forest-diamond {
    position: absolute;
    font-size: 1rem;
    color: var(--accent);
}

.forest-footer {
    padding: 16px;
    border-top: 1px solid var(--gray-200);
}

.forest-scale {
    display: flex;
    justify-content: space-around;
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-bottom: 12px;
}

.forest-interpretation {
    font-size: 0.875rem;
    color: var(--gray-700);
    line-height: 1.5;
}

/* ==================== DRUG COMPARISON ==================== */
.drug-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    font-size: 0.8125rem;
}

.drug-comparison-table th {
    background: var(--primary);
    color: white;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
}

.drug-comparison-table th:first-child {
    background: var(--gray-100);
    color: var(--gray-700);
}

.drug-comparison-table td {
    padding: 10px 16px;
    border-bottom: 1px solid var(--gray-200);
    vertical-align: top;
}

.drug-comparison-table tr:nth-child(even) {
    background: var(--gray-50);
}

.drug-comparison-table td:first-child {
    font-weight: 600;
    color: var(--gray-600);
    background: var(--gray-50);
}

.drug-recommendation {
    margin-top: 20px;
    padding: 16px 20px;
    background: linear-gradient(135deg, var(--accent), #1e8449);
    color: white;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
}

.drug-recommendation i {
    font-size: 1.25rem;
}

/* ==================== QR CODE RESOURCES ==================== */
.slide-qr .qr-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 32px;
}

.qr-item {
    text-align: center;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: var(--radius-lg);
    margin: 0 auto 16px;
    color: var(--gray-400);
}

.qr-placeholder i {
    font-size: 3rem;
}

.qr-placeholder span {
    font-size: 0.75rem;
}

.qr-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.qr-url {
    font-size: 0.75rem;
    color: var(--secondary);
    word-break: break-all;
}

/* ==================== SLIDE CANVAS COMPACT STYLES ==================== */
/* These styles ensure content fits within the slide canvas */

.slide-canvas .slide-toc .toc-container {
    gap: 16px;
    margin-top: 12px;
}

.slide-canvas .toc-section {
    padding: 12px;
    margin-bottom: 8px;
}

.slide-canvas .toc-section-header {
    font-size: 0.85rem;
    margin-bottom: 8px;
    padding-bottom: 6px;
}

.slide-canvas .toc-icon {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
}

.slide-canvas .toc-item {
    font-size: 0.75rem;
    padding: 2px 0;
}

.slide-canvas .toc-num {
    width: 18px;
    height: 18px;
    font-size: 0.65rem;
}

/* Take home compact in canvas */
.slide-canvas .slide-take-home {
    padding: 32px;
}

.slide-canvas .take-home-header {
    margin-bottom: 20px;
}

.slide-canvas .take-home-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
}

.slide-canvas .take-home-header h2 {
    font-size: 1.5rem;
}

.slide-canvas .take-home-content {
    font-size: 0.85rem;
}

.slide-canvas .bottom-line-box {
    padding: 16px;
    font-size: 1rem;
    gap: 12px;
}

/* Statistics visual compact */
.slide-canvas .slide-statistics .stats-visual-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 16px;
}

.slide-canvas .stat-label {
    font-size: 0.75rem;
}

.slide-canvas .stat-sublabel {
    font-size: 0.65rem;
}

/* Algorithm compact */
.slide-canvas .slide-algorithm .algorithm-container {
    gap: 6px;
    margin-top: 12px;
}

.slide-canvas .algo-branches {
    gap: 40px;
}

.slide-canvas .branch-label {
    font-size: 0.7rem;
    padding: 2px 8px;
}

.slide-canvas .algo-arrow {
    font-size: 1rem;
}

/* Timeline compact */
.slide-canvas .visual-timeline {
    padding: 16px 0;
    margin-top: 16px;
}

.slide-canvas .timeline-event {
    width: 23%;
}

.slide-canvas .event-dot {
    width: 14px;
    height: 14px;
    margin-bottom: 10px;
}

.slide-canvas .event-content {
    padding: 10px;
}

.slide-canvas .event-time {
    font-size: 0.65rem;
}

.slide-canvas .event-title {
    font-size: 0.8rem;
}

.slide-canvas .event-desc {
    font-size: 0.7rem;
}

/* Pathophysiology compact */
.slide-canvas .slide-pathophys .pathophys-diagram {
    gap: 20px;
    margin-top: 16px;
}

.slide-canvas .path-flow {
    gap: 8px;
}

.slide-canvas .path-arrow {
    font-size: 1rem;
}

.slide-canvas .path-note {
    padding: 12px;
}

.slide-canvas .path-note-header {
    font-size: 0.8rem;
    margin-bottom: 6px;
}

.slide-canvas .path-note-content {
    font-size: 0.75rem;
}

/* Risk factors compact */
.slide-canvas .risk-factors-grid {
    gap: 16px;
    margin-top: 16px;
}

.slide-canvas .risk-header {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.slide-canvas .risk-items {
    padding: 12px;
    font-size: 0.75rem;
    min-height: 100px;
}

.slide-canvas .risk-stats {
    gap: 32px;
    margin-top: 16px;
    padding: 14px;
}

.slide-canvas .risk-stat-value {
    font-size: 1.25rem;
}

.slide-canvas .risk-stat-label {
    font-size: 0.75rem;
}

/* Medications detailed compact */
.slide-canvas .med-review-container {
    margin-top: 12px;
}

.slide-canvas .medications-table.detailed th,
.slide-canvas .medications-table.detailed td {
    padding: 8px 10px;
    font-size: 0.7rem;
}

.slide-canvas .med-flag {
    font-size: 0.55rem;
    padding: 1px 4px;
    margin-left: 4px;
}

.slide-canvas .med-summary {
    padding: 12px;
}

.slide-canvas .count-number {
    font-size: 1.75rem;
}

.slide-canvas .count-label {
    font-size: 0.75rem;
}

.slide-canvas .alert-item {
    padding: 6px 12px;
    font-size: 0.75rem;
}

/* Quiz compact */
.slide-canvas .quiz-question {
    font-size: 1rem;
    padding: 16px;
    margin-bottom: 20px;
}

.slide-canvas .quiz-options {
    gap: 12px;
}

.slide-canvas .quiz-option {
    padding: 12px 16px;
    gap: 12px;
}

.slide-canvas .option-letter {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
}

.slide-canvas .option-text {
    font-size: 0.85rem;
}

/* Evidence summary compact */
.slide-canvas .evidence-grid {
    gap: 12px;
    margin-top: 14px;
}

.slide-canvas .evidence-header {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.slide-canvas .evidence-content {
    padding: 12px;
    font-size: 0.75rem;
    min-height: 60px;
}

/* Workup compact */
.slide-canvas .workup-grid {
    gap: 16px;
    margin-top: 12px;
}

.slide-canvas .workup-header {
    padding: 8px 12px;
    font-size: 0.8rem;
}

.slide-canvas .workup-content {
    padding: 12px;
    font-size: 0.75rem;
    min-height: 70px;
}

.slide-canvas .workup-rationale {
    padding: 12px;
    margin-top: 14px;
}

.slide-canvas .workup-rationale h4 {
    font-size: 0.8rem;
}

/* Pros cons compact */
.slide-canvas .pros-cons-container {
    gap: 16px;
    margin-top: 16px;
}

.slide-canvas .pros-header,
.slide-canvas .cons-header {
    padding: 12px 16px;
    font-size: 0.95rem;
}

.slide-canvas .pros-list,
.slide-canvas .cons-list {
    padding: 14px;
    font-size: 0.8rem;
    min-height: 140px;
}

.slide-canvas .verdict-box {
    padding: 14px;
    font-size: 0.85rem;
    margin-top: 16px;
}

/* Case summary compact */
.slide-canvas .slide-case-summary .summary-grid {
    gap: 12px;
    margin-top: 14px;
}

.slide-canvas .summary-card {
    padding: 12px;
    gap: 12px;
}

.slide-canvas .summary-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
}

.slide-canvas .summary-card h4 {
    font-size: 0.7rem;
}

.slide-canvas .summary-card p {
    font-size: 0.8rem;
}

/* Geriatric syndromes compact */
.slide-canvas .syndromes-grid {
    gap: 12px;
    margin-top: 14px;
}

.slide-canvas .syndrome-card {
    padding: 12px;
}

.slide-canvas .syndrome-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    margin-bottom: 8px;
}

.slide-canvas .syndrome-card h4 {
    font-size: 0.75rem;
}

.slide-canvas .syndrome-status {
    font-size: 0.7rem;
    min-height: 24px;
}

/* Goals of care compact */
.slide-canvas .slide-goals .goals-container {
    margin-top: 12px;
}

.slide-canvas .goals-section.patient-values {
    padding: 12px 16px;
    margin-bottom: 14px;
}

.slide-canvas .goals-section.patient-values h3 {
    font-size: 0.8rem;
}

.slide-canvas .goals-grid {
    gap: 14px;
    margin-bottom: 16px;
}

.slide-canvas .goal-option {
    padding: 14px;
}

.slide-canvas .goal-icon {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
    margin-bottom: 8px;
}

.slide-canvas .goal-option h4 {
    font-size: 0.85rem;
}

.slide-canvas .goal-option p {
    font-size: 0.7rem;
}

.slide-canvas .directive-grid {
    gap: 8px;
}

.slide-canvas .directive-item {
    padding: 8px 12px;
}

.slide-canvas .directive-label,
.slide-canvas .directive-value {
    font-size: 0.75rem;
}

/* ==================== PRINT STYLES ==================== */
@media print {
    body {
        background: white !important;
        margin: 0;
        padding: 0;
    }

    .slide {
        page-break-after: always;
        page-break-inside: avoid;
        box-shadow: none !important;
        border: 1px solid #ddd;
        margin: 0;
        width: 100%;
        height: 100vh;
        max-height: 100vh;
    }

    .slide:last-child {
        page-break-after: auto;
    }

    .slide-footer {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .presentation-controls,
    .editor-header,
    .slide-navigator,
    .properties-panel,
    .modal,
    .theme-panel,
    .btn-back,
    .header-right {
        display: none !important;
    }

    /* Ensure backgrounds print */
    .slide-title,
    .slide-jc-title,
    .slide-section-header,
    .slide-questions,
    .slide-take-home {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Fix gradient backgrounds for print */
    .slide-take-home {
        background: var(--primary) !important;
    }

    .take-home-card {
        background: rgba(255, 255, 255, 0.3) !important;
    }
}

/* ==================== NEW VISUAL LAYOUTS ==================== */

/* Quote Slide */
.slide-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, var(--primary) 0%, #2c5282 100%);
    color: white;
    text-align: center;
    padding: 60px;
}

.quote-container {
    max-width: 80%;
}

.quote-mark {
    font-size: 6rem;
    font-family: Georgia, serif;
    line-height: 0.5;
    opacity: 0.3;
    color: var(--secondary);
}

.slide-quote blockquote {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.6;
    font-style: italic;
    margin: 20px 0 30px;
}

.quote-attribution {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 1.1rem;
}

.quote-source {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Big Number Slide */
.slide-big-number {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-align: center;
}

.big-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.big-number-value {
    font-size: 8rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #fff 0%, #d1fae5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.big-number-label {
    font-size: 1.8rem;
    font-weight: 400;
    margin-top: 20px;
    max-width: 600px;
}

.big-number-context {
    font-size: 1rem;
    opacity: 0.8;
    margin-top: 16px;
}

/* Icon Grid Slide */
.slide-icon-grid h2 {
    text-align: center;
    margin-bottom: 40px;
}

.icon-grid-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
}

.icon-grid-item {
    text-align: center;
    padding: 20px;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.icon-grid-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.icon-grid-item p {
    font-size: 0.9rem;
    color: var(--gray-600);
}

/* Process Steps Slide */
.slide-process-steps h2 {
    text-align: center;
    margin-bottom: 40px;
}

.steps-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    max-width: 200px;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step-content {
    text-align: center;
}

.step-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.step-content p {
    font-size: 0.85rem;
    color: var(--gray-600);
}

.step-arrow {
    position: absolute;
    right: -30px;
    top: 20px;
    color: var(--secondary);
    font-size: 1.5rem;
}

.step-item:last-child .step-arrow {
    display: none;
}

/* Before/After Slide */
.slide-before-after h2 {
    text-align: center;
    margin-bottom: 30px;
}

.before-after-container {
    display: flex;
    align-items: stretch;
    gap: 30px;
    padding: 0 40px;
}

.before-section, .after-section {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
}

.before-header {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.after-header {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.before-section .section-content,
.after-section .section-content {
    padding: 20px;
    background: white;
    min-height: 200px;
}

.divider-arrow {
    display: flex;
    align-items: center;
    font-size: 2rem;
    color: var(--gray-400);
}

/* Hero Image Slide */
.slide-hero-image {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.85), rgba(30, 58, 95, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
    max-width: 80%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    opacity: 0.9;
}

.image-edit-hint {
    position: absolute;
    bottom: 60px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--gray-700);
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 2;
}

.slide-hero-image:hover .image-edit-hint {
    opacity: 1;
}

.hero-footer {
    color: white;
}

/* Cards Grid Slide */
.slide-cards-grid h2 {
    text-align: center;
    margin-bottom: 30px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 0 40px;
}

.info-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.info-card .card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.info-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.info-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.card-blue {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    border-left: 4px solid #3b82f6;
}
.card-blue .card-icon { color: #3b82f6; }

.card-green {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-left: 4px solid #10b981;
}
.card-green .card-icon { color: #10b981; }

.card-orange {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border-left: 4px solid #f59e0b;
}
.card-orange .card-icon { color: #f59e0b; }

.card-purple {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    border-left: 4px solid #8b5cf6;
}
.card-purple .card-icon { color: #8b5cf6; }

/* Gradient Section Header */
.slide-gradient-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.gradient-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary) 0%, #3b82f6 50%, #8b5cf6 100%);
}

.section-content-center {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.section-icon {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 2.5rem;
}

.section-content-center h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.section-content-center p {
    font-size: 1.3rem;
    opacity: 0.9;
}

/* Checklist Slide */
.slide-checklist h2 {
    text-align: center;
    margin-bottom: 30px;
}

.checklist-container {
    max-width: 600px;
    margin: 0 auto;
}

.checklist-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s;
}

.checklist-item:hover {
    transform: translateX(4px);
}

.check-box {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.checklist-item.checked .check-box {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: white;
}

.check-box.empty {
    border: 2px dashed var(--gray-300);
    background: var(--gray-50);
}

.checklist-item span {
    font-size: 1.1rem;
    color: var(--gray-700);
}

/* Three Column Layout */
.slide-three-column h2 {
    text-align: center;
    margin-bottom: 30px;
}

.three-column-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 0 30px;
}

.three-column-container .column {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: white;
}

.column-header {
    padding: 16px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.column-header i {
    font-size: 1.2rem;
}

.column-header h4 {
    font-size: 1rem;
    font-weight: 600;
}

.column-content {
    padding: 20px;
    min-height: 150px;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Pros and Cons Slide */
.slide-pros-cons h2 {
    text-align: center;
    margin-bottom: 24px;
}

.pros-cons-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 40px;
}

.pros-section, .cons-section {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.pros-header, .cons-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    color: white;
}

.pros-header {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.cons-header {
    background: linear-gradient(135deg, #ef4444, #f87171);
}

.pros-header h3, .cons-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.pros-list, .cons-list {
    padding: 20px;
    background: white;
    min-height: 150px;
    font-size: 1rem;
    line-height: 1.8;
}

.verdict-box {
    margin: 24px 40px 0;
    padding: 16px 24px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: var(--radius);
    border-left: 4px solid var(--secondary);
    font-size: 1.05rem;
}

/* Numbered List Slide */
.slide-numbered-list h2 {
    text-align: center;
    margin-bottom: 30px;
}

.numbered-list-container {
    max-width: 700px;
    margin: 0 auto;
}

.numbered-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.number-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.numbered-item .item-content {
    flex: 1;
    padding: 12px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    font-size: 1.05rem;
    line-height: 1.5;
}

/* Quiz Slide */
.slide-quiz {
    display: flex;
    flex-direction: column;
    padding: 40px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
}

.quiz-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.quiz-header i {
    font-size: 2.5rem;
    color: var(--secondary);
}

.quiz-header h2 {
    font-size: 2rem;
    color: var(--primary);
}

.quiz-question {
    font-size: 1.4rem;
    font-weight: 500;
    text-align: center;
    padding: 24px 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    line-height: 1.5;
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 40px;
    margin-bottom: 24px;
}

.quiz-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.quiz-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary);
}

.option-letter {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.option-text {
    font-size: 1.05rem;
    color: var(--gray-700);
}

.quiz-answer {
    text-align: center;
    padding: 16px 24px;
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: var(--radius);
    border: 2px solid #10b981;
    font-size: 1.1rem;
    color: #065f46;
    max-width: 600px;
    margin: 0 auto;
}
