* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Source Sans Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.7;
    color: #2e2d29;
    background: linear-gradient(135deg, #8C1515 0%, #820000 100%);
    min-height: 100vh;
}

/* Mobile Warning Popup */
.mobile-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.mobile-popup-overlay.show {
    display: flex;
}

.mobile-popup {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 320px;
    margin: 20px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-popup h3 {
    color: #8C1515;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.mobile-popup p {
    color: #53565A;
    font-size: 0.95em;
    margin-bottom: 20px;
    line-height: 1.5;
}

.mobile-popup-btn {
    background: #8C1515;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 1em;
    cursor: pointer;
    font-weight: 600;
}

.mobile-popup-btn:hover {
    background: #6d1010;
}

.site-header {
    background: white;
    padding: 12px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.site-header a {
    display: inline-block;
}

.site-header img {
    max-width: 50%;
    height: auto;
}

/* Main Learn/Experiment Tabs */
.main-tabs-nav {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.main-tab-btn {
    flex: 1;
    padding: 14px 24px;
    font-size: 1.1em;
    font-weight: 600;
    border: 2px solid #8C1515;
    background: white;
    color: #8C1515;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.main-tab-btn:hover {
    background: #fef5f5;
}

.main-tab-btn.active {
    background: #8C1515;
    color: white;
}

.main-tab-panel {
    display: none;
}

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

.site-footer {
    text-align: center;
    padding: 20px;
    margin-top: 10px;
}

.site-footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.site-footer a:hover {
    color: white;
    text-decoration: underline;
}

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

.viz-row {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.viz-left {
    flex: 1;
    min-width: 0;
}

.viz-right {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.card {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 24px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

h1 {
    color: #8C1515;
    font-size: 2em;
    margin-bottom: 10px;
}

h2 {
    color: #2e2d29;
    font-size: 1.4em;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 3px solid #8C1515;
}

h3 {
    color: #2e2d29;
    font-size: 1.15em;
    margin: 20px 0 10px;
}

.subtitle {
    color: #666;
    font-size: 1.1em;
    margin-bottom: 10px;
}

.authors {
    color: #53565A;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.scenario-box {
    background: linear-gradient(135deg, #e5f3f5 0%, #cce7eb 100%);
    border-left: 5px solid #007C92;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.scenario-box h3 {
    color: #007C92;
    margin-top: 0;
}

/* Threshold Visualization */
.threshold-viz-container {
    background: #f7fafc;
    border-radius: 12px;
    padding: 25px;
    margin: 25px 0;
}

.distribution-chart {
    position: relative;
    height: 280px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    margin-bottom: 20px;
    overflow: visible;
    margin-top: 30px;
}

.chart-area {
    position: relative;
    height: 220px;
    margin: 50px 40px 0 40px;
}

.patient-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.patient-dot:hover {
    transform: translate(-50%, -50%) scale(1.4);
    z-index: 100;
}

.patient-dot.has-pneumonia {
    background: #B83A4B;
}

.patient-dot.healthy {
    background: #175E54;
}

.patient-dot.predicted-positive {
    box-shadow: 0 0 0 3px rgba(184, 58, 75, 0.3), 0 2px 4px rgba(0,0,0,0.2);
}

.threshold-line {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 8px;
    background: linear-gradient(to bottom, #620059, #4a0042);
    cursor: ew-resize;
    z-index: 50;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(98, 0, 89, 0.5);
    animation: pulseGlow 1.5s ease-in-out 3;
}

.threshold-line::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -10px;
    width: 28px;
    cursor: ew-resize;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(98, 0, 89, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(98, 0, 89, 0.9), 0 0 40px rgba(98, 0, 89, 0.5);
    }
}

.threshold-line::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 12px solid #620059;
}


.threshold-label {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #620059;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: bold;
    white-space: nowrap;
}

.chart-axis {
    position: absolute;
    bottom: 0;
    left: 40px;
    right: 40px;
    height: 30px;
    border-top: 2px solid #cbd5e0;
}

.axis-label {
    position: absolute;
    font-size: 0.8em;
    color: #718096;
    transform: translateX(-50%);
}

.axis-title {
    text-align: center;
    font-size: 0.9em;
    color: #4a5568;
    margin-top: 5px;
}

.zone-labels {
    position: absolute;
    top: 5px;
    left: 40px;
    right: 40px;
    display: flex;
    justify-content: space-between;
    font-size: 0.75em;
    color: #718096;
}

.predicted-negative-zone, .predicted-positive-zone {
    padding: 4px 10px;
    border-radius: 4px;
}

.predicted-negative-zone {
    background: rgba(23, 94, 84, 0.1);
}

.predicted-positive-zone {
    background: rgba(140, 21, 21, 0.1);
}

/* Confusion Matrix Styles */
.matrix-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.matrix-labels-top {
    display: grid;
    grid-template-columns: 100px 130px 130px;
    gap: 4px;
    margin-bottom: 5px;
}

.matrix-labels-top > div {
    text-align: center;
    font-weight: 600;
    font-size: 0.85em;
    color: #4a5568;
}

.matrix-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 4px;
}

.matrix-row-label {
    width: 100px;
    text-align: right;
    padding-right: 10px;
    font-weight: 600;
    font-size: 0.85em;
    color: #4a5568;
}

.matrix-cell {
    width: 130px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.matrix-cell .label {
    font-size: 0.75em;
    opacity: 0.9;
    margin-bottom: 2px;
}

.matrix-cell .count {
    font-size: 2em;
    font-weight: bold;
}

.matrix-cell .abbrev {
    font-size: 0.8em;
    opacity: 0.8;
}

.matrix-cell.tp {
    background: linear-gradient(135deg, #175E54 0%, #279989 100%);
    color: white;
}

.matrix-cell.fn {
    background: linear-gradient(135deg, #820000 0%, #8C1515 100%);
    color: white;
}

.matrix-cell.fp {
    background: linear-gradient(135deg, #E98300 0%, #F9A825 100%);
    color: white;
}

.matrix-cell.tn {
    background: linear-gradient(135deg, #007C92 0%, #4298B5 100%);
    color: white;
}

/* Metrics Display */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 25px 0;
}

.metric-card {
    position: relative;
    background: #f7fafc;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    cursor: help;
}

.metric-card.highlight {
    border-color: #8C1515;
    background: #fef5f5;
}

.metric-card .metric-name {
    font-size: 0.8em;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.metric-card .metric-value {
    font-size: 1.8em;
    font-weight: bold;
    color: #2d3748;
}

.metric-card .metric-formula {
    font-size: 0.7em;
    color: #a0aec0;
    margin-top: 5px;
    font-family: monospace;
}

.metric-card .metric-secondary {
    font-size: 0.75em;
    color: #718096;
    margin-top: 4px;
}

.metric-card .metric-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 0.8em;
    line-height: 1.4;
    width: 220px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.metric-card .metric-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: #2d3748;
}

.metric-card:hover .metric-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Legend */
.legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 15px 0;
    flex-wrap: wrap;
}

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

.legend-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Dataset selector */
.dataset-selector {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.dataset-explanation {
    text-align: center;
    font-size: 0.9em;
    color: #53565A;
    margin-bottom: 20px;
    padding: 10px 20px;
    background: #f7fafc;
    border-radius: 8px;
    border-left: 3px solid #8C1515;
}

.dataset-btn {
    padding: 10px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    transition: all 0.2s;
}

.dataset-btn:hover {
    border-color: #8C1515;
    background: #fef5f5;
}

.dataset-btn.active {
    border-color: #8C1515;
    background: #8C1515;
    color: white;
}

/* Prevalence Slider */
.prevalence-slider-container {
    background: #f0f7ff;
    border: 1px solid #007C92;
    border-radius: 6px;
    padding: 10px 15px;
    margin-bottom: 12px;
}

.prevalence-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    font-size: 0.85em;
    color: #2e2d29;
}

.prevalence-label span {
    white-space: nowrap;
}

.prevalence-label strong {
    color: #007C92;
}

.prevalence-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: #e2e8f0;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.prevalence-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: #007C92;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.prevalence-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: #007C92;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* Quadrant explanations */
.quadrant-grid-container {
    margin: 20px 0;
}

.quadrant-labels-top {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 15px;
    margin-bottom: 10px;
}

.quadrant-labels-top > div {
    text-align: center;
    font-weight: 600;
    font-size: 0.9em;
    color: #4a5568;
}

.quadrant-row {
    display: grid;
    grid-template-columns: 120px 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.quadrant-row-label {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 10px;
    font-weight: 600;
    font-size: 0.9em;
    color: #4a5568;
    text-align: right;
}

.quadrant-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.quadrant-card {
    padding: 18px;
    border-radius: 10px;
    color: white;
}

.quadrant-card h4 {
    margin-bottom: 8px;
    font-size: 1em;
}

.quadrant-card p {
    font-size: 0.9em;
    opacity: 0.95;
    line-height: 1.5;
}

.quadrant-card.tp-card { background: linear-gradient(135deg, #175E54 0%, #279989 100%); }
.quadrant-card.tn-card { background: linear-gradient(135deg, #007C92 0%, #4298B5 100%); }
.quadrant-card.fp-card { background: linear-gradient(135deg, #E98300 0%, #F9A825 100%); }
.quadrant-card.fn-card { background: linear-gradient(135deg, #820000 0%, #8C1515 100%); }

/* Clinical implications */
.implications-box {
    background: #FFF9E6;
    border: 2px solid #E98300;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.implications-box h3 {
    color: #E98300;
    margin-bottom: 10px;
}

/* Instructions */
.instructions {
    background: #DAD7CB;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    font-size: 0.95em;
}

.instructions strong {
    color: #8C1515;
}

/* ROC/PR Curve */
.curve-container {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.curve-toggle {
    display: inline-flex;
    background: #e2e8f0;
    border-radius: 6px;
    padding: 3px;
    margin-bottom: 10px;
}

.curve-toggle-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 0.8em;
    font-weight: 600;
    color: #4a5568;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.curve-toggle-btn:hover {
    color: #2d3748;
}

.curve-toggle-btn.active {
    background: white;
    color: #8C1515;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.curve-toggle-btn {
    position: relative;
}

.curve-btn-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.75em;
    font-weight: normal;
    line-height: 1.4;
    width: 200px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.curve-btn-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

.curve-toggle-btn:hover .curve-btn-tooltip {
    opacity: 1;
    visibility: visible;
}

.curve-chart {
    position: relative;
    display: inline-block;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
}

.curve-chart canvas {
    display: block;
}

.curve-labels .curve-ylabel {
    position: absolute;
    left: -70px;
    top: 50%;
    transform: rotate(-90deg) translateX(50%);
    font-size: 0.7em;
    color: #53565A;
    white-space: nowrap;
}

.curve-labels .curve-xlabel {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7em;
    color: #53565A;
}

.auc-display {
    position: relative;
    display: inline-block;
    margin-top: 20px;
    font-size: 0.85em;
    color: #53565A;
    cursor: help;
}

.auc-display #aucValue {
    font-weight: bold;
    color: #8C1515;
}

.auc-tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #2d3748;
    color: white;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.85em;
    font-weight: normal;
    line-height: 1.4;
    width: 240px;
    text-align: left;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 100;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    pointer-events: none;
}

.auc-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

.auc-display:hover .auc-tooltip {
    opacity: 1;
    visibility: visible;
}

/* Tabs Styles */
.tabs-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    overflow: hidden;
}

.tabs-nav {
    display: flex;
    background: #f7fafc;
    border-bottom: 2px solid #e2e8f0;
}

.tab-btn {
    flex: 1;
    padding: 18px 20px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #4a5568;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 1.1em;
    font-weight: 600;
}

.tab-btn:hover {
    background: #edf2f7;
    color: #8C1515;
}

.tab-btn.active {
    background: white;
    color: #8C1515;
    border-bottom-color: #8C1515;
}

.tab-panel {
    display: none;
}

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

.tab-accordion-header {
    display: none;
}

.tab-content {
    display: block;
    padding: 25px 30px;
}

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

/* Accordion Styles (keeping for potential future use) */
.accordion {
    margin-bottom: 12px;
}

.accordion-header {
    background: #f7fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    user-select: none;
}

.accordion-header:hover {
    border-color: #8C1515;
    background: #fef5f5;
}

.accordion-header.active {
    border-color: #8C1515;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background: white;
}

.accordion-header h2 {
    margin: 0;
    padding: 0;
    border: none;
    font-size: 1.2em;
    color: #2e2d29;
}

.accordion-icon {
    font-size: 1.4em;
    color: #8C1515;
    transition: transform 0.3s ease;
    font-weight: bold;
}

.accordion-header.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    display: none;
    background: white;
    border: 2px solid #8C1515;
    border-top: none;
    border-radius: 0 0 10px 10px;
    padding: 25px;
    animation: slideDown 0.3s ease;
}

.accordion-content.show {
    display: block;
}

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

/* Responsive */
@media (max-width: 1000px) {
    .viz-row {
        flex-direction: column;
    }

    .viz-right {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 1100px) {
    .metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .matrix-cell {
        width: 100px;
        height: 75px;
    }

    .matrix-cell .count {
        font-size: 1.5em;
    }

    .matrix-row-label, .matrix-labels-top > div {
        font-size: 0.75em;
    }

    .matrix-labels-top {
        grid-template-columns: 80px 100px 100px;
    }

    .matrix-row-label {
        width: 80px;
    }

    /* Switch to accordion on mobile */
    .tabs-nav {
        display: none;
    }

    .tabs-container {
        background: transparent;
        box-shadow: none;
    }

    .tab-panel {
        display: block;
        background: white;
        border-radius: 10px;
        margin-bottom: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.15);
        overflow: hidden;
    }

    .tab-accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
        background: #f7fafc;
        border-bottom: 2px solid transparent;
        transition: all 0.2s ease;
    }

    .tab-accordion-header:hover {
        background: #edf2f7;
    }

    .tab-panel.active .tab-accordion-header {
        background: white;
        border-bottom-color: #e2e8f0;
    }

    .tab-accordion-title {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .tab-accordion-header .tab-title {
        font-size: 1em;
        font-weight: 600;
        color: #2e2d29;
    }

    .tab-accordion-header .tab-subtitle {
        font-size: 0.8em;
        color: #718096;
    }

    .tab-accordion-header .accordion-icon {
        font-size: 1.4em;
        color: #8C1515;
        font-weight: bold;
        transition: transform 0.3s ease;
    }

    .tab-panel.active .tab-accordion-header .accordion-icon {
        transform: rotate(45deg);
    }

    .tab-content {
        display: none;
        padding: 20px 15px;
    }

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

/* Show/Hide Answer Styles */
.show-answer-btn {
    background: white;
    border: 2px solid #007C92;
    color: #007C92;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 600;
    margin-top: 12px;
    transition: all 0.2s ease;
}

.show-answer-btn:hover {
    background: #007C92;
    color: white;
}

.show-answer-btn.active {
    background: #007C92;
    color: white;
}

.answer-content {
    display: none;
    background: white;
    border: 2px solid #007C92;
    border-radius: 8px;
    padding: 15px 20px;
    margin-top: 12px;
    animation: fadeIn 0.3s ease;
}

.answer-content.show {
    display: block;
}

.answer-content p {
    margin-bottom: 10px;
}

.answer-content p:last-child {
    margin-bottom: 0;
}

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