body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    overflow: hidden;
    height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    color: white;
    padding: 5px 15px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar .title {
    font-weight: bold;
    letter-spacing: 0.5px;
}

.navbar .controls {
    display: flex;
    align-items: center;
    font-size: 0.85rem;
    margin: 0;
    padding: 0;
    background-color: transparent;
    color: white;
}

.navbar select, .navbar label {
    margin-left: 10px;
}

.navbar select {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 2px;
    font-size: 0.85rem;
}

.radio-group {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
    margin-left: 10px;
}

.radio-group span {
    margin-left: 3px;
}

.point {
    fill-opacity: 0.35;
}

.tick line {
    stroke: "black";
    stroke-width: 0.5;
}

.domain {
    display: none;
}

.chart-title {
    font-size: 16px;
    font-weight: bold;
}

.axis-label {
    font-size: 12px;
    font-weight: bold;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    height: calc(100vh - 35px);
    display: flex;
    flex-direction: column;
    padding: 5px 10px;
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 10px;
    font-size: 1.6rem;
    margin-top: 5px;
}

.chart-header {
    background-color: #333;
    color: white;
    padding: 5px 10px;
    font-size: 0.9rem;
    font-weight: bold;
    text-align: left;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.chart-content {
    padding: 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    width: 100%;
    height: 100%;
}

.vis-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 8px;
    flex: 1;
    min-height: 0;
}

.tooltip {
    position: absolute;
    padding: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    pointer-events: none;
    font-size: 14px;
    opacity: 0; /* Using opacity instead of display for smooth transitions */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tooltip-title {
    font-weight: bold;
    margin-bottom: 5px;
}

.legend text {
    font-size: 12px;
    fill: #666;
}

.vis-container .controls {
    margin-bottom: 10px;
    padding: 5px;
    background-color: #f8f8f8;
    border-radius: 5px;
    font-size: 0.9rem;
}

.vis-container {
    display: flex;
    flex-direction: column;
}

.row-container {
    display: flex;
    flex: 1;
    min-height: 0;
    gap: 15px;
    height: 100%;
}

.column-container {
    display: flex;
    flex: 1;
    min-width: 0;
    gap: 15px;
    width: 100%;
}

.chart-container, .explanation-container {
    padding: 10px 15px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 5px;
}

.sunburstChart-svg {
    background-color: white;
}

svg {
    width: 100%;
    height: 100%;
    min-height: 0;
    flex: 1;
}

.legend {
    font-size: 0.8rem;
}

.legend text {
    font-size: 0.8rem;
}

.axis-label {
    font-size: 0.8rem;
}

.square {
    stroke: #333;
    stroke-width: 1px;
}