/* === ENHANCED VARGA REPORT STYLES v4.0 === */

/* Report Container */
.varga-analysis-formatted {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    line-height: 1.6;
    color: #2c3e50;
}

/* Header Section */
.report-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
}

.report-header h1 {
    margin: 0 0 20px 0;
    font-size: 32px;
    font-weight: 700;
}

.birth-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.birth-info p {
    margin: 0;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 6px;
}

/* Section Styling */
.section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.section h2 {
    font-size: 26px;
    color: #1a237e;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #667eea;
}

.section-intro {
    color: #546e7a;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.7;
}

/* Karmic Ceiling */
.karmic-ceiling {
    background: linear-gradient(to bottom, #f8f9fa, #fff);
}

.ceiling-status {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.ceiling-status.excellent {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
}

.ceiling-status.good {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
}

.ceiling-status.average {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffc107;
}

.ceiling-status.challenging {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
}

.status-indicator {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.status-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #546e7a;
    font-weight: 600;
}

.status-value {
    font-size: 24px;
    font-weight: 700;
    color: #1a237e;
}

.ceiling-explanation {
    background: #f8f9fa;
    padding: 20px;
    border-left: 4px solid #667eea;
    border-radius: 6px;
}

.ceiling-explanation p {
    margin: 10px 0;
}

.ceiling-explanation strong {
    color: #dc3545;
}

/* D60 Deities Table */
.deity-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.deity-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.deity-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    font-size: 14px;
}

.deity-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.deity-table tr.benefic {
    background: #d4edda;
}

.deity-table tr.malefic {
    background: #f8d7da;
}

.deity-table tr.neutral {
    background: #e9ecef;
}

.deity-table tbody tr:hover {
    background: #f1f3f5 !important;
    transform: scale(1.01);
    transition: all 0.2s;
}

.d60-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.d60-summary p {
    margin: 8px 0;
    font-size: 15px;
}

/* Elemental Balance */
.balance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.balance-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #e9ecef;
}

.balance-card h3 {
    font-size: 18px;
    margin: 0 0 15px 0;
    color: #1a237e;
}

.balance-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 15px;
}

.balance-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    gap: 10px;
}

.balance-label {
    font-weight: 600;
    font-size: 14px;
}

.balance-bar {
    position: relative;
    height: 28px;
    background: #e9ecef;
    border-radius: 14px;
    overflow: hidden;
}

.balance-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    border-radius: 14px;
    transition: width 0.5s ease;
}

