/* Popup */

.authorize-button {
    margin: 10px;
}

.auth-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

/* Modal */

.container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    justify-content: space-between;
    align-items: stretch;
}

.panels {
    margin: 0px 30px 30px 30px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch;
    flex: 1 0 auto;
}

.panel {
    margin: 20px 40px 0px 0px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.panel:nth-child(1) {
    flex: 1 0 300px;
    justify-content: flex-start;
}

.panel:nth-child(2) {
    flex: 3 0 300px;
}

.panel:nth-child(3) {
    flex: 0 0 300px;
    margin-right: 0px;
}

.panel h3 {
    flex: 0 0 auto;
}

.no-cards {
    font-size: 13px;
    color: #5e6c84;
}

.hint-text {
    font-size: 12px;
    overflow: scroll;
    flex: 0 1 auto;
}

.hint-text ul {
    list-style-type: disc;
    padding-left: 2em;
}

.hint-text p {
    margin-top: 6px;
}

.hint > h3 {
    margin-top: 20px;
}

.members-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: scroll;
}

.labels-list {
    flex: 1 1 auto;
    min-height: 0;
    overflow: scroll;
}

.info {
    flex: 0 0 auto;
    min-height: 0;
    font-size: 12px;
}

.list {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    flex-wrap: wrap;
}

#memo-text {
    flex: 1 1 100px;
    margin-bottom: 0px;
}

.preview-list {
    width: 286px;
    flex: 1 1 0;
    min-height: 0;
    overflow: scroll;
}

.card-preview {
    background: #ebecf0;
    padding: 3px;
}

.controls {
    flex: 0 0 auto;
}

.message {
    margin: 30px 0px 0px 0px;
    border: 1px black;
    border-radius: 1em;
    font-size: 12px;
}

.error {
    color: red;
}

.banner {
    background: #0079BF;
    color: white;
    flex: 0 0 auto;
    padding: 5px 0px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.banner-hidden {
    display: none;
}

.banner a {
    color: white;
    text-decoration: underline;
}

.banner a:hover {
    color: white;
    opacity: 0.5;
    text-decoration: underline;
}

.banner .close-button, .banner .close-button:hover  {
    text-decoration: none;
}

.banner-text {
    flex: 1 0 auto;
    text-align: center;
}

.banner-close {
    flex: 0 0 auto;
    padding-right: 10px;
}

@media (max-width: 1070px) {
    .panel.hint {
        order: 3;
        margin-right: 0px;
    }

    .panel:nth-child(3) {
        margin-right: 40px;
    }
}