@import "../../../styles/_global.module.scss";

.dropdown {
    background-color: white;
    text-align: left;
    font: normal normal bold 20px/20px $fontFamily;
    letter-spacing: .8px;
    box-shadow: 0px 6px 5px #00000080;
    color: #bf372c;
    width: fit-content;
    max-width: 100%;
    border: none;
    padding: 0.5em 1em;
    border-radius: 10px;
}

.circle {
    width: 0.8em;
    height: 0.8em;
    border-radius: 50%;
    margin-right: 0.6em;
    display: inline-block;
}

.dropdownMenu {
    max-height: 6em;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 10px;
}

.dropdownRow {
    height: 12%;
}

.cardRow {
    height: 88%;
}

.dropdownMenu::-webkit-scrollbar {
    width: 0.8em;
    display: block;
}

.dropdownMenu::-webkit-scrollbar-track {
    background-color: rgb(198, 198, 198);
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.dropdownMenu::-webkit-scrollbar-thumb {
    background-color: #565e64;
    border-radius: 10px;
}

.dropdown:hover {
    background-color: #f0e8e8;
    color: #bf372c;
    box-shadow: 0px 6px 5px #00000080;
}

.dropdown:focus {
    background-color: white;
    color: #bf372c;
    box-shadow: 0px 6px 5px #00000080;
}


.card {
    background-color: white;
    box-shadow: 0px 6px 5px #00000080;
    border-radius: 15px;
    padding: 1em;
    height: 100%;
}

.cardBody {
    margin-top: 0.6em;
    display: flex;
    flex-direction: column;
}

.cardTitle {
    border-bottom: 2px solid #0b3954;
}

.title {
    width: 100%;
    margin-bottom: 0.3em;
    border: none;
    resize: vertical;
}

.postAs {
    width: 100%;
    margin-bottom: 0.3em;
    border: none;
    text-align: end;
}

.textarea {
    border: 1px solid rgba(rgb(0, 0, 0), 0.3);
    padding: 0.5rem;
    height: 21em;
    overflow-y: auto;
    width: 100%;
    resize: none;
    display: inline-block;
}

.postButton {
    background-color: #0b3954;
    border-radius: 15px;
    font-size: 1rem;
    padding: 0.2rem 0.8em;
    color: white;
    width: 110px;
    margin-top: 0.5em;
    align-self: flex-end;
    border: none;
    box-shadow: 0px 4px 5px #00000080;
}

.postButtonDisabled {
    background-color: #707070;
    height: 30px;
    width: 100px;
    border-radius: 24px;
    justify-content: center;
    box-shadow: 0px 6px 5px #00000080;
    opacity: 1;
    text-align: center;
    line-height: 15px;
    padding: 0.5em;
    font-size: 1.2em;
    font-weight: 500;
    color: white;
    margin-top: 0.5em;
}


.postButton.standard:disabled {
    color: #1d245c80
}