/* Top styling */
.top-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem; 
    background-color: white;
}

/* Activity table styling */
#activity-table > tbody > tr:nth-child(odd) {
    background: #efefef;
}

th > span.sort_ascending:after {
    content: " \25B4";
}

th > span.sort_descending:after {
    content: " \25BE";
}

th > span.sort_unsorted:after {
    content: " \25B4\25BE";
}

#activity-table > tbody > tr > td {
    text-align: center;
}

#activity-table > thead > tr > th {
    text-align: center;
}

/* Chat message styling */
#chat-messages { 
    list-style-type: none; 
    margin: 0;
    padding: 0;
    font-family: monospace;
}

#chat-messages > li {
    padding: 0.5rem 1rem;
}

#chat-messages > li:nth-child(odd) {
    background: #efefef;
}

.chat-date-time {
    font-size: 0.8em;
    color: gray;
}

.chat-me-message {
    font-style: italic;
}

/* Chat bottom tab styling */
#chat-bottom {
    background: rgba(0, 0, 0, 0.15); 
    padding: 0.25rem; 
    position: sticky; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    box-sizing: border-box; 
    backdrop-filter: blur(10px);
}

#chat-message-entry {
    /* hide by default */
    display: none;
    width: 100%;
}

#chat-entry-form {
    display: flex;
}

#chat-message {
    flex: 1;
}

#chat-login-form {
    display: flex;
}

#chat-callsign {
    flex: 0 1 auto;
}

.standard-calling-freq {
    font-weight: bold;
}

.utc-time-option {
    text-align: center;
}

.unread-chats {
    display: none;
}

/* Chat user list styling */
.chat-user-list-body {
    overflow: auto;
    display: flex;
    align-items: center;
}

#chat-user-list-desc
{
    flex: 0;
}

#chat-user-list-container
{
    flex: 1;
}

#chat-user-list {
    display: inline;
    white-space: nowrap;
}

#chat-user-list > li {
    list-style-type: none;
    border: 1px solid black;
    width: auto;
    display: inline-block;
    padding-right: 10px;
    padding-left: 10px;
    margin: 5px;
}

.idle-row {
    display: none;
}

.scroll-top {
    width: 75px;
    height: 75px;
    position: fixed;
    bottom: 25px;
    right: 20px;
    display: none;
}
.scroll-top i {
    display: inline-block;
    color: #FFFFFF;
}
