.dps-chat-container {
    display: flex;
    height: 100vh;
    padding: 140px 20px 0;
}
.logged-in .dps-chat-container {
    height: calc(100vh - 32px);
}



@media (max-width:782px) {
    .logged-in .dps-chat-container {
        height: calc(100vh - 46px);
    }
}

.dps-chat-sidebar {
    width: 455px;
    border-radius: 60px 60px 0 0;
    background: linear-gradient(195deg, #D21C1E 0.59%, #6C0E0F 100%);
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    color: white;
}

.dps-chat-welcome-card {}

.dps-chat-welcome-card h2 {
    margin-bottom: 8px;
    color: #FFF;
    font-family: "Spectral", Sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: normal;
}

.dps-chat-welcome-card p {
    color: #FFF;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 50px;
}

.dps-chat-help-text {
    color: #FFF;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
}

.dps-chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.dps-chat-main-inner {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.dps-chat-messages {
    flex: 1;
    padding: 30px;
    overflow-y: auto;
    max-height: calc(74vh - 0px);
}

/* width */
.dps-chat-messages::-webkit-scrollbar {
    width: 10px;
}

.dps-chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dps-chat-messages::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 20px;
}

.dps-chat-messages::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.dps-chat-message {
    margin-bottom: 30px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.dps-chat-user-message {
    border-radius: 20px;
    border: 2px solid rgba(215, 25, 32, 0.20);
    display: flex;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.dps-chat-message-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dps-chat-user-icon {
    border-radius: 6px;
    border: 4px solid #D71920;
    background: #FBFBFB;
    width: 20px;
    height: 20px;
    color: #D71920;
    font-size: 0;
    line-height: 0;
}

.dps-chat-bot-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dps-chat-bot-icon svg {
    width: 17px;
    height: 20px;
    fill: #D71920;
}

.dps-chat-user-name,
.dps-chat-bot-name {
    color: #030303;
    font-family: "Poppins", Sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.dps-chat-message-content {
    color: #030303;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    position: relative;
}

.dps-chat-user-message .dps-chat-message-content {
    color: #575757;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin-left: 27px;
	word-break: break-word;
	text-align: justify
}

.dps-chat-bot-message .dps-chat-message-content p {
    color: #030303;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin-bottom: 15px;
	word-break: break-word;
    
}
.dps-message-content p:empty {
    margin: 0;
}

.dps-chat-user-name, .dps-chat-bot-name{
    font-size: 16px;
}

.dps-chat-bot-message .dps-chat-message-content p:last-of-type {
    margin-bottom: 20px;
}

.dps-chat-external-link {
    color: #c41e3a;
    text-decoration: none;
    margin-left: 5px;
}

.dps-chat-copy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #030303;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    /* margin-left: 17px; */
}

.dps-chat-copy-btn:hover {
    background: none;
    color: #D71920;
}
.dps-chat-copy-btn:focus {
    background: none !important;
    color: #030303 !important;
}

.dps-chat-copy-icon {
    line-height: 0;
}

.dps-chat-input-container {
    padding: 20px 30px;
    border-top: 1px solid #e9ecef;
    background: white;
    margin-top: auto;
}

.dps-chat-input-wrapper {
    background: #fff;
    padding: 0;
    margin-bottom: 20px;
    border-radius: 80px;
    border: 1px solid rgba(154, 166, 178, 0.50);
    height: 53px;
    position: relative;
    padding: 0 60px;
    padding-right: 90px;
}

.dps-chat-input-icon {
    border-radius: 60px 0 0 60px;
    background: #D71920;
    color: white;
    width: 53px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin: 0;
    position: absolute;
    left: -1px;
    top: -1px;
}

.dps-chat-input-icon svg {
    width: 21px;
    height: 24px;
    fill: #fff;
}

.dps-chat-input {
    border: none !important;
    outline: none !important;
    color: #575757;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    height: 53px;
    background: transparent;
    display: block;
    width: 100%;
    padding: 0 !important;
}

.dps-chat-input::placeholder {
    color: #575757;
}

.dps-chat-send-btn {
    background: none;
    border: none;
    color: #030303;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    border-radius: 0 60px 60px 0;
    width: 33px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: absolute;
    right: 10px;
    top: -1px;
}

.dps-chat-send-btn:hover {
    /*background: #D71920;*/
    background: transparent;
    color: #D71920;
}

.dps-chat-send-icon {
    transform: rotate(0deg);
    display: block;
    line-height: 1;
}

.mic-btn {
    background: none;
    border: none;
    color: #030303;
    cursor: pointer;
    font-size: 0;
    padding: 5px;
    width: 33px;
    height: 53px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: absolute;
    right: 45px;
    top: -1px;
}

.mic-btn:hover {
    background: transparent;
    color: #D71920;
}

.dps-chat-disclaimer {
    color: #030303;
    font-family: "Poppins", Sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
    max-width: 612px;
    margin-left: auto;
    margin-right: auto;
}

.dps-chat-warning-text {
    color: #D71920;
}

@media (max-width: 1199px) {
    .dps-chat-sidebar {
        width: 320px;
    }
}

@media (max-width: 768px) {
    .dps-chat-container {
        flex-direction: column;
        padding: 60px 0 0;
    }

    .dps-chat-sidebar {
        width: 100%;
        height: auto;
        min-height: 200px;
        padding: 20px;
        border-radius: 0;
    }

    .dps-chat-main-inner {
        max-width: none;
        padding: 0;
    }

    .dps-chat-welcome-card {
        padding: 20px;
    }

    .dps-chat-welcome-card h2 {
        font-size: 24px;
    }

    .dps-chat-welcome-card p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .dps-chat-help-text {
        font-size: 16px;
    }

    .dps-chat-messages {
        padding: 20px;
        max-height: calc(100vh - 320px);
    }

    .dps-chat-message {
        margin-bottom: 20px;
    }

    .dps-chat-message-content {
        padding: 0;
    }

    .dps-chat-input-container {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .dps-chat-sidebar {
        padding: 15px;
        min-height: 180px;
    }

    .dps-chat-main-inner {
        padding: 0;
    }

    .dps-chat-welcome-card {
        padding: 0;
    }

    .dps-chat-welcome-card h2 {
        font-size: 20px;
    }

    .dps-chat-welcome-card p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .dps-chat-help-text {
        font-size: 14px;
    }

    .dps-chat-messages {
        padding: 15px;
        max-height: calc(100vh - 300px);
    }

    .dps-chat-input {
        font-size: 14px;
    }
}

