﻿/* ============================================
   SCORE MY SHORE - PUBLIC SURVEY STYLES
   ============================================ */

/* Adaptive Survey Info Banner */
.survey-info-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ebf8ff, #e6fffa);
    border: 2px solid #90cdf4;
    border-left: 6px solid #3182ce;
    border-radius: 12px;
    padding: 16px 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.15);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { 
        opacity: 0; 
        transform: translateY(-20px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.info-banner-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.info-banner-content {
    flex: 1;
    color: #2c5282;
    font-size: 1rem;
    line-height: 1.5;
}

.info-banner-content strong {
    color: #1e3a8a;
    font-weight: 600;
}

/* Progress Info Tooltip */
.progress-text-with-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.progress-info-tooltip {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.progress-info-tooltip:hover {
    opacity: 1 !important;
    transform: scale(1.2);
}

.progress-info-tooltip:active {
    transform: scale(1.1);
}

/* ============================================
   ADAPTIVE SURVEY INFO MODAL
   ============================================ */

.adaptive-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.adaptive-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 550px;
    width: 90%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
    overflow: hidden;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #4a5568;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-close-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: rotate(90deg);
}

.modal-header {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    padding: 28px 24px 24px 24px;
    text-align: center;
    position: relative;
}

.modal-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

.modal-body {
    padding: 24px;
    color: #2d3748;
    line-height: 1.6;
}

.modal-body p {
    margin: 0 0 16px 0;
    font-size: 1rem;
}

.modal-body p:last-of-type {
    margin-bottom: 12px;
}

.modal-body strong {
    color: #1a202c;
    font-weight: 600;
}

.modal-body ul {
    margin: 0;
    padding-left: 24px;
    list-style: none;
}

.modal-body ul li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 8px;
}

.modal-body ul li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: #38a169;
    font-weight: bold;
}

.modal-footer {
    padding: 20px 24px;
    background: #f7fafc;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}

.btn-modal-ok {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

.btn-modal-ok:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.4);
}

.btn-modal-ok:active {
    transform: translateY(0);
}

@media (max-width: 768px) {
    .adaptive-modal-content {
        width: 95%;
        max-width: none;
    }

    .modal-header {
        padding: 24px 20px 20px 20px;
    }

    .modal-icon {
        font-size: 2.5rem;
    }

    .modal-header h3 {
        font-size: 1.25rem;
    }

    .modal-body {
        padding: 20px;
        font-size: 0.95rem;
    }
}

/* Container & Layout */
.survey-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
}

