main.results
{
    grid-area: main;
    background: rgba(255, 255, 255, 0.7);

    border-radius: 4px;
    box-shadow: -4px -4px 4px rgba(0, 0, 0, 0.1), 4px 4px 2px rgba(255, 255, 255, 0.1);

    margin: 8px;
    overflow-y: auto;
    overflow-x: hidden;
}

main.results p.message
{
    margin: 16px;
    color: rgba(33, 80, 97, 1);
    font-weight: bold;
}

main.results table
{
    width: 100%;
    font-size: 12px;
    color: rgba(33, 80, 97, 1);
    border-collapse: collapse;
}

main.results table thead th
{
    cursor: default;
    background-color: rgba(255, 255, 255, 1);
    padding: 0 4px;
    font-size: 12px;
    position: sticky;
    top: 0;
    white-space: nowrap;
    font-weight: normal;
}

main.results table thead th.sortAsc::after
{
    content: " \f0de";
}

main.results table thead th.sortDesc::after
{
    content: " \f0dd";
}

main.results table tr:nth-child(odd):not(:first-child)
{
    background-color: rgba(0, 0, 0, 0.02);
}

main.results table tr:not(:first-child):hover,
tr:nth-child(odd):not(:first-child):hover
{
    background-color: rgba(0, 30, 80, 0.2);
    color: #fff;
}

main.results table td
{
    text-align: center;
    padding: 0 8px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    cursor: default;
}

main.results table td div.sms
{
    position: absolute;
    background-color: rgba(33, 80, 97, 0.95);
    border-radius: 12px;
    padding: 10px;
    width: 600px;
    color: #fff;
    text-align: left;
    z-index: 100;
    overflow-wrap: break-word;
    transform: translateY(-40px);
    font-size: 11px;
}

main.results table td div.sms.unavailable
{
    border: 3px solid rgb(255 0 0);
    font-style: italic;
}

main.results table td.time
{
    width: 15ch;
    flex-wrap: nowrap;
}

main.results table td.time div
{
    display: flex;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
    padding: 0 8px;
}


main.results table td input[type=checkbox]
{
    filter: grayscale(50%) brightness(100%) hue-rotate(-30deg);
    opacity: 0.8;
}

main.results table td.recorded:hover
{
    cursor: not-allowed;
}


main.results table td.recorded.playable
{
    color: rgba(255, 0, 0, 0.5);
}

main.results table td.recorded.playable:hover
{
    cursor: pointer;
}


/*
main.results table td.recorded.playable:hover
{
    color: rgba(255, 0, 0, 1);
}
 */