.chat-message-input {
    width: 100% !important;
    background-color: #2c2c2c;
    border: none;
    resize: none;
    border-radius: 10px;
    outline: #333333 !important;
    bottom: 0;
    left: 0;
    padding: 15px;
    box-sizing: border-box;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
    border-top-right-radius: 0px;
}

.action-layer {
    background-color: #2c2c2c;
    width: 100%;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    padding: 10px 10px;
}

.send-btn {
    background-color: #202020;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.send-btn:hover {
    background-color: #ccc !important;
    color: #333 !important;
}

.send-btn.loading:disabled {
    background-color: #666 !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
    padding-left: 30px;
}

.send-btn:disabled {
    background-color: #666 !important;
    color: #fff !important;
    cursor: not-allowed;
    opacity: 0.7;
}

.send-btn.loading:disabled::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
    margin-left: 8px;
    margin-top: 1p;
    position: absolute;
    left: 3px;
    top: 10px;
}

.chat-message-input:focus {
    outline: #333333;
}

.chatroom-page {
    display: flex;
    justify-content: center;
    align-items: start;
    width: 100%;
    height: calc(99vh - 64px);
    overflow: hidden;
}

.chatroom-page .panal {
    height: 100%;
    width: 100%;
    display: flex;
}

.chatroom-page .maincontainer {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 20px 0;
    gap: 0;
}

.sender-message {
    background-color: #333333;
    margin-bottom: 15px;
    max-width: 400px;
    width: fit-content;
    padding: 10px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.current-message {
    margin-left: auto;
    background-color: #f3f3f3;
    color: #333333;
    margin-bottom: 15px;
    max-width: 400px;
    width: fit-content;
    padding: 10px 10px;
    border-radius: 20px;
    font-size: 14px;
}

.timing {
    font-size: 12px;
    color: #9b9a9a;
    margin-top: 10px;
}

.current-message .timing {
    color: #333333;
}

.message-form {
    display: flex;
    flex-direction: column;
}

.messages {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}

.message-container {
    display: flex;
    flex-direction: column;
}

.chat-textbox-container {
    border-top-right-radius: 0px !important;
}

.close-btn {
    background-color: #e25353 !important;
    color: #fff;
    padding: 8px 15px;
    font-size: 12px !important;
    font-weight: bold;
    border-radius: 10px;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.closed-tag {
    background-color: #333333;
    height: 100px;
    width: 100%;
    border-radius: 20px;
}

.closed-tag {
    padding: 10px 20px;
}
.closed-tag p {
    font-size: 13px;
    line-height: 1.7;
}

.closed-tag button {
    font-size: 12px;
    width: 120px;
    height: 35px;
    margin-top: 10px;
    background-color: rgb(89, 89, 89) !important;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