/* Survey Header */
.survey-header {
    background: linear-gradient(135deg, #2c5282, #3182ce);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

.survey-title-section h1 {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
}

.survey-description {
    margin: 0 0 16px 0;
    opacity: 0.9;
    font-size: 1rem;
}

.survey-logo-section {
    position: absolute;
    top: 24px;
    right: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.survey-main-logo {
    max-height: 70px;
    max-width: 200px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .survey-logo-section {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 12px;
    }

    .survey-main-logo {
        max-height: 50px;
    }
}

.survey-progress-section {
    margin-top: 16px;
}

.progress-bar-container {
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}

.progress-bar {
    background: #48bb78;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 0.875rem;
}

/* Survey Meta (Badges) */
.survey-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.version-badge,
.tenant-badge,
.zone-badge {
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
}

.version-badge {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.4);
}

.tenant-badge {
    background: rgba(255,255,255,0.2);
}

.zone-badge {
    background: rgba(72, 187, 120, 0.25);
    border-color: rgba(72, 187, 120, 0.4);
}


/* Page Navigation Tabs */
.page-navigation {
    margin-bottom: 20px;
    overflow-x: auto;
}

.page-tabs {
    display: flex;
    gap: 8px;
    padding: 4px;
}

.page-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.page-tab:hover {
    border-color: #3182ce;
    background: #ebf8ff;
}

.page-tab.active {
    background: #3182ce;
    color: white;
    border-color: #3182ce;
}

.tab-number {
    background: rgba(0,0,0,0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
}

.page-tab.active .tab-number {
    background: rgba(255,255,255,0.2);
}

/* Survey Pages */
.survey-page {
    display: none;
    animation: fadeIn 0.3s ease;
}

.survey-page.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.page-header {
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid #3182ce;
}

.zone-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ebf8ff;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    color: #2c5282;
}

.page-title {
    margin: 0 0 8px 0;
    color: #2d3748;
}

/* Question Cards */
.question-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.2s;
}

.question-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.question-card.answered {
    border-color: #48bb78;
    background: #f0fff4;
}

.question-card.highlight {
    animation: pulse 0.5s ease 3;
    border-color: #ed8936;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.01); }
}

.question-header {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.question-number-badge {
    background: #3182ce;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.question-card.answered .question-number-badge {
    background: #38a169;
}

.question-content {
    flex: 1;
}

.question-text {
    font-size: 1.1rem;
    color: #2d3748;
    line-height: 1.5;
}

.required-indicator {
    color: #e53e3e;
    font-weight: bold;
    margin-left: 4px;
}

.question-help {
    display: flex;
    gap: 8px;
    background: #fffaf0;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #744210;
}

/* Question Media */
.question-media {
    margin-bottom: 16px;
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.media-caption {
    font-size: 0.85rem;
    color: #718096;
    margin-top: 8px;
    font-style: italic;
}

/* Answer Options */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.answer-option {
    display: block;
    cursor: pointer;
}

.answer-radio {
    position: absolute;
    opacity: 0;
}

.option-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.2s;
}

.answer-option:hover .option-content {
    border-color: #3182ce;
    background: #ebf8ff;
}

.answer-radio:checked + .option-content {
    border-color: #3182ce;
    background: #ebf8ff;
}

.answer-radio:checked + .option-content .option-indicator {
    background: #3182ce;
    border-color: #3182ce;
}

.answer-radio:checked + .option-content .option-indicator::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.option-indicator {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e0;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.option-text {
    flex: 1;
    font-size: 1rem;
    color: #2d3748;
}

.option-score {
    background: #c6f6d5;
    color: #22543d;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Explanations */
.answer-explanations {
    margin-top: 16px;
    padding: 16px;
    background: #ebf8ff;
    border-radius: 8px;
    border-left: 4px solid #3182ce;
}

.explanation-item p {
    margin: 0;
    color: #2c5282;
    font-size: 0.95rem;
}

/* General expandable explanations */
.question-explanations {
    margin-top: 16px;
}

.explanation-details {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 8px;
}

.explanation-details summary {
    padding: 12px 16px;
    cursor: pointer;
    font-weight: 500;
    color: #3182ce;
    list-style: none;
}

.explanation-details summary::-webkit-details-marker {
    display: none;
}

.explanation-details summary::before {
    content: '▶ ';
    font-size: 0.8em;
    margin-right: 8px;
}

.explanation-details[open] summary::before {
    content: '▼ ';
}

.explanation-details .explanation-content {
    padding: 0 16px 16px 16px;
    color: #4a5568;
    line-height: 1.6;
}

/* Page Footer Navigation */
.page-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.btn-nav {
    padding: 12px 24px;
    border: 2px solid #3182ce;
    background: white;
    color: #3182ce;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-nav:hover {
    background: #3182ce;
    color: white;
}

.btn-nav.btn-save {
    border-color: #ed8936;
    color: #ed8936;
    background: white;
}

.btn-nav.btn-save:hover {
    background: #ed8936;
    color: white;
}

.btn-nav.btn-save:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-submit {
    padding: 14px 32px;
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.4);
}

.btn-submit:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Score Panel (Fixed) */
.score-panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    z-index: 100;
    min-width: 180px;
    overflow: hidden;
    transition: all 0.3s;
}

.score-panel.collapsed .score-panel-body {
    display: none;
}

.score-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #2d3748;
    color: white;
}

.toggle-score-btn {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
}

.score-panel-body {
    padding: 16px;
    text-align: center;
}

.score-display {
    font-size: 1.5rem;
    font-weight: 700;
}

.current-score {
    color: #3182ce;
}

.score-separator {
    color: #a0aec0;
    margin: 0 4px;
}

.score-level {
    margin-top: 8px;
    padding: 8px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Validation Modal */
.validation-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.validation-content {
    background: white;
    padding: 24px;
    border-radius: 12px;
    max-width: 400px;
    text-align: center;
}

.validation-content h3 {
    color: #c53030;
    margin-bottom: 16px;
}

.validation-content ul {
    text-align: left;
    margin: 16px 0;
}

.btn-close-modal {
    padding: 12px 24px;
    background: #3182ce;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* ============================================
   RESULTS PAGE STYLES
   ============================================ */

.results-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.results-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 16px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

.confetti-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confettiFall linear forwards;
}

@keyframes confettiFall {
    0% { transform: translateY(-100%) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}

.score-result-card {
    background: white;
    border-radius: 16px;
    padding: 20px 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
    margin-bottom: 24px;
}

.score-circle {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    position: relative;
}

/* New simplified score badge layout */
.score-header-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 12px;
}

.score-badge-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.score-badge-image {
    max-width: 320px;
    margin: 0 auto;
}

.score-badge {
    width: 100%;
    height: auto;
    display: block;
}

.score-display-below {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.score-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.score-number-large {
    font-size: 4rem;
    font-weight: 800;
    color: #2d3748;
    line-height: 1;
}

.score-simple {
    display: flex;
    justify-content: center;
    align-items: center;
}

.score-display {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: white;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.score-display .score-label {
    font-size: 1rem;
    font-weight: 600;
    color: white;
    opacity: 0.95;
    text-transform: uppercase;
}

.score-display .score-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: block;
    line-height: 1;
}

.score-ring {
    transform: rotate(-90deg);
}

.score-ring-bg {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 8;
}

.score-ring-fill {
    fill: none;
    stroke: var(--score-color, #3182ce);
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    transition: stroke-dashoffset 1.5s ease;
}

.score-ring-fill.animate {
    stroke-dashoffset: calc(283 - (283 * var(--percentage) / 100));
}

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

.score-number {
    font-size: 3rem;
    font-weight: 700;
    color: #2d3748;
    display: block;
}

.score-max {
    font-size: 1rem;
    color: #718096;
}

.scoring-level-result {
    padding: 16px 24px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.level-name {
    margin: 0 0 8px 0;
    font-size: 1.75rem;
}

.level-description {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
}

/* Learn More Button for Results Page */
.level-learn-more {
    margin-top: 16px;
    text-align: center;
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #2c5282;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-learn-more:hover {
    background: white;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    color: #1a365d;
}

.btn-learn-more:active {
    transform: translateY(0);
}

.recommendations-section {
    text-align: left;
    background: #f7fafc;
    padding: 20px;
    border-radius: 12px;
}

.recommendations-section h3 {
    margin: 0 0 16px 0;
    color: #2d3748;
}

.recommendations-list {
    margin: 0;
    padding-left: 24px;
}

.recommendations-list li {
    margin-bottom: 8px;
    color: #4a5568;
}

/* Results Actions */
.results-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-action {
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
}

.btn-retake {
    background: #3182ce;
    color: white;
}

.btn-my-surveys {
    background: #805ad5;
    color: white;
}

.btn-share {
    background: #38a169;
    color: white;
}

.btn-download-pdf {
    background: #d53f8c;
    color: white;
}

.btn-print {
    background: #718096;
    color: white;
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.results-footer {
    text-align: center;
    color: #718096;
    font-size: 0.9rem;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .survey-container, .results-container {
        padding: 12px;
    }

    .survey-header {
        padding: 16px;
    }

    .page-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .page-tab {
        flex-shrink: 0;
    }

    .question-card {
        padding: 16px;
    }

    .page-footer {
        flex-direction: column;
        gap: 12px;
    }

    .btn-nav, .btn-submit {
        width: 100%;
    }

    .score-panel {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }

    .results-actions {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
        text-align: center;
    }

    /* Mobile adjustments for score badge */
    .score-badge-image {
        max-width: 240px;
    }

    .score-number-large {
        font-size: 3rem;
    }

    .score-display {
        width: 200px;
        height: 200px;
    }

    .score-display .score-number {
        font-size: 2.5rem;
    }
}

/* ============================================
   PRINT STYLES - Professional Print Layout
   ============================================ */
@media print {
    /* Reset and page setup */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
        color-adjust: exact !important;
    }

    @page {
        size: letter;
        margin: 0.75in 0.5in;
    }

    body {
        background: white !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.4;
    }

    /* Hide interactive and decorative elements */
    .score-panel,
    .page-navigation,
    .results-actions,
    .confetti-animation,
    .btn-action,
    .btn-learn-more,
    .info-item-link-button,
    .btn-share,
    .btn-retake,
    .btn-my-surveys,
    .btn-download-pdf,
    .btn-print,
    .info-item-toggle,
    nav,
    header,
    footer,
    .survey-info-banner,
    .adaptive-info-modal {
        display: none !important;
    }

    /* Container and layout */
    .results-container {
        max-width: 100%;
        padding: 0;
        background: white !important;
    }

    /* Header section - Compact for print */
    .results-header {
        background: linear-gradient(135deg, #3182ce, #2563eb) !important;
        color: white !important;
        padding: 12pt 15pt !important;
        margin-bottom: 12pt;
        border-radius: 0;
        page-break-after: avoid;
    }

    .results-header h1 {
        color: white !important;
        font-size: 18pt !important;
        margin: 0 0 3pt 0 !important;
        font-weight: 700;
    }

    .results-subtitle {
        color: #e6f2ff !important;
        font-size: 9pt !important;
        margin: 0 0 6pt 0 !important;
    }

    .tenant-badge {
        background: rgba(255, 255, 255, 0.2) !important;
        color: white !important;
        padding: 3pt 8pt !important;
        border-radius: 4pt;
        font-size: 8pt !important;
        display: inline-block;
    }

    /* Score card */
    .score-result-card {
        box-shadow: none !important;
        border: 2pt solid #e2e8f0 !important;
        border-radius: 8pt;
        padding: 15pt;
        margin-bottom: 15pt;
        page-break-inside: avoid;
        background: white !important;
    }

    .score-header-section {
        page-break-inside: avoid;
        margin-bottom: 15pt;
    }

    .score-badge-container {
        text-align: center;
        page-break-inside: avoid;
    }

    .score-badge-image img {
        max-width: 150pt;
        height: auto;
    }

    .score-display-below {
        margin-top: 10pt;
    }

    .score-label {
        font-size: 11pt;
        color: #4a5568 !important;
        display: block;
        margin-bottom: 5pt;
    }

    .score-number-large,
    .score-number {
        font-size: 32pt !important;
        font-weight: 700;
        color: #2d3748 !important;
        display: block;
    }

    /* Scoring level */
    .scoring-level-result {
        padding: 15pt;
        border-radius: 6pt;
        page-break-inside: avoid;
        margin-bottom: 15pt;
        border: 1pt solid #e2e8f0 !important;
    }

    .level-name {
        font-size: 18pt;
        font-weight: 700;
        margin: 0 0 10pt 0;
        color: #1a202c !important;
    }

    .level-description {
        font-size: 11pt;
        line-height: 1.6;
        color: #2d3748 !important;
        margin-bottom: 10pt;
    }

    /* Recommendations */
    .recommendations-section {
        margin-top: 15pt;
        page-break-inside: avoid;
    }

    .recommendations-section h3 {
        font-size: 14pt;
        margin: 0 0 10pt 0;
        color: #2d3748 !important;
    }

    .recommendations-list {
        padding-left: 20pt;
        margin: 0;
    }

    .recommendations-list li {
        margin-bottom: 8pt;
        line-height: 1.5;
        color: #2d3748 !important;
        font-size: 10pt;
    }

    /* Recommended Learning section */
    .recommended-learning-section {
        page-break-before: auto;
        margin-top: 15pt;
    }

    .recommended-learning-header {
        background: #f7fafc !important;
        padding: 15pt;
        border-radius: 6pt;
        border: 1pt solid #e2e8f0 !important;
        margin-bottom: 15pt;
        page-break-inside: avoid;
        page-break-after: avoid;
    }

    .recommended-learning-header h3 {
        font-size: 16pt;
        margin: 0 0 8pt 0;
        color: #2d3748 !important;
    }

    .recommended-learning-subtitle {
        font-size: 10pt;
        color: #4a5568 !important;
        margin: 0;
        line-height: 1.5;
    }

    /* Info items */
    .info-items-container {
        display: block !important;
    }

    .info-item-card {
        border: 1pt solid #e2e8f0 !important;
        border-radius: 6pt;
        padding: 12pt;
        margin-bottom: 12pt;
        page-break-inside: avoid;
        background: white !important;
    }

    .info-item-card[open] {
        border-color: #cbd5e0 !important;
    }

    .info-item-card summary {
        cursor: default;
        list-style: none;
        display: flex;
        align-items: center;
        gap: 10pt;
        font-size: 12pt;
        font-weight: 600;
        color: #2d3748 !important;
        margin-bottom: 10pt;
    }

    .info-item-card summary::marker,
    .info-item-card summary::-webkit-details-marker {
        display: none;
    }

    /* Force ALL details elements to be open when printing */
    details,
    details[open],
    .info-item-card,
    .info-item-card[open] {
        display: block !important;
    }

    details summary ~ *,
    .info-item-card summary ~ * {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Ensure info item content is visible */
    .info-item-content {
        display: block !important;
        visibility: visible !important;
    }

    .info-item-thumbnail,
    .info-item-icon {
        width: 30pt;
        height: 30pt;
        flex-shrink: 0;
    }

    .info-item-image-container {
        margin-bottom: 10pt;
        text-align: center;
    }

    .info-item-image {
        max-width: 100%;
        height: auto;
        max-height: 200pt;
        border-radius: 4pt;
    }

    .info-item-text {
        font-size: 10pt;
        line-height: 1.6;
        color: #2d3748 !important;
        margin-bottom: 10pt;
    }

    .info-item-text p {
        margin: 0 0 8pt 0;
    }

    .info-item-text ul,
    .info-item-text ol {
        margin: 8pt 0;
        padding-left: 20pt;
    }

    .info-item-text li {
        margin-bottom: 5pt;
    }

    /* Hide link buttons in print but show URLs */
    .info-item-links {
        border-top: 1pt solid #e2e8f0 !important;
        padding-top: 10pt;
        margin-top: 10pt;
    }

    .info-item-link-button {
        display: inline-block !important;
        color: #2563eb !important;
        text-decoration: none;
        font-size: 9pt;
        margin-right: 10pt;
        margin-bottom: 5pt;
    }

    .info-item-link-button::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #4a5568 !important;
        word-break: break-all;
    }

    /* Zone Assessment Summary */
    .zones-summary {
        margin-top: 15pt;
        border: 1pt solid #e2e8f0 !important;
        border-radius: 6pt;
        padding: 12pt;
        page-break-inside: avoid;
    }

    .zones-summary summary {
        list-style: none;
        cursor: default;
        margin-bottom: 10pt;
    }

    .zones-summary summary::marker,
    .zones-summary summary::-webkit-details-marker {
        display: none;
    }

    /* Force zones summary to be open when printing */
    .zones-summary,
    .zones-summary[open] {
        display: block !important;
    }

    .zones-summary summary ~ * {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
    }

    .zones-grid {
        display: grid !important;
        visibility: visible !important;
    }

    .zones-summary-header h3 {
        font-size: 14pt;
        margin: 0;
        color: #2d3748 !important;
    }

    .zones-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12pt;
        padding: 0;
        margin-top: 10pt;
    }

    .zone-card {
        border: 2pt solid #e2e8f0 !important;
        border-radius: 6pt;
        overflow: hidden;
        page-break-inside: avoid;
        background: white !important;
    }

    .zone-card .zone-header {
        padding: 10pt;
    }

    .zone-card .zone-name {
        font-size: 11pt;
        font-weight: 600;
        color: white !important;
    }

    .zone-card .zone-description {
        font-size: 9pt;
        padding: 10pt;
        color: #2d3748 !important;
        line-height: 1.5;
    }

    /* Footer */
    .results-footer {
        margin-top: 20pt;
        padding-top: 15pt;
        border-top: 1pt solid #e2e8f0 !important;
        page-break-inside: avoid;
    }

    .submission-info {
        font-size: 9pt;
        color: #4a5568 !important;
        text-align: center;
        margin: 0;
        line-height: 1.6;
    }

    .submission-info small {
        font-size: 8pt;
        color: #718096 !important;
    }

    /* Add print header with tenant/survey info */
    .results-container::before {
        content: "";
        display: block;
        page-break-after: avoid;
    }

    /* Ensure proper page breaks */
    h2, h3 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    /* Links - show URLs after link text */
    a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 8pt;
        color: #4a5568 !important;
        word-break: break-all;
    }

    /* Override any remaining background colors */
    .scoring-level-result {
        background: #f7fafc !important;
    }

    /* Ensure charts/images print correctly */
    img, canvas, svg {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Page numbering - optional, browser-dependent */
    @bottom-right {
        content: "Page " counter(page) " of " counter(pages);
    }
}

/* ============================================
   REVIEW SCREEN STYLES
   ============================================ */

.review-card {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.review-card h2 {
    text-align: center;
    margin-bottom: 12px;
    color: #2d3748;
}

.review-card > p {
    text-align: center;
    color: #718096;
    margin-bottom: 32px;
}

.final-score-preview {
    text-align: center;
    margin-bottom: 32px;
    padding: 24px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    color: white;
}

.score-circle-small {
    margin-bottom: 16px;
}

.score-value-large {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
}

.score-max-label {
    font-size: 1.25rem;
    opacity: 0.9;
}

.score-level-preview {
    font-size: 1.25rem;
    font-weight: 600;
    padding: 12px 24px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: inline-block;
}

/* Summary List Styles */
.summary-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.summary-item {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.summary-item:hover {
    border-color: #3182ce;
    background: #ebf8ff;
    transform: translateX(4px);
}

.summary-question-text {
    margin-bottom: 12px;
    color: #2d3748;
    font-size: 0.95rem;
    line-height: 1.5;
}

.summary-question-text strong {
    color: #3182ce;
    font-weight: 600;
}

.summary-answer-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.summary-answer {
    flex: 1;
    background: white;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #cbd5e0;
    font-size: 0.9rem;
    color: #4a5568;
}

.summary-score {
    font-weight: 600;
    color: #38a169;
    font-size: 0.95rem;
    background: #c6f6d5;
    padding: 4px 12px;
    border-radius: 6px;
}

.summary-edit {
    font-size: 1.25rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.summary-item:hover .summary-edit {
    opacity: 1;
}

.review-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-submit-final {
    padding: 16px 32px;
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-final:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.4);
}

.btn-submit-final:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================
   ADVENTURE MODE - ONE QUESTION PER PAGE
   ============================================ */

.adventure-mode .question-screen {
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* Zone Header */
.zone-header {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    padding: 14px 28px;
    border-radius: 30px;
    margin-bottom: 24px;
    font-size: 1.1rem;
    color: #2c5282;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-left: 4px solid #3182ce;
}

.zone-header-enhanced {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: linear-gradient(135deg, #ebf8ff, #bee3f8);
    padding: 18px 36px;
    border-radius: 40px;
    margin-bottom: 28px;
    font-size: 1.2rem;
    color: #2c5282;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    border-left: 5px solid #3182ce;
    transition: transform 0.2s ease;
}

.zone-header-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Zone Section Header - Full Width Style */
.zone-section-header {
    width: 100%;
    background: linear-gradient(90deg, #3182ce 0%, #3182cedd 100%);
    padding: 0;
    margin: 0 0 0 0;
    border-radius: 12px 12px 0 0;
    border-left: 6px solid #3182ce;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    overflow: hidden;
}

.zone-section-content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 32px;
    color: white;
}

.zone-section-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    padding: 6px;
    border: 2px solid rgba(255,255,255,0.3);
}

.zone-section-emoji {
    font-size: 2.5rem;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.zone-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    /* Clean drop shadow for visibility without blurry outline */
    text-shadow: 
        0 1px 2px rgba(0,0,0,0.4),
        0 2px 4px rgba(0,0,0,0.2);
}

.zone-icon {
    font-size: 1.2rem;
}

.zone-icon-large {
    font-size: 2.2rem;
}

.zone-icon-small {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 4px;
}

.zone-icon-image-question {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.zone-name {
    font-size: 1rem;
}

.zone-name-large {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.zone-badge {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    margin-left: 12px;
}

/* Full-size Question Card */
.question-card-full {
    background: white;
    border-radius: 0 0 16px 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

.question-number-large {
    display: inline-block;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.question-text-large {
    font-size: 1.5rem;
    color: #2d3748;
    line-height: 1.4;
    margin: 0 0 20px 0;
    font-weight: 600;
}

.question-help-large {
    display: flex;
    gap: 10px;
    background: #fffaf0;
    padding: 16px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 1rem;
    color: #744210;
    border-left: 4px solid #ed8936;
}

.question-help-large .help-icon {
    font-size: 1.2rem;
}

/* Website Link Button */
.question-website-link-container {
    margin-bottom: 20px;
    text-align: center;
}

.question-website-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #3182ce, #2c5282);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.question-website-link-button:hover {
    background: linear-gradient(135deg, #2c5282, #2a4365);
    box-shadow: 0 6px 16px rgba(49, 130, 206, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.question-website-link-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(49, 130, 206, 0.3);
}

/* Large Question Media */
.question-media-large {
    margin-bottom: 24px;
    text-align: center;
}

.question-image-large {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
}

/* Answer Buttons (Adventure Style) */
.answer-options-large {
    display: flex;
    flex-direction: column;
    gap: 24px; /* Increased gap to accommodate images */
}

/* Answer option with image container */
.answer-option-with-image {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Large answer option images displayed prominently above each answer */
.answer-option-image-container {
    width: 100%;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    background: #f7fafc;
}

.answer-option-image-large {
    width: 100%;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.answer-option-image-caption {
    padding: 8px 12px;
    font-size: 0.9rem;
    color: #4a5568;
    font-style: italic;
    margin: 0;
    background: #f7fafc;
}

.answer-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    background: #f7fafc;
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #2d3748;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.answer-button:hover {
    border-color: #3182ce;
    background: #ebf8ff;
    transform: translateX(8px);
}

/* Highlight image container when button is hovered */
.answer-button:hover + .answer-radio-hidden ~ .answer-option-image-container,
.answer-option-with-image:has(.answer-button:hover) .answer-option-image-container {
    border-color: #3182ce;
}

.answer-button.selected {
    border-color: #38a169;
    background: #f0fff4;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.2);
}

/* Highlight image container when button is selected */
.answer-option-with-image:has(.answer-button.selected) .answer-option-image-container {
    border-color: #38a169;
    border-width: 3px;
    box-shadow: 0 0 0 3px rgba(56, 161, 105, 0.2);
}

.answer-button.selected::before {
    content: '✓';
    position: absolute;
    left: -30px;
    color: #38a169;
    font-weight: bold;
    font-size: 1.2rem;
}

.answer-button {
    position: relative;
}

.answer-text {
    flex: 1;
    font-weight: 500;
}

.answer-score {
    background: #c6f6d5;
    color: #22543d;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-left: 12px;
}

.answer-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-left: 12px;
}

.answer-radio-hidden {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Answer Feedback */
.answer-feedback {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ebf8ff, #e6fffa);
    border-radius: 12px;
    border-left: 5px solid #3182ce;
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

.feedback-item p {
    margin: 0;
    color: #2c5282;
    font-size: 1rem;
    line-height: 1.6;
}

/* Info Expandable */
.question-info-section {
    margin-top: 24px;
}

.info-expandable {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    margin-bottom: 10px;
    overflow: hidden;
}

.info-expandable summary {
    padding: 14px 20px;
    cursor: pointer;
    font-weight: 600;
    color: #3182ce;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-expandable summary::before {
    content: '▶';
    font-size: 0.7em;
    transition: transform 0.2s;
}

.info-expandable[open] summary::before {
    transform: rotate(90deg);
}

.info-expandable summary::-webkit-details-marker {
    display: none;
}

.info-content {
    padding: 0 20px 20px 20px;
    color: #4a5568;
    line-height: 1.7;
}

/* Remove ALL underlines from explanation content text */
.info-content u,
.info-content a u,
.feedback-item u,
.feedback-item a u {
    text-decoration: none !important;
}

/* Ensure anchor tags in explanations also have no underline */
.info-content a,
.feedback-item a {
    text-decoration: none !important;
}

/* Only show underline on hover for accessibility */
.info-content a:hover:not(.btn-learn-more),
.feedback-item a:hover:not(.btn-learn-more) {
    text-decoration: underline !important;
    text-decoration-color: #3182ce;
    text-underline-offset: 3px;
}

/* Explanation Media (images in explanations) */
.explanation-media {
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    max-width: 600px;
    text-align: center;
}

.explanation-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transition: all 0.2s ease;
}

.explanation-image:hover {
    opacity: 0.95;
    transform: scale(1.02);
    border-color: #3182ce;
}

.explanation-media .media-caption {
    padding: 8px 12px;
    background: #f7fafc;
    font-size: 0.85rem;
    color: #718096;
    font-style: italic;
    margin: 0;
}

/* Removed old CSS pseudo-element button logic - now using explicit buttons in Results.cshtml */

/* Question Navigation */
.question-navigation,
.zone-intro-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.btn-back {
    background: white;
    border: 2px solid #cbd5e0;
    color: #4a5568;
}

.btn-back:hover {
    background: #f7fafc;
    border-color: #a0aec0;
}

.btn-continue {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border: none;
    color: white;
    padding: 14px 28px;
    font-size: 1.1rem;
}

.btn-continue:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
}

.btn-continue:disabled {
    background: #cbd5e0;
    cursor: not-allowed;
    transform: none;
}

/* Score Display Inline */
.score-display-inline {
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 15px;
    font-weight: 600;
}

/* Review Screen */
.review-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.review-card h2 {
    margin: 0 0 12px 0;
    color: #2d3748;
}

.final-score-preview {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 32px;
    border-radius: 16px;
    margin: 24px 0;
}

.score-circle-small {
    margin-bottom: 12px;
}

.score-value-large {
    font-size: 3.5rem;
    font-weight: 700;
}

.score-max-label {
    font-size: 1.2rem;
    opacity: 0.8;
}

.score-level-preview {
    padding: 10px 24px;
    border-radius: 25px;
    display: inline-block;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Answers Summary */
.answers-summary {
    text-align: left;
    margin: 24px 0;
}

.summary-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #f7fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.summary-item:hover {
    background: #ebf8ff;
}

.summary-question {
    background: #3182ce;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.summary-answer {
    flex: 1;
    color: #2d3748;
}

.summary-score {
    color: #38a169;
    font-weight: 600;
}

.summary-edit {
    opacity: 0.5;
}

.summary-item:hover .summary-edit {
    opacity: 1;
}

/* Review Actions */
.review-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-submit-final {
    padding: 16px 40px;
    background: linear-gradient(135deg, #38a169, #2f855a);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-submit-final:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(56, 161, 105, 0.4);
}

.btn-submit-final:disabled {
    background: #a0aec0;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsiveness for Adventure Mode */
@media (max-width: 768px) {
    .question-card-full {
        padding: 20px;
    }

    .question-text-large {
        font-size: 1.25rem;
    }

    .answer-button {
        padding: 14px 18px;
        font-size: 1rem;
    }

    .answer-button:hover {
        transform: none;
    }

    .question-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .btn-back, .btn-continue {
        width: 100%;
    }

    .review-actions {
        flex-direction: column;
    }

    .btn-submit-final {
        width: 100%;
    }

    .score-value-large {
        font-size: 2.5rem;
    }

    .question-website-link-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}

/* ============================================
   ZONE INTRODUCTION PAGES
   ============================================ */

.zone-intro-screen {
    animation: fadeIn 0.4s ease;
}

.zone-intro-card {
    background: white;
    border-radius: 20px;
    padding: 48px 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.zone-intro-icon {
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zone-icon-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

.zone-icon-default {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.zone-intro-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2d3748;
    margin: 0 0 24px 0;
    /* Add text border for better visibility */
    -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.3);
    paint-order: stroke fill;
    text-shadow: 
        -1px -1px 0 rgba(0,0,0,0.2),  
        1px -1px 0 rgba(0,0,0,0.2),
        -1px 1px 0 rgba(0,0,0,0.2),
        1px 1px 0 rgba(0,0,0,0.2),
        0 2px 4px rgba(0,0,0,0.1);
}

.zone-intro-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #4a5568;
    margin-bottom: 32px;
    text-align: left;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.zone-intro-description p {
    margin: 0 0 16px 0;
}

.zone-intro-description p:last-child {
    margin-bottom: 0;
}

.zone-intro-image {
    margin: 32px 0;
}

.zone-intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Zone Supporting Images - matches InfoItem supporting images */
.zone-supporting-images {
    margin: 24px auto;
    max-width: 700px;
}

.zone-supporting-images .supporting-images-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.zone-supporting-images .supporting-image-bubble {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.zone-supporting-images .supporting-image-bubble:hover {
    transform: scale(1.15);
    z-index: 100;
    box-shadow: 0 8px 24px rgba(49, 130, 206, 0.4);
}

.zone-supporting-images .supporting-image-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.zone-supporting-images .supporting-image-bubble:hover .supporting-image-thumb {
    border-color: #3182ce;
    box-shadow: 0 4px 16px rgba(49, 130, 206, 0.3);
}

.zone-supporting-images .supporting-image-preview {
    display: none;
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 16px;
    box-shadow: 0 12px 48px rgba(0,0,0,0.3);
    padding: 12px;
    z-index: 1000;
}

.zone-supporting-images .supporting-image-bubble:hover .supporting-image-preview {
    display: block;
}

.zone-supporting-images .supporting-image-preview img {
    max-width: 450px;
    max-height: 450px;
    border-radius: 12px;
    display: block;
}

/* Responsive adjustments for zone supporting images */
@media (max-width: 600px) {
    .zone-supporting-images .supporting-image-bubble {
        width: 80px;
        height: 80px;
    }

    .zone-supporting-images .supporting-image-preview {
        position: fixed;
        bottom: auto;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 90vw;
    }

    .zone-supporting-images .supporting-image-preview img {
        max-width: 85vw;
        max-height: 60vh;
    }
}

/* ============================================
   FULLSCREEN IMAGE LIGHTBOX (Click to expand)
   ============================================ */
.image-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.92);
    z-index: 100000;
    cursor: zoom-out;
    animation: lightboxFadeIn 0.25s ease;
}

.image-lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes lightboxFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.image-lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.image-lightbox-content img {
    max-width: 95vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.image-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.image-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.image-lightbox-hint {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    white-space: nowrap;
}

.zone-intro-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.zone-intro-navigation .btn-nav {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.zone-intro-navigation .btn-back {
    background: white;
    border: 2px solid #cbd5e0;
    color: #4a5568;
}

.zone-intro-navigation .btn-back:hover {
    background: #f7fafc;
    border-color: #a0aec0;
    transform: translateX(-4px);
}

.zone-intro-navigation .btn-continue {
    background: linear-gradient(135deg, #3182ce, #2c5282);
    border: none;
    color: white;
}

.zone-intro-navigation .btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
}

/* Mobile responsive for zone intro */
@media (max-width: 768px) {
    .zone-intro-card {
        padding: 32px 24px;
    }

    .zone-intro-title {
        font-size: 1.75rem;
    }

    .zone-intro-description {
        font-size: 1rem;
    }

    .zone-icon-default,
    .zone-icon-image {
        width: 80px;
        height: 80px;
        font-size: 2rem;
    }

    .zone-intro-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .zone-intro-navigation .btn-nav {
        width: 100%;
    }
}

/* ============================================
   SCORING LEVEL IMAGE/DIAGRAM STYLES
   ============================================ */

.scoring-level-image {
    text-align: center;
    background: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.scoring-level-image h3 {
    margin: 0 0 20px 0;
    color: #2d3748;
    font-size: 1.25rem;
}

.level-diagram {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
    display: block;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .scoring-level-image {
        padding: 16px;
    }

    .scoring-level-image h3 {
        font-size: 1.1rem;
    }
}

/* ============================================
   IMAGE LIGHTBOX/MODAL
   ============================================ */

.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
    cursor: zoom-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: default;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from { 
        transform: scale(0.8);
        opacity: 0;
    }
    to { 
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #2d3748;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 10000;
}

.lightbox-close:hover {
    background: white;
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.lightbox-caption {
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    max-width: 80%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Make images clickable */
.question-image,
.question-image-large,
.answer-option-image-large {
    cursor: zoom-in;
    transition: all 0.2s ease;
}

.question-image:hover,
.question-image-large:hover,
.answer-option-image-large:hover {
    opacity: 0.9;
    transform: scale(1.02);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .lightbox-close {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        top: 10px;
        right: 10px;
    }

    .lightbox-caption {
        font-size: 0.9rem;
        padding: 8px 16px;
        max-width: 90%;
    }

    .lightbox-content img {
        max-height: 80vh;
    }
}

/* ============================================
   RECOMMENDED LEARNING / INFO ITEMS SECTION
   ============================================ */

.recommended-learning-section {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #38bdf8;
    border-left: 6px solid #0284c7;
    border-radius: 16px;
    padding: 24px;
    margin: 24px 0;
    box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}

.recommended-learning-header {
    text-align: center;
    margin-bottom: 24px;
}

.recommended-learning-header h3 {
    color: #0c4a6e;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.recommended-learning-subtitle {
    color: #075985;
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.info-items-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-item-card {
    background: white;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    overflow: visible; /* Allow hover previews to overflow */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.info-item-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.info-item-card[open] {
    border-color: #0284c7;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.2);
}

.info-item-title {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: linear-gradient(90deg, #f0f9ff, #ffffff);
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: #0c4a6e;
    list-style: none;
    transition: all 0.2s ease;
    user-select: none;
}

.info-item-title::-webkit-details-marker {
    display: none;
}

.info-item-title:hover {
    background: linear-gradient(90deg, #e0f2fe, #f0f9ff);
}

.info-item-card[open] .info-item-title {
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    color: white;
    border-bottom: 1px solid #0369a1;
}

.info-item-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.info-item-thumbnail {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    border: 2px solid #e0f2fe;
}

.info-item-name {
    flex: 1;
}

.info-item-toggle {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.info-item-card[open] .info-item-toggle {
    transform: rotate(180deg);
}

.info-item-content {
    padding: 20px;
    background: white;
    animation: expandContent 0.3s ease;
    overflow: visible; /* Allow hover previews to overflow */
}

@keyframes expandContent {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-item-image-container {
    margin-bottom: 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-item-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 400px;
    object-fit: cover;
}

/* Primary/Main InfoItem Image */
.info-item-primary-image-container {
    margin-bottom: 16px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.info-item-primary-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 350px;
    object-fit: cover;
}

/* Supporting Images Section */
.info-item-supporting-images {
    margin-bottom: 20px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    border: 1px solid #bae6fd;
    overflow: visible; /* Allow hover previews to overflow */
    position: relative;
}

.supporting-images-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0369a1;
    margin-bottom: 10px;
}

.supporting-images-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    overflow: visible; /* Allow hover previews to overflow */
    justify-content: center; /* Center the bubbles */
}

/* Individual Supporting Image Bubble */
.supporting-image-bubble {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    border: 3px solid white;
    background: white;
}

.supporting-image-bubble:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
    z-index: 100;
}

.supporting-image-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

/* Expanded Preview on Hover - positioned above the bubble */
.supporting-image-preview {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 9999;
    pointer-events: none;
}

.supporting-image-bubble:hover .supporting-image-preview {
    opacity: 1;
    visibility: visible;
}

.supporting-image-preview img {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 8px;
    display: block;
}

/* Responsive adjustments for supporting images */
@media (max-width: 480px) {
    .supporting-image-bubble {
        width: 100px;
        height: 100px;
    }

    .supporting-image-preview {
        width: 220px;
    }
}

.info-item-text {
    color: #334155;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.info-item-text p {
    margin: 0 0 12px 0;
}

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

.info-item-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e0f2fe;
    justify-content: center;
}

/* Single button - center it without the border-top */
.info-item-content > .info-item-link-button {
    display: inline-flex;
    margin: 16px auto 0;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.info-item-link-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, #0284c7, #0369a1);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

.info-item-link-button:hover {
    background: linear-gradient(135deg, #0369a1, #075985);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.4);
    color: white;
}

.info-item-link-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(2, 132, 199, 0.3);
}

/* Mobile responsiveness for InfoItems */
@media (max-width: 768px) {
    .recommended-learning-section {
        padding: 16px;
        margin: 16px 0;
    }

    .recommended-learning-header h3 {
        font-size: 1.4rem;
    }

    .recommended-learning-subtitle {
        font-size: 0.95rem;
    }

    .info-item-title {
        padding: 12px 16px;
        font-size: 1rem;
    }

    .info-item-content {
        padding: 16px;
    }

    .info-item-text {
        font-size: 0.95rem;
    }

    .info-item-links {
        flex-direction: column;
    }

    .info-item-link-button {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   ZONE ASSESSMENT SUMMARY (COLLAPSIBLE)
   ============================================ */

.zones-summary {
    background: white;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    margin: 24px 0;
}

.zones-summary:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.zones-summary[open] {
    border-color: #0284c7;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.2);
}

.zones-summary-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(90deg, #f0f9ff, #ffffff);
    cursor: pointer;
    list-style: none;
    transition: all 0.2s ease;
    user-select: none;
}

.zones-summary-header::-webkit-details-marker {
    display: none;
}

.zones-summary-header:hover {
    background: linear-gradient(90deg, #e0f2fe, #f0f9ff);
}

.zones-summary[open] .zones-summary-header {
    background: linear-gradient(90deg, #0284c7, #0ea5e9);
    border-bottom: 1px solid #0369a1;
}

.zones-summary-header h3 {
    color: #0c4a6e;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.zones-summary[open] .zones-summary-header h3 {
    color: white;
}

.zones-summary-header .info-item-toggle {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: #0c4a6e;
}

.zones-summary[open] .zones-summary-header .info-item-toggle {
    transform: rotate(180deg);
    color: white;
}

.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    padding: 20px;
    background: white;
    animation: expandContent 0.3s ease;
}

.zone-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.zone-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.zone-card .zone-header {
    padding: 12px 16px;
    margin-bottom: 0;
    /* background-color set via inline styles per zone */
}

.zone-card .zone-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.zone-card .zone-description {
    font-size: 0.95rem;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
    padding: 16px;
}

.zone-card .zone-description p {
    margin: 0 0 12px 0;
}

.zone-card .zone-description p:last-child {
    margin-bottom: 0;
}

.zone-card .zone-description strong {
    color: #2d3748;
    font-weight: 600;
}

/* Mobile responsiveness for Zone Assessment Summary */
@media (max-width: 768px) {
    .zones-summary-header {
        padding: 12px 16px;
    }

    .zones-summary-header h3 {
        font-size: 1.25rem;
    }

    .zones-grid {
        grid-template-columns: 1fr;
        padding: 16px;
    }
}
