
#outContainer{
    background-color: var(--primary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 5px;

    display: flex;
    flex-direction: row;
    position: relative;

    width: 100%;
    height: 100%;
    flex-wrap: wrap;
    align-content: flex-start;

    overflow: hidden;
}

.watchlistContainer {
    display: flex;
    flex: none;
    flex-direction: column;
    overflow-y: hidden;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
    height: 50%;
    padding-bottom: 1vh;
}

.watchContainer button {
    flex: 0;
    background-color: gray;
    border: 1px solid black;
    border-radius: 3px;
    white-space: nowrap;

    padding-left: 0.5vw;
    padding-right: 0.5vw;
}

.watchContainer button:hover {
    background-color: var(--secondary-color);
    color: white;
}

.inputWrapper {
    display: flex;
    flex-direction: row;
    height: fit-content;
    grid-template-columns: 4fr 1fr;
}

.inputWrapper > input {
    flex: 1;
    padding-top: 0.5vh;
    padding-bottom: 0.5vh;
    background-color: var(--primary-color);
    border: 1px solid gray;
    border-radius: 3px;
    color: var(--text-color);

    padding-left: 0.5vw;
    padding-right: 0.5vw;
}

#watchlist,
#visiblelist {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: auto;
    font-size: small;
    gap: 7px;
    margin-top: 1vh;
}

.elem_wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: fit-content fit-content; 
    width: 100%;
    height: fit-content;
    background-color: var(--background-color);
}

.elem_wrapper > div {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    border: 1px solid black;
    margin: 0;
    background-color: var(--secondary-color);
    font-size: larger;
}

.results {
    grid-column: span 3;
    display: flex;
    flex-direction: row;
    overflow-y: auto;    
}

.results {
    padding: 0 25% 0 25%;
}

.results > div {
    flex: 1;
    font-size: smaller;
    display: flex;
    flex-direction: row;
    overflow-y: auto;
    align-items: center;
    justify-content: center;
}

#visibleUsers {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: hidden;
    gap: 7px;
    height: 50%;
    padding-top: 1vh;
    padding-left: 0.5vw;
    padding-right: 0.5vw;
}

#watchListCycle.no_user button, #watchListCycle.no_user button:hover{
    flex: 0;
    background-color: var(--secondary-color);
    color: black;
    border: 1px solid black;
    border-radius: 3px;
    white-space: nowrap;

    padding-left: 0.5vw;
    padding-right: 0.5vw;
    cursor: not-allowed;
}

#watchListCycle.has_users button{
    flex: 0;
    background-color: gray;
    border: 1px solid black;
    border-radius: 3px;
    white-space: nowrap;

    padding-left: 0.5vw;
    padding-right: 0.5vw;
    
}

#watchListCycle.has_users button:hover{
    flex: 0;
    background-color: var(--secondary-color);
    color: white;
    border: 1px solid black;
    border-radius: 3px;
    white-space: nowrap;

    padding-left: 0.5vw;
    padding-right: 0.5vw;
    
}
