﻿.custom {
    background-color: #C0041C !important;
    border-color: #E00620 !important;
    color: white !important;
    padding: 5px 5px;
    font-size: 16px;
    border-radius: 5px;
}

    .custom:hover {
        background-color: #A00318 !important;
        border-color: #E00620 !important;
    }

.cancel {
    background-color: #6C757D !important;
    border-color: #5A6268 !important;
    color: white !important;
    padding: 5px 5px;
    font-size: 16px;
    border-radius: 5px;
}

.cancel:hover {
    background-color: #5A6268 !important;
    border-color: #495057 !important;
}

.section-divider {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #007bff;
    box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.button-container {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

    .button-container .e-danger,
    .button-container .e-primary {
        width: 120px;
    }

.no-bg-readonly input[readonly] {
    background-color: transparent !important;
    border: 1px solid #ced4da;
    color: #495057;
}

.chat-messages-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    display: flex;
    flex-direction: column;
}

.chat-message-wrapper {
    display: flex;
    width: 100%;
}

.chat-message {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    font-size: 14px;
    word-wrap: break-word;
}

.align-left {
    justify-content: flex-start;
    text-align: left;
}

.align-right {
    justify-content: flex-end;
    text-align: right;
}

.bg-sender {
    background-color: #007bff;
    color: white;
}

.bg-receiver {
    background-color: #f1f1f1;
    color: black;
}

.chat-empty {
    text-align: center;
    color: #777;
    font-size: 14px;
    margin-top: auto;
}

.chat-input {
    display: flex;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid #ddd;
}

.chat-textbox {
    flex-grow: 1;
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

.send-button {
    padding: 8px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}
