/* ===== Utility Classes ===== */
.tenure-label-group {
    display: none;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    gap: 5px;
}

.tenure-label-group span {
    flex: 1;
    text-align: justify;
    font-size: 0.9rem;
}

.tenure-label-group.active {
    display: flex;
}

.private-span-design {
    text-align: end;
    padding-right: 0.75rem;
}

#home-tenure-labels {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 10px;
    padding: 0 10px;
    font-size: 14px;
    color: #333;
}

.amount-input {
    width: 100%;
    padding: 8px;
    margin: 8px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.tenure-toggle-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    margin-bottom: 10px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    background-color: #ccc;
    border-radius: 24px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: .4s;
}

.slider::before {
    content: "";
    position: absolute;
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    border-radius: 50%;
    transition: .4s;
}

input:checked+.slider {
    background-color: #008080;
}

input:checked+.slider::before {
    transform: translateX(26px);
}

.labels {
    display: flex;
    gap: 6px;
}

.labels span {
    font-size: 14px;
    opacity: 0.6;
    cursor: default;
}

.labels .active {
    font-weight: bold;
    opacity: 1;
}

.chart-container {
    background: var(--bg-color) !important;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    margin-bottom: 30px;
}

.summary-section {
    margin-top: 30px;
    border-top: 1px solid var(--chart-bg-secondary);
    padding-top: 20px;
}

.summary-header {
    background-color: var(--chart-bg-light) !important;
    font-weight: bold !important;
    color: var(--text-color) !important;
}

.summary-row {
    border-bottom: 1px solid var(--chart-bg-secondary) !important;
}

.summary-odd-row {
    background-color: var(--tab-active-bg) !important;
}

.google-visualization-table-td {
    padding: 12px 12px !important;
    background: var(--bg-color) !important;
    color: var(--text-color) !important;
}