/* Life expectancy line chart styles */
#life-expectancy-container {
    width: 100%;
    height: 90vh;
}

.axis-label {
    font-size: 1.2rem;
    fill: white;
    text-anchor: middle;
    /* font-weight: bold; */
}


.country-label {
    font-size: 1.5rem;
    font-weight: bold;
    text-anchor: end;
}

.tick {
    font-size: 0.8rem;
    fill: white;
}

/* Deaths by conflict bar chart styles */
#conflict-bar-chart-container,
#conflict-bar-chart-summary-container {
    width: 100%;
    height: 85vh;
    overflow: hidden;
    position: relative;
    padding: 1rem;
}

#chart-content-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: flex-end;
    width: 100%;
}

.conflict-labels {
    font-size: 1.1rem;
    margin-top: 0.75rem;
    font-weight: bold;
    min-height: 4em; /* Force height for the labels */
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.conflict-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.5rem;
    text-align: center;
}

.conflict-death-count {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.conflict-flag {
    width: auto;
    height: 2.2rem;
    margin: 1rem 0 0.35rem;
    display: block;
}

.conflict-title {
    font-family: "PT Sans", sans-serif;
    font-size: 1.5rem;
    margin-top: auto;
    margin-bottom: 0.25rem;
    width: 100%;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.conflict-axis-col {
    margin-bottom: 6rem;
}

.conflict-axis-col svg {
    overflow: visible;
}

.conflict-icons-svg {
    align-self: center;
    margin-bottom: 0;
}
