/* ==========================
Friction Angle — Table Container
============================= */
.friction-angle-page .main-container {
    min-height: 500px;
}

.friction-angle-page .table-panel {
    height: 500px;
}

#friction_angle-table-container {
    flex: 1;
    overflow: auto;
    min-height: 0;
}
/* ==========================
Friction Angle — Chart dimensions
(overrides the shared defaults in atterberg.css)
============================= */
#friction_angle-chart {
    flex: 1 1 500px;
    height: 500px;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 3 / 2;
    margin-top:0;
    align-self: flex-start;
}



/* ==========================
Responsive — Tablet
============================= */
@media (max-width: 1024px) {

    .friction-angle-page .main-container {
        min-height: auto;
    }

    #friction_angle-table-container {
        max-width: 100%;
        overflow-x: auto;
    }

    #friction_angle-chart {
        flex: none;
        width: 100%;
        min-width: 0;
        max-width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }
}

/* ==========================
Responsive — Mobile
============================= */
@media (max-width: 600px) {

    #friction_angle-chart {
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .friction-angle-page .table-panel {
        max-width: calc(100vw - 40px);
    }

    #friction_angle-table-container {
        max-width: 100%;
        overflow-x: auto;
    }
}
