/*Canopy - The next generation of stoner streaming software
Copyright (C) 2024-2026 Rainbownapkin and the TTN Community

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.*/

.admin-list-div{
    display: flex;
    flex-direction: column;
}

.admin-panel-container-div{
    margin: 0 auto 5em;
    max-width: 100%;
}

.admin-list-entry-img-title{
    width: 1.5em;
}

img.admin-list-entry-item{
    height: 2em;
}

#admin-channel-list-entry-name-title{
    width: 15%;
}

#admin-user-list-entry-id-title{
    width: 2em;
}

.admin-list-label{
    margin-top: 0.5em;
    margin-bottom: 0.1em;
}

.admin-list-select{
    margin-bottom: 0.5em;
}

.admin-perm-list-rank-select, .admin-chan-perm-list-rank-select{
    width: 5em;
    margin-left: 1em;
}

.admin-list-field-container{
    text-align: center;
}

#channel-info-div{
    display: flex;
    justify-content: space-evenly;
    padding: 0.3em 0;
}

.channel-info-span p{
    margin: 0;
}

#channel-info-thumbnail {
    max-width: 8em;
    max-height: 8em;
    align-self: center;
}

#channel-info-thumbnail-span div{
    position: relative;
    display: flex;
    flex-direction: column;
}

#channel-info-description-span{
    flex: 0.5;
}

#channel-info-thumbnail-prompt{
    position: absolute;
    width: 8em;
    top: 3em;
    left: calc(50% - 4.5em);
}

#channel-info-description-prompt{
    resize: vertical;
    width: 100%;
    min-height: 2em;
    max-height: 8em;
    height: 8em;
}

#channel-rank-title{
    margin-bottom: 0;
}

#channel-rank-sup{
    margin-bottom: 1em;
}


#channel-user-list-entry-rank-title{
    width: 5em;
}

.panel-title{
    text-align: center;
}

#new-rank-select{
    margin: auto;
    height: 1.3em;
}

.admin-user-list-icon{
    cursor: pointer;
    margin: 0 0.2em;
}

#new-ban-button{
    margin: auto;
    height: 1.5em;
}

#chan-delete{
    margin: auto auto 2em;
}

#admin-ban-list-entry-expiration-type-title{
    width: 8em;
}

div.toke-command-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15em, 1fr));
    text-align: center;
    padding: 1em;
    overflow-y: auto;
    min-height: 0.8em;
    max-height: 5.5em;
}

span.toke-command-list{
    display: flex;
}

p.toke-command-list{
    white-space: nowrap;
    flex: 1;
    margin: auto 0;
}

i.toke-command-list{
    margin: 0.2em;
}

#new-emote-button{
    margin-left: 0.3em;
}

#emote-list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    padding: 1em;
    overflow-y: auto;
    justify-items: center;
    max-height: 19.8em;
}

div.emote-list-emote{
    height: 100%;
    width: fit-content;
    display: flex;
    flex-direction:  column;
}

span.emote-list-title{
    display: flex;
    flex-direction: row;
    position: relative;
    width: 100%;
    margin-top: 0.5em;
}

p.emote-list-title{
    margin: 0 1.5em;
    flex: 1;
    text-align: center;
}

i.emote-list-delete{
    position: absolute;
    right: 0;
}

.emote-list-media{
    max-height: 8em;
    max-width: 10em;
    margin: auto;
}