@import '../colors';

.table-container {
    width: 100%;
    display: flex;
    align-items: flex-start;
    text-align: center;
    height: calc(100vh - 70px);
    overflow: auto;
    z-index: 0;

    .team {
        position: sticky;
        position: -webkit-sticky;
        left: 0;
        top: 0;
        z-index: 1;
        width: 100px;
        background-color: lighten($brand-blue, 40%);
        
        thead {
            background-color: rgba($green, 0.8);
            color: white;
        }
    }

    .details {
        width: calc(100% - 100px);
        overflow-x: auto;

        thead {
            th {
                width: 70px;
            }
        }
    }

    table {
        color: $brand-blue;
        background-color: lighten($brand-blue, 50%);
        table-layout:fixed;
        height: 100%;
        
        thead {
            background-color: rgba($green, 0.2);
            font-size: 14px;
            color: $green;
            
            th {
                padding: 15px 0;
                font-weight: normal;
            }
        }
        
        td {
            font-size: 16px;
            height: 50px;
        }
    }
}