﻿body {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}



/* USER_ROLES */
@keyframes new-role {
    0% {
        background-color: rgba(60, 69, 200, .2);
    }

    100% {
        background-color: initial;
    }
}

.new-role {
    animation: new-role .25s normal ease-in;
    background-color: rgba(57, 103, 197, .05);
}

@keyframes removed-role {
    0% {
        background-color: rgba(222, 80, 80, .1);
    }

    100% {
        opacity: 0;
    }
}

.removed-role {
    animation: removed-role .4s normal ease-in;
}

.role-item {
    padding: 6px;
    border-radius: 2px;
    margin-bottom: 8px;
}

    .role-item select {
        height: 2rem;
        padding: 0px;
    }

    .role-item input[type=text] {
        height: 2rem;
        padding: 0px;
        font-size: medium;
        margin: 0;
    }

    .role-item > .row {
        margin-bottom: 6px;
    }

.remove-role {
    opacity: 0.7;
    cursor: pointer;
    user-select: none;
}

    .remove-role:hover {
        opacity: 1;
    }


/* COMPACT DROPDOWN */
.dropdown-content li{
    min-height: 32px;
}
.dropdown-content li > span {
    padding: 4px 10px;
    min-height: 32px;
}


/* MISC */
.opaque-50 {
    opacity: 0.5;
}

.found-item {
    background-color: rgba(250, 193, 69, 0.74);
}

table.compact th, td {
    padding: 4px;
}

nav ul li {
    user-select: none;
}
