table {
    width: 80%;
    border-collapse: collapse;
    margin-bottom: 40px;
    /* Initially hide the table */
    display: none;
}

th,
td {
    padding: 8px;
    border: 1px solid #dedede;
}

th {
    background-color: #f2f2f2;
}

.chart-container {
    margin-bottom: 10px;
    /* Reduced margin to bring buttons closer */
}

.controls-container {
    text-align: center;
    margin-top: 2px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.action-button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-family: Roboto, Arial, Helvetica, sans-serif !important;
}

.action-button:hover {
    background-color: #0056b3;
}

/* Style for export buttons if different colors are desired */
.export-button.json {
    background-color: #28a745;
    /* Green for JSON */
}

.export-button.json:hover {
    background-color: #218838;
}

.export-button.csv {
    background-color: #ffc107;
    /* Yellow for CSV */
    color: #333;
    /* Dark text for contrast */
}

.export-button.csv:hover {
    background-color: #e0a800;
}

h2 {
    margin-bottom: 15px;
    /* Space below title and above chart */
}

/*For Show Hide Div tag */

.toggle-buttons {
    margin-bottom: 20px;
}

.toggle-buttons button {
    padding: 10px 20px;
    margin: 0 10px;
    font-size: 16px;
    cursor: pointer;
}

.content-div {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
    height: 100vh;
}



/* Dynamic Filter CSS */

.container {
    display: flex;
    gap: 40px;
    padding: 20px;
}

.column {
    flex: 1;
    border: 1px solid #ccc;
    padding: 15px;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* h3 {
    margin-top: 0;
    border-bottom: 1px solid #bbb;
    padding-bottom: 5px;
} */

label {
    display: block;
    margin-bottom: 6px;
}

#selectionSummary {
    margin: 20px;
    padding: 15px;
    border: 1px solid #d0e4f6;
    border-radius: 6px;
    background-color: #e4f2ff;
}

.export-buttons {
    margin-top: 10px;
}

.export-buttons button {
    margin-right: 10px;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 4px;
    cursor: pointer;
    background: #3379b7;
    color: #fff;
    border: none;
}

.export-buttons button:hover {
    background: #276397;
}


th,
td {
    padding: 8px 10px;
    border: 1px solid #dedede;
    font-size: 13px;
    white-space: nowrap;
}

th {
    white-space: pre-line;
    vertical-align: top;
    line-height: 1.05rem;
    font-weight: 500;
    padding: 10px 10px;

}

tr:hover {
    background: #fffbd7;
}

.settings-drawer .column {
    padding: 16px;
    border: none;
    margin-right: 2px;
    border-radius: 0px;
    border-right: 1px solid #ddd;
}

#layer3.column {
    border: none;
}

.settings-drawer .container {
    display: flex;
    gap: 0px;
    padding: 5px 2px;
}

.settings-drawer h3 {
    font-size: 1rem;
}

hr {
    margin: 10px 0;
}

@media (max-width: 430px) {
    .controls-container {
        text-align: center;
        margin-top: 2px;
        margin-bottom: 22px;
        display: flex;
        align-items: center;
        gap: 2px;
        justify-content: center;
        width: 103%;
        position: absolute;
        top: 352px;
    }

    .action-button {
        padding: 9px 10px;
    }

    .js-plotly-plot .plotly .user-select-none {
        user-select: none;
        margin-left: -122px;
        width: 350px !important;
        height: 300px;
    }

    .accordion-content {
        width: 350px;
    }

    .data-table {
        width: 350px;
        overflow-x: scroll;
    }

    #selectionSummary {
        display: none;
    }

    .settings-drawer .column {
        padding: 10px 4px;
        border-top: none;
        border-bottom: none;
        margin-right: 2px;

    }
}