@import url('../shared/base.css');

/* ===== Enneagram-Specific Styles ===== */

/* Type Colors */
:root {
    --type-1: #3b82f6;
    --type-2: #ec4899;
    --type-3: #f59e0b;
    --type-4: #8b5cf6;
    --type-5: #14b8a6;
    --type-6: #6366f1;
    --type-7: #f97316;
    --type-8: #f43f5e;
    --type-9: #10b981;
}

/* Type Pills - circular number badges */
.pill-letter.type-1 { background: var(--type-1); color: #fff; }
.pill-letter.type-2 { background: var(--type-2); color: #fff; }
.pill-letter.type-3 { background: var(--type-3); color: #fff; }
.pill-letter.type-4 { background: var(--type-4); color: #fff; }
.pill-letter.type-5 { background: var(--type-5); color: #fff; }
.pill-letter.type-6 { background: var(--type-6); color: #fff; }
.pill-letter.type-7 { background: var(--type-7); color: #fff; }
.pill-letter.type-8 { background: var(--type-8); color: #fff; }
.pill-letter.type-9 { background: var(--type-9); color: #fff; }

/* Question dimension tags per type */
.question-dimension-tag.type-1 { background: rgba(59, 130, 246, 0.12); color: var(--type-1); }
.question-dimension-tag.type-2 { background: rgba(236, 72, 153, 0.12); color: var(--type-2); }
.question-dimension-tag.type-3 { background: rgba(245, 158, 11, 0.12); color: var(--type-3); }
.question-dimension-tag.type-4 { background: rgba(139, 92, 246, 0.12); color: var(--type-4); }
.question-dimension-tag.type-5 { background: rgba(20, 184, 166, 0.12); color: var(--type-5); }
.question-dimension-tag.type-6 { background: rgba(99, 102, 241, 0.12); color: var(--type-6); }
.question-dimension-tag.type-7 { background: rgba(249, 115, 22, 0.12); color: var(--type-7); }
.question-dimension-tag.type-8 { background: rgba(244, 63, 94, 0.12); color: var(--type-8); }
.question-dimension-tag.type-9 { background: rgba(16, 185, 129, 0.12); color: var(--type-9); }

/* Result bar fills per type */
.dim-bar-fill.type-1 { background: var(--type-1); }
.dim-bar-fill.type-2 { background: var(--type-2); }
.dim-bar-fill.type-3 { background: var(--type-3); }
.dim-bar-fill.type-4 { background: var(--type-4); }
.dim-bar-fill.type-5 { background: var(--type-5); }
.dim-bar-fill.type-6 { background: var(--type-6); }
.dim-bar-fill.type-7 { background: var(--type-7); }
.dim-bar-fill.type-8 { background: var(--type-8); }
.dim-bar-fill.type-9 { background: var(--type-9); }

/* Dominant type result color */
.result-type-code.type-1 { color: var(--type-1); }
.result-type-code.type-2 { color: var(--type-2); }
.result-type-code.type-3 { color: var(--type-3); }
.result-type-code.type-4 { color: var(--type-4); }
.result-type-code.type-5 { color: var(--type-5); }
.result-type-code.type-6 { color: var(--type-6); }
.result-type-code.type-7 { color: var(--type-7); }
.result-type-code.type-8 { color: var(--type-8); }
.result-type-code.type-9 { color: var(--type-9); }

/* Dominant card highlight per type */
.dim-result-card.dominant.type-1 { border-color: var(--type-1); }
.dim-result-card.dominant.type-2 { border-color: var(--type-2); }
.dim-result-card.dominant.type-3 { border-color: var(--type-3); }
.dim-result-card.dominant.type-4 { border-color: var(--type-4); }
.dim-result-card.dominant.type-5 { border-color: var(--type-5); }
.dim-result-card.dominant.type-6 { border-color: var(--type-6); }
.dim-result-card.dominant.type-7 { border-color: var(--type-7); }
.dim-result-card.dominant.type-8 { border-color: var(--type-8); }
.dim-result-card.dominant.type-9 { border-color: var(--type-9); }

/* Type dot indicator */
.type-dot {
    display: inline-block;
    width: 12px; height: 12px;
    border-radius: 50%;
    margin-right: 4px;
}
.type-dot.type-1 { background: var(--type-1); }
.type-dot.type-2 { background: var(--type-2); }
.type-dot.type-3 { background: var(--type-3); }
.type-dot.type-4 { background: var(--type-4); }
.type-dot.type-5 { background: var(--type-5); }
.type-dot.type-6 { background: var(--type-6); }
.type-dot.type-7 { background: var(--type-7); }
.type-dot.type-8 { background: var(--type-8); }
.type-dot.type-9 { background: var(--type-9); }

/* Growth/Stress arrows section */
.growth-stress {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 24px;
}
.growth-card, .stress-card {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}
.growth-card { border-color: #10b981; }
.stress-card { border-color: #f43f5e; }
.growth-card .arrow-label { color: #10b981; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.stress-card .arrow-label { color: #f43f5e; font-weight: 700; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.arrow-type-number { font-size: 2rem; font-weight: 700; margin-bottom: 4px; }
.arrow-type-name { font-size: 0.95rem; color: var(--text-secondary); }
.arrow-desc { font-size: 0.85rem; color: var(--text-muted); margin-top: 8px; line-height: 1.6; }

/* Famous people tags */
.famous-people {
    background: var(--bg-card);
    border: 2px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}
.famous-people h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.famous-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.famous-tag {
    padding: 6px 14px;
    background: var(--bg-muted);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Enneagram pill compact style for 9 types */
.dimension-pills.enneagram-pills {
    gap: 8px;
}
.dimension-pills.enneagram-pills .pill {
    padding: 6px 10px;
    gap: 6px;
}

@media (max-width: 768px) {
    .growth-stress { grid-template-columns: 1fr; }
    .dimension-pills.enneagram-pills { gap: 6px; }
    .dimension-pills.enneagram-pills .pill { padding: 5px 8px; font-size: 12px; }
}
