:root {
    --border-for-box: rgba(171, 171, 171, 0.52);
    --border-radius-for-box: 6px;

}

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

body {
    background: white;
    padding: 20px;
}

.parent {
    background: white;
    color: #333;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto auto;
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    min-height: 600px;
    margin-top: 10px;
    width: 100%;
}

.div1 {
    grid-area: 1 / 1 / 3 / 4;
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    background: white;
    padding: 20px;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.div2 {
    grid-area: 3 / 1 / 4 / 2;
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
}

.div3 {
    grid-area: 3 / 2 / 4 / 3;
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
}

.div4 {
    grid-area: 3 / 3 / 4 / 4;
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100px;
}

.div5 {
    grid-area: 1 / 4 / 4 / 6;
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    padding: 20px;
    overflow-y: auto;
}

.force-box {
    border: 1px solid var(--border-for-box);
    border-radius: var(--border-radius-for-box);
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
    overflow-y: auto;
    min-height: 200px;
}

.div6 { grid-area: 4 / 1 / 5 / 2; }
.div7 { grid-area: 4 / 2 / 5 / 3; }
.div8 { grid-area: 4 / 3 / 5 / 4; }
.div9 { grid-area: 4 / 4 / 5 / 5; }
.div10 { grid-area: 4 / 5 / 5 / 6; }

.chart-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#spiderChart {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

.card-label {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.card-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--ghost-accent-color);
}

.summary-content {
    font-size: 14px;
    line-height: 1.6;
}

.summary-content h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--ghost-accent-color);
}

.summary-content ul {
    list-style: none;
    padding-left: 0;
}

.summary-content li {
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
    font-size: 18px;
}

.summary-content li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--ghost-accent-color);
}
.assessment-summary{
    font-size: 18px;
    margin-bottom: 15px;
}

.force-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.force-level {
    font-size: 18px;
    font-weight: 600;
    color: var(--ghost-accent-color);
    margin-bottom: 12px;
}

.force-factors {
    list-style: none;
    padding-left: 0;
    margin-bottom: 12px;
}

.force-factors li {
    padding: 4px 0;
    padding-left: 12px;
    position: relative;
    font-size: 18px;
    line-height: 1.4;
    color: #555;
}

.force-factors li::before {
    content: "▪";
    position: absolute;
    left: 0;
    color: var(--ghost-accent-color);
    font-size: 10px;
}

.force-insight {
    font-size: 16px;
    font-style: italic;
    color: #666;
    border-left: 2px solid var(--ghost-accent-color);
    padding-left: 10px;
    margin-top: 8px;
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
    z-index: 1000;
    white-space: nowrap;
}

.tooltip.show {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    .parent {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        min-height: auto;
    }

    .div1 {
        grid-area: 1 / 1 / 2 / 2;
        min-height: 350px;
    }

    .div2 {
        grid-area: 2 / 1 / 3 / 2;
        min-height: 80px;
    }

    .div3 {
        grid-area: 3 / 1 / 4 / 2;
        min-height: 80px;
    }

    .div4 {
        grid-area: 4 / 1 / 5 / 2;
        min-height: 80px;
    }

    .div5 {
        grid-area: 5 / 1 / 6 / 2;
        min-height: 200px;
    }

    .div6 {
        grid-area: 6 / 1 / 7 / 2;
        min-height: 150px;
    }

    .div7 {
        grid-area: 7 / 1 / 8 / 2;
        min-height: 150px;
    }

    .div8 {
        grid-area: 8 / 1 / 9 / 2;
        min-height: 150px;
    }

    .div9 {
        grid-area: 9 / 1 / 10 / 2;
        min-height: 150px;
    }

    .div10 {
        grid-area: 10 / 1 / 11 / 2;
        min-height: 150px;
    }

    #spiderChart {
        max-width: 100%;
    }
}
/* Card value styling with separate currency and value */
.card-value {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.card-value .currency {
    /*font-size: 14px;*/
    font-weight: 400;
    color: #666;
}

.card-value .value {
    /*font-size: 24px;*/
    font-weight: 600;
    color: var(--color-primary);
}

/* Force level styling with separate label and value */
.force-level {
    display: flex;
    align-items: baseline;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.force-level .label {
    font-size: 14px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.force-level .level-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.force-level .score {
    font-size: 14px;
    font-weight: 400;
    /*color: var(--color-primary);*/
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-value .currency {
        font-size: 12px;
    }

    .card-value .value {
        font-size: 20px;
    }
}
/* Assessment title styling */
#assessmentTitle {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.assessment-label {
    font-size: 16px;
    font-weight: 400;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;

}

.assessment-rating {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-primary);
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .assessment-label {
        font-size: 12px;
    }

    .assessment-rating {
        font-size: 18px;
    }
}
