/* ========================================
   Personality Test Evaluation
   ======================================== */

.aca-eval-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-y: auto;
}

.aca-eval-disclaimer,
.aca-eval-content {
    background: #fff;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    padding: 36px;
    position: relative;
}

.aca-eval-close {
    position: absolute;
    top: 12px; right: 14px;
    background: none; border: none;
    font-size: 32px; cursor: pointer; color: #666; line-height: 1;
}
.aca-eval-close:hover { color: #000; }

/* Disclaimer */
.aca-eval-warning {
    background: #fff3cd;
    border-left: 4px solid #d32f2f;
    padding: 20px;
    margin: 20px 0;
    line-height: 1.6;
}
.aca-eval-warning p { margin: 0 0 12px 0; }
.aca-eval-warning p:last-child { margin-bottom: 0; }

.aca-eval-btn-primary {
    background: #88b441; color: #fff; border: none;
    padding: 12px 24px; border-radius: 6px; font-size: 16px;
    cursor: pointer; font-weight: 600;
}
.aca-eval-btn-primary:hover { background: #75a036; }

.aca-eval-btn-secondary {
    background: #f0f0f0; color: #1a243b; border: 1px solid #999;
    padding: 12px 24px; border-radius: 6px; font-size: 16px;
    cursor: pointer; font-weight: 500;
}
.aca-eval-btn-secondary:hover { background: #1a243b; color: #fff; }

/* Content */
.aca-eval-content h2 {
    color: #1a243b;
    font-size: 24px;
    margin: 0 40px 24px 0;
}

/* Dimensions */
.aca-eval-dimension {
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #eee;
}
.aca-eval-dimension:last-of-type { border-bottom: none; }

.aca-eval-dimension h3 {
    color: #1a243b;
    font-size: 20px;
    margin: 0 0 4px 0;
}

.aca-eval-dim-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0 0 16px 0;
}

.aca-eval-score {
    margin-bottom: 16px;
}
.aca-eval-score strong {
    display: block;
    margin-bottom: 8px;
    color: #88b441;
    font-size: 17px;
}

.aca-eval-bar {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    letter-spacing: 2px;
    color: #88b441;
}

.aca-eval-interp {
    background: #f4f9ed;
    padding: 18px;
    border-radius: 6px;
    border-left: 4px solid #88b441;
    line-height: 1.6;
    color: #333;
    font-size: 14px;
    margin-top: 12px;
}
.aca-eval-interp p { margin: 0 0 10px 0; }
.aca-eval-interp p:last-child { margin-bottom: 0; }

.aca-eval-dim-highlight {
    background: #f4f9ed;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #88b441;
}

/* Myers-Briggs Type Display */
.aca-eval-mb-type {
    text-align: center;
    margin-bottom: 30px;
    padding: 24px;
    background: #f4f9ed;
    border-radius: 8px;
}
.aca-eval-mb-code {
    font-size: 48px;
    font-weight: 700;
    color: #1a243b;
    letter-spacing: 8px;
}
.aca-eval-mb-name {
    font-size: 20px;
    color: #88b441;
    font-weight: 600;
    margin-top: 6px;
}

/* Summary */
.aca-eval-summary {
    background: #f4f9ed;
    padding: 22px;
    border-radius: 8px;
    margin-top: 28px;
}
.aca-eval-summary h3 { color: #1a243b; margin: 0 0 12px 0; }
.aca-eval-summary p { margin: 0; line-height: 1.6; }

/* Actions */
.aca-eval-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid #eee;
}

/* Print */
@media print {
    .aca-eval-overlay { position: static; background: #fff; }
    .aca-eval-close, .aca-eval-actions { display: none !important; }
    .aca-eval-content { max-height: none; box-shadow: none; padding: 20px; }
    .aca-eval-dimension { page-break-inside: avoid; }
}

/* Mobile */
@media (max-width: 768px) {
    .aca-eval-disclaimer, .aca-eval-content { padding: 20px; }
    .aca-eval-actions { flex-direction: column; }
    .aca-eval-mb-code { font-size: 36px; }
}
