

.supportchat-box * {
    font-family: sans-serif;
    box-sizing: border-box;
}

.supportchat-box {
    position: absolute;
    bottom: 50px;
    right: 30px;
    width: 300px;
    height: 400px;
    display: none;
    background-color: white;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
}

.supportchat-header {
    height: 40px;
    width: 100%;
    background-color: #EE0000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    color: white;
}

.sch-title {
    font-weight: bold;
}

.cross-icon {
    height: 15px;
    object-fit: contain;
    cursor: pointer;
}

.supportchat-main {
    width: 100%;
    height: 360px;
}

.anonStart {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.authStart {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.sc-explainer {
    text-align: center;
    font-size: 0.9rem;
    color: #5F646F;
}

.sc-startbutton {
    background-color: #EE0000;
    color: white;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    border: solid 1px #EE0000;
}

.sc-startbutton:hover {
    background-color: white;
    color: #EE0000;
}

.anonStart input {
    width: 100%;
    margin-bottom: 15px;
    margin-top: 15px;
    border: #5F646F solid 1px;
    border-radius: 3px;
    padding: 4px 8px;
}

.scMessages {
    padding: 10px;
    height: 100%;
}

.sc-messages-list {
    height: 80%;
    width: 100%;
    overflow-y: scroll;
}

.sc-messbox {
    height: 20%;
    width: 100%;
    display: flex;
    padding: 10px 0;
    align-items: flex-end;
    justify-content: space-between;
}

.sc-message {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: 90%;
    margin-top: 15px;
    margin-left: auto;
}

.sc-admin {
    align-items: flex-start;
    margin-left: 0;
}

.sc-text {
    font-size: 0.9rem;
    padding: 5px;
    border-radius: 3px;
}

.sc-sender {
    font-size: 0.6rem;
    color: #5F646F;
    margin-top: 5px;
}

.sc-user .sc-text {
    background-color: #ffdfe1;
}

.sc-admin .sc-text {
    background-color: #F5F5F5;
}

.sc-messbox button {
    height: fit-content;
    padding: 5px;
    border-radius: 3px;
    border: solid 1px #EE0000;
    background-color: #EE0000;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.sc-messbox button:hover {
    background-color: white;
    color: #EE0000;
}

.sc-messbox textarea {
    flex-grow: 1;
    margin-right: 10px;
    resize: none;
    font-size: 0.7rem;
    height: 100%;
}