.balance-fill.fire {
    background: linear-gradient(90deg, #ff6b6b, #ee5a6f);
}

.balance-fill.earth {
    background: linear-gradient(90deg, #8b7355, #a0826d);
}

.balance-fill.air {
    background: linear-gradient(90deg, #4facfe, #00f2fe);
}

.balance-fill.water {
    background: linear-gradient(90deg, #43e97b, #38f9d7);
}

.balance-fill.quality {
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.balance-value {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 700;
    color: white;
    font-size: 14px;
}

.balance-interpretation {
    font-size: 14px;
    line-height: 1.6;
    color: #546e7a;
    margin-top: 10px;
}

/* Summary Table */
.summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.summary-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.summary-table th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
}

.summary-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.summary-table tr.excellent {
    background: #d4edda;
}

.summary-table tr.strong {
    background: #cfe2ff;
}

.summary-table tr.good {
    background: #fff3cd;
}

.summary-table tr.average {
    background: #f8f9fa;
}

.summary-table tr.challenging {
    background: #ffe5d0;
}

.summary-table tr.difficult {
    background: #f8d7da;
}

.summary-table tbody tr:hover {
    transform: scale(1.01);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.status-dot {
    display: inline-block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: currentColor;
}

tr.excellent .status-dot {
    background: #28a745;
}

tr.strong .status-dot {
    background: #17a2b8;
}

tr.good .status-dot {
    background: #ffc107;
}

tr.average .status-dot {
    background: #6c757d;
}

tr.challenging .status-dot {
    background: #fd7e14;
}

tr.difficult .status-dot {
    background: #dc3545;
}

/* Legend */
.legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
}

.legend-item .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.legend-item.excellent .dot {
    background: #28a745;
}

.legend-item.strong .dot {
    background: #17a2b8;
}

.legend-item.good .dot {
    background: #ffc107;
}

.legend-item.average .dot {
    background: #6c757d;
}

.legend-item.challenging .dot {
    background: #fd7e14;
}

.legend-item.difficult .dot {
    background: #dc3545;
}

/* Area Cards */
.area-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.area-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.area-card.excellent {
    border-left: 6px solid #28a745;
}

.area-card.strong {
    border-left: 6px solid #17a2b8;
}

.area-card.good {
    border-left: 6px solid #ffc107;
}

.area-card.average {
    border-left: 6px solid #6c757d;
}

.area-card.challenging {
    border-left: 6px solid #fd7e14;
}

.area-card.difficult {
    border-left: 6px solid #dc3545;
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.area-header h3 {
    margin: 0;
    font-size: 22px;
    color: #1a237e;
}

.area-scores {
    display: flex;
    gap: 10px;
}

.score-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    background: #e9ecef;
    color: #495057;
}

.score-badge.final {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 14px;
    padding: 8px 16px;
}

.verdict-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 16px;
}

.verdict-box.excellent {
    background: #d4edda;
    border-left: 4px solid #28a745;
}

.verdict-box.strong {
    background: #cfe2ff;
    border-left: 4px solid #17a2b8;
}

.verdict-box.good {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
}

.verdict-box.average {
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
}

.verdict-box.challenging {
    background: #ffe5d0;
    border-left: 4px solid #fd7e14;
}

.verdict-box.difficult {
    background: #f8d7da;
    border-left: 4px solid #dc3545;
}

.ceiling-note {
    display: block;
    font-size: 13px;
    color: #6c757d;
    margin-top: 5px;
    font-style: italic;
}

.details-section {
    margin: 20px 0;
}

.details-section h4 {
    font-size: 16px;
    color: #495057;
    margin-bottom: 12px;
}

.details-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.details-list li {
    padding: 10px;
    background: #f8f9fa;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
}

.details-list li strong {
    color: #1a237e;
}

.details-list li em {
    color: #6c757d;
    font-size: 14px;
}

/* Special Sections */
.special-section {
    margin: 20px 0;
    padding: 15px;
    border-radius: 8px;
}

.special-section.vargottama {
    background: #fff9c4;
    border: 2px solid #ffd54f;
}

.special-section.contradictions {
    background: #ffecb3;
    border: 2px solid #ffa726;
}

.special-section h4 {
    font-size: 16px;
    margin: 0 0 10px 0;
}

.special-section ul {
    margin: 0;
    padding-left: 20px;
}

.special-section li {
    margin: 8px 0;
}

/* Yogas Grid */
.yogas-section {
    margin: 20px 0;
}

.yogas-section h4 {
    font-size: 16px;
    color: #495057;
    margin-bottom: 15px;
}

.yoga-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
}

.yoga-card {
    background: linear-gradient(135deg, #667eea15, #764ba215);
    border: 2px solid #667eea;
    border-radius: 8px;
    padding: 15px;
}

.yoga-card.strong {
    border-color: #28a745;
    background: linear-gradient(135deg, #28a74515, #28a74525);
}

.yoga-card.moderate {
    border-color: #ffc107;
    background: linear-gradient(135deg, #ffc10715, #ffc10725);
}

.yoga-name {
    font-weight: 700;
    font-size: 15px;
    color: #1a237e;
    margin-bottom: 8px;
}

.yoga-desc {
    font-size: 13px;
    color: #495057;
    margin-bottom: 8px;
}

.yoga-planets {
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 8px;
}

.yoga-strength {
    font-size: 12px;
    font-weight: 600;
    color: #667eea;
}

/* Aspects Table */
.aspects-section {
    margin: 20px 0;
}

.aspects-section h4 {
    font-size: 16px;
    color: #495057;
    margin-bottom: 12px;
}

.aspects-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.aspects-table thead {
    background: #f8f9fa;
    border-bottom: 2px solid #dee2e6;
}

.aspects-table th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
}

.aspects-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
}

.aspects-table tr:hover {
    background: #f1f3f5;
}

/* Ancestral Karma */
.karma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.karma-card {
    background: linear-gradient(to bottom, #f8f9fa, #fff);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 20px;
}

.karma-card h3 {
    font-size: 20px;
    margin: 0 0 15px 0;
    color: #1a237e;
}

.karma-card p {
    margin: 10px 0;
    font-size: 14px;
}

.karma-card strong {
    color: #495057;
}

.karma-interpretation {
    background: #e9ecef;
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    font-size: 13px;
    line-height: 1.6;
    color: #546e7a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .varga-analysis-formatted {
        padding: 10px;
    }

    .section {
        padding: 20px 15px;
    }

    .report-header h1 {
        font-size: 24px;
    }

    .birth-info {
        grid-template-columns: 1fr;
    }

    .area-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .yoga-grid {
        grid-template-columns: 1fr;
    }

    .balance-grid {
        grid-template-columns: 1fr;
    }

    .karma-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    .varga-analysis-formatted {
        max-width: 100%;
    }

    .section {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #dee2e6;
    }

    .area-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* --- New styles for v5.0 Features --- */

.moon-strength-box {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.moon-strength-box.strong {
    background: #d4edda;
    border-color: #28a745;
}

.moon-strength-box.weak {
    background: #f8d7da;
    border-color: #dc3545;
}

.moon-strength-box.moderate {
    background: #fff3cd;
    border-color: #ffc107;
}

.moon-strength-box h4 {
    margin: 0 0 10px 0;
    color: #1a237e;
    font-size: 16px;
}

.moon-strength-box ul {
    margin: 10px 0 0 20px;
    padding: 0;
}

.moon-strength-box li {
    font-size: 14px;
    margin-bottom: 5px;
    color: #495057;
}
/* ===================================
   EXECUTIVE SUMMARY NARRATIVE STYLES
   Added for v3 - User-Friendly Summary
   =================================== */

.executive-summary {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 32px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.executive-summary h2 {
    color: #2d3748;
    font-size: 28px;
    margin-bottom: 24px;
    text-align: center;
    font-weight: 700;
    border-bottom: 3px solid #667eea;
    padding-bottom: 12px;
}

/* Narrative Sections */
.narrative-section {
    background: white;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.narrative-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.narrative-section h3 {
    color: #4a5568;
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
    border-left: 4px solid #667eea;
    padding-left: 12px;
}

/* Karmic Foundation Section */
.past-life-karma {
    border-top: 4px solid #9f7aea;
}

.karma-narrative {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin-bottom: 16px;
    text-align: justify;
}

.manifestation-capacity {
    background: #f7fafc;
    border-left: 4px solid #667eea;
    padding: 16px;
    border-radius: 4px;
    margin-top: 16px;
}

.manifestation-label {
    color: #4a5568;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
}

.manifestation-text {
    color: #2d3748;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

/* Life Path Section */
.life-journey {
    border-top: 4px solid #48bb78;
}

.life-story {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    text-align: justify;
}

/* Personality Section */
.personality {
    border-top: 4px solid #ed8936;
}

.personality-story {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    text-align: justify;
}

/* Guidance Section */
.guidance {
    border-top: 4px solid #f6ad55;
}

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

.guidance-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #fef5e7;
    padding: 16px;
    border-radius: 8px;
    border-left: 3px solid #f6ad55;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guidance-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.guidance-number {
    background: #f6ad55;
    color: white;
    font-weight: 700;
    font-size: 18px;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.guidance-text {
    font-size: 15px;
    line-height: 1.7;
    color: #2d3748;
    flex: 1;
    margin: 0;
}

/* Summary Footer */
.summary-footer {
    margin-top: 24px;
}

.footer-box {
    background: #e6fffa;
    border: 2px dashed #38b2ac;
    border-radius: 8px;
    padding: 20px;
}

.summary-note {
    font-size: 15px;
    line-height: 1.7;
    color: #234e52;
    margin: 0;
    font-style: italic;
}

.summary-note strong {
    color: #1a202c;
    font-size: 16px;
    font-style: normal;
}

/* Responsive Design for Executive Summary */
@media (max-width: 768px) {
    .executive-summary {
        padding: 20px;
    }
    
    .executive-summary h2 {
        font-size: 24px;
    }
    
    .narrative-section {
        padding: 16px;
    }
    
    .narrative-section h3 {
        font-size: 20px;
    }
    
    .karma-narrative,
    .life-story,
    .personality-story {
        font-size: 15px;
        text-align: left;
    }
    
    .guidance-item {
        flex-direction: row;
        gap: 12px;
    }
}

/* Print Styles for Executive Summary */
@media print {
    .executive-summary {
        background: white;
        box-shadow: none;
        page-break-inside: avoid;
    }
    
    .narrative-section {
        box-shadow: none;
        border: 1px solid #e2e8f0;
    }
    
    .narrative-section:hover,
    .guidance-item:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Accessibility */
.executive-summary *:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* ===================================
   VARGA EDUCATION SECTION STYLES
   Educational content about divisional charts
   =================================== */

.varga-education {
    background: linear-gradient(to bottom, #f8f9fa, #ffffff);
    border: 2px solid #667eea;
}

.education-intro {
    background: #e6f2ff;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #667eea;
    margin-bottom: 25px;
}

.education-intro p {
    font-size: 16px;
    line-height: 1.8;
    color: #2d3748;
    margin: 0;
}

.key-principles h3 {
    color: #1a237e;
    font-size: 22px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.principle-card {
    display: flex;
    gap: 20px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.principle-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

.principle-number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 32px;
    font-weight: 700;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.principle-content h4 {
    font-size: 18px;
    color: #1a237e;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.principle-content p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.critical-rule {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px !important;
    line-height: 1.8 !important;
    color: #856404 !important;
}

.critical-rule strong {
    color: #856404;
    font-weight: 700;
}

.chart-hierarchy {
    margin-top: 30px;
}

.chart-hierarchy h3 {
    color: #1a237e;
    font-size: 22px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #667eea;
}

.chart-hierarchy > p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 20px;
    background: #f7fafc;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #9f7aea;
}

.charts-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.chart-overview-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-left: 4px solid;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: all 0.3s ease;
}

.chart-overview-card:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.chart-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.chart-info {
    flex: 1;
}

.chart-id {
    font-size: 12px;
    font-weight: 700;
    color: #667eea;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.chart-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a237e;
    margin-bottom: 4px;
}

.chart-area {
    font-size: 13px;
    color: #718096;
    line-height: 1.5;
}

.analysis-note {
    background: linear-gradient(135deg, #e6f2ff 0%, #f0e6ff 100%);
    border: 2px solid #667eea;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.analysis-note h4 {
    font-size: 20px;
    color: #1a237e;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.analysis-note > p {
    font-size: 15px;
    line-height: 1.7;
    color: #4a5568;
    margin-bottom: 15px;
}

.analysis-note ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.analysis-note li {
    padding: 10px 15px;
    background: white;
    margin-bottom: 8px;
    border-radius: 6px;
    border-left: 3px solid #667eea;
    font-size: 14px;
    line-height: 1.6;
    color: #2d3748;
}

.analysis-note li strong {
    color: #1a237e;
    font-weight: 600;
}

.interpretation-tip {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #48bb78;
    font-size: 14px;
    line-height: 1.7;
    color: #2d3748;
    margin-top: 15px;
}

.interpretation-tip strong {
    color: #1a237e;
    font-weight: 600;
}

/* Responsive for Education Section */
@media (max-width: 768px) {
    .principle-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .principle-number {
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
    
    .charts-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .chart-overview-card {
        transform: none;
    }
    
    .chart-overview-card:hover {
        transform: translateX(0);
    }
}

/* Print styles for education section */
@media print {
    .varga-education {
        page-break-inside: avoid;
        border: 1px solid #dee2e6;
    }
    
    .principle-card:hover,
    .chart-overview-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* ===================================
   READING GUIDE SECTION
   Brief guide on how to read the report
   =================================== */

.reading-guide {
    background: linear-gradient(to bottom, #e6f2ff, #ffffff);
    border: 2px solid #667eea;
}

.guide-content {
    font-size: 15px;
    line-height: 1.7;
}

.guide-content > p {
    color: #2d3748;
    margin-bottom: 20px;
}

.guide-points {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.guide-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.point-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.point-text {
    flex: 1;
}

.point-text strong {
    color: #1a237e;
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}

.interpretation-guide {
    background: #f7fafc;
    border-left: 4px solid #48bb78;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
}

.interpretation-guide p {
    color: #2d3748;
    font-weight: 600;
    margin-bottom: 12px;
}

.interpretation-guide ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.interpretation-guide li {
    padding: 8px 0;
    color: #4a5568;
    font-size: 14px;
    line-height: 1.6;
}

.interpretation-guide li strong {
    color: #1a237e;
}

/* ===================================
   LIFE FORECAST SECTIONS
   Detailed forecast with Varga insights
   =================================== */

.life-areas-detailed {
    margin: 20px 0;
}

.forecast-section {
    margin-bottom: 25px;
}

.forecast-section h4 {
    font-size: 20px;
    color: #1a237e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid;
    font-weight: 600;
}

.blessed-section h4 {
    border-color: #48bb78;
    color: #276749;
}

.strong-section h4 {
    border-color: #4299e1;
    color: #2c5282;
}

.challenging-section h4 {
    border-color: #ed8936;
    color: #7c2d12;
}

.area-forecast {
    background: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s ease;
}

.area-forecast:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.area-forecast.blessed {
    background: linear-gradient(to right, #d4edda 0%, #ffffff 100%);
    border-left-color: #48bb78;
}

.area-forecast.strong {
    background: linear-gradient(to right, #cfe2ff 0%, #ffffff 100%);
    border-left-color: #4299e1;
}

.area-forecast.challenging {
    background: linear-gradient(to right, #ffe5d0 0%, #ffffff 100%);
    border-left-color: #ed8936;
}

.area-name {
    font-size: 16px;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: 8px;
}

.area-analysis {
    font-size: 14px;
    line-height: 1.7;
    color: #4a5568;
}

/* Responsive for forecast sections */
@media (max-width: 768px) {
    .guide-points {
        grid-template-columns: 1fr;
    }
    
    .area-forecast {
        transform: none;
    }
    
    .area-forecast:hover {
        transform: translateX(0);
    }
}

/* Print styles for new sections */
@media print {
    .reading-guide,
    .forecast-section {
        page-break-inside: avoid;
    }
    
    .area-forecast:hover {
        transform: none;
        box-shadow: none;
    }
}