﻿/*Section Aggregate Table*/

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    border-bottom: 1px solid #999;
}

.tab-button {
    padding: 6px 14px;
    border: 1px solid #999;
    border-bottom: none;
    background-color: #e6e6e6;
    font-size: 13px;
    cursor: pointer;
}

    .tab-button:hover {
        background-color: #dcdcdc;
    }

    .tab-button.active {
        background-color: white;
        font-weight: 600;
        border-top: 2px solid black;
    }

.tab-content-area {
    border: 1px solid #999;
    padding: 15px;
    background-color: #f5f5f5;
    min-height: 250px;
}


/*Pavement Strength Pannel*/


.ps-panel {
    border: 1px solid #777;
    padding: 6px;
}


.ps-scroll {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: auto;
    background: white;
    border: 1px solid #999;
}


.ps-table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
    font-size: 13px;
}


    .ps-table th,
    .ps-table td {
        border: 1px solid #666;
        padding: 6px 10px;
        text-align: center;
        white-space: nowrap;
    }


    .ps-table th {
        background: #d0d0d0;
        font-weight: 600;
    }


.ps-left {
    background: #e6e6e6;
    font-weight: 600;
    text-align: left;
    padding-left: 10px;
}


.ps-table th {
    position: sticky;
    top: 0;
    z-index: 2;
}



/*AADT PANNEL*/
.aadt-panel {
    border: 1px solid black;
    padding: 10px;
    width: 520px;
}

.aadt-header {
    margin-bottom: 6px;
}

.surface-class {
    padding: 4px 10px;
    border: 1px solid black;
    display: inline-block;
    font-size: 12px;
}

.aadt-table {
    border-collapse: collapse;
    background: white;
    font-size: 12px;
}

    .aadt-table th,
    .aadt-table td {
        border: 1px solid black;
        padding: 4px 8px;
        text-align: center;
        min-width: 80px;
    }

        .aadt-table th:first-child,
        .aadt-table td:first-child {
            background: #e6e6e6;
            text-align: left;
            min-width: 120px;
        }


/*  BITUMINOUS LAYERS  */

.bit-panel {
    border: 1px solid black;
    padding: 10px;
    width: 520px;
}

.bit-table {
    border-collapse: collapse;
    background: white;
    font-size: 12px;
}

    .bit-table th,
    .bit-table td {
        border: 1px solid black;
        padding: 6px 10px;
        text-align: center;
    }

    .bit-table th {
        background: #e6e6e6;
        font-weight: 600;
    }

    .bit-table td:first-child {
        text-align: left;
        background: #f0f0f0;
    }


.bit-blue {
    background-color: #66ffff;
}

.bit-yellow {
    background-color: #ffff66;
}


/*  Geometry Table  */

.geo-panel {
    padding: 14px 18px;
    border: 2px solid #7a7a7a;
    display: inline-block;
}

.geo-table {
    border-collapse: collapse;
    font-family: Segoe UI, Tahoma, sans-serif;
    font-size: 13px;
}

    .geo-table th,
    .geo-table td {
        border: 2px solid black;
        padding: 8px 14px;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
    }

    .geo-table th {
        background: #d9d9d9;
        font-weight: 600;
        line-height: 1.2;
    }


.geo-label {
    
    text-align: left;
    min-width: 260px;
    padding-left: 12px;
}



.geo-table th:nth-child(6),
.geo-table td:nth-child(6) {
    border-left-width: 4px;
}

.geo-table {
    border-collapse: collapse;
    border: 2px solid black;
}


/*Surface Distresses Panel*/

.sd-panel {
    /*    padding: 10px;
    border: 1px solid #999;
    width: fit-content;*/

    padding: 14px 18px;
    border: 2px solid #7a7a7a;
    display: inline-block;
}

.sd-table {
    border-collapse: collapse;
    background: #cfcfcf;
    font-size: 13px;
}


    .sd-table th,
    .sd-table td {
        border: 1px solid #444;
        padding: 6px 10px;
        text-align: center;
        min-width: 95px;
    }


.sd-left {
/*    font-weight: bold;*/
    text-align: left;
    min-width: 150px;
}


.sd-table th {
    background: #f4f4f4;
    font-weight: bold;
}


/*.sd-cell-cyan {
    background: #7ffcff;
}

.sd-cell-yellow {
    background: #fff08a;
}*/



/*  COMPACTION QUALITY PANEL  */

.cq-panel {
    border: 1px solid black;
    padding: 12px;
    width: 350px;
    min-height: 220px;
}

.cq-table {
    border-collapse: collapse;
    background: white;
    font-size: 12px;
}

    .cq-table th,
    .cq-table td {
        border: 1px solid black;
        padding: 6px 10px;
        text-align: center;
    }

    .cq-table th {
        background: #e6e6e6;
    }





/*Surface Texture Table*/
.st-table th, .st-table td {
    border: 2px solid #000;
    padding: 6px 14px;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
}


    .row-label, .st-table td:first-child {
        font-weight: 700;
        text-align: left;
        padding-left: 12px;
    }


    .st-table th:nth-child(4),
    .st-table td:nth-child(4) {
        border-left: 4px solid #000;
    }

.st-table tr:nth-child(3) th {
    border-bottom: 4px solid #000;
}

.st-table tr {
    height: 28px;
}



/*Roughness Pannel*/
.rough-panel {
    padding: 10px;
    border: 1px solid #999;
    width: 100%;
    overflow-x: auto;
}

.roughness-title {
    font-weight: bold;
    margin-bottom: 6px;
}

.rough-table {
    border-collapse: collapse;
    background: #cfcfcf;
    font-size: 13px;
    width: 100%;
    table-layout: fixed;
}

    .rough-table th,
    .rough-table td {
        border: 1px solid #444;
        padding: 6px 12px;
        text-align: center;
        min-width: 70px;
        vertical-align: middle;
    }


.road-col {
    text-align: left;
    font-weight: bold;
    width: 170px;
}




.group-bit,
.group-unsealed,
.group-concrete {
    font-weight: bold;
}



/* Calibration Parameters*/

.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tab-button {
    padding: 6px 16px;
    border: 1px solid #999;
    background: #f0f0f0;
    cursor: pointer;
}

    .tab-button.active {
        background: #ffffff;
        font-weight: bold;
        border-bottom: 2px solid black;
    }

.section-box {
    border: 1px solid #999;
    padding: 12px;
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

    .form-row label {
        width: 220px;
    }

.form-input {
    width: 80px;
}

.sub-section {
    border: 1px solid #bbb;
    padding: 10px;
    margin-top: 8px;
}

.form-row label {
    width: 230px;
}

.effects-table {
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 13px;
}

    .effects-table th,
    .effects-table td {
        border: 1px solid #9a9a9a;
        padding: 4px 6px;
        vertical-align: middle;
    }

    .effects-table th {
        background-color: #efefef;
        font-weight: normal;
        text-align: center;
    }

    .effects-table .row-header {
        white-space: nowrap;
        font-weight: normal;
        background-color: #f8f8f8;
    }

    .effects-table select {
        width: 100%;
        min-width: 110px;
        height: 22px;
        font-size: 12px;
    }
