
.chat-wrapper {
    width: 100%;
    height: 600px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.chat-main-sec {
    right: 20px;
}

/* Header */
.chat-header {
    background: #de2027;
    padding: 60px 20px 20px 20px;
    color: #fff;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    position: relative;
}
.close-btn {
    position: absolute;
    right: 20px;
    top: 10px;
}
.chat-header h4 {
    font-size: 20px;
    margin-bottom: 10px;
}
.chat-user {
    display: flex;
    align-items: center;
    gap: 10px;
}
.chat-dropdown .dropdown-item.active, .chat-dropdown .dropdown-item:active
{
background-color: #DE2027;
}
.dropdown.chat-dropdown:focus {
    outline: 0;
    box-shadow: none;
}
/* Body */
.chat-body {
    flex: 1;
    padding: 16px;
    }

.chat-msg button {
    background: #de20272e;
    border: 1px solid #de2027;
    border-radius: 8px;
    padding: 10px 14px;
    font-size:13px;
    color: #000000;
    margin-top: 4px;
text-align:left;
}
.chat-msg {
    margin-bottom: 10px;
}
.chat-text-help small {
    color: #727272;
    font-weight: 100;
    font-size: 14px;
}

/* Footer */
.chat-input {
    display: flex;
    padding: 0;
    margin-top: 20px;
     position: relative;
}

.chat-input input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 5px;
    border: 1px solid transparent;
    outline: none;
    font-size: 14px;
    height: 40px;
   
}

.chat-input button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #de2027;
    border: 0;
    padding: 5px;
    border-radius: 50%;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.chat-disclaimer p{
    font-size: 14px;
}
.chat-disclaimer p a{
    color:#de2027;
    text-decoration: none;
}
.main-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.loader {
    width: 7px;
    aspect-ratio: 1;
    border-radius: 50%;
    animation: l5 1s infinite linear alternate;
}

@keyframes l5 {
    0%   { box-shadow: 12px 0 #000, -12px 0 #0002; background: #000; }
    33%  { box-shadow: 12px 0 #000, -12px 0 #0002; background: #0002; }
    66%  { box-shadow: 12px 0 #0002,-12px 0 #000; background: #0002; }
    100% { box-shadow: 12px 0 #0002,-12px 0 #000; background: #000; }
}
.loader {
    width: 20px;
    height: 20px;
    border: 3px solid #fff;
    border-top: 3px solid #de2027;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.modal.disclaimer-modal{
    position: absolute;
    top: 50%;
    left: 50%;
   transform: translate(-50%, -50%);
}
.disclaimer-modal .modal-content{
        border-radius: 15px;
}
.disclaimer-modal .btn{
    background-color: #de2027;
    border-color: #de2027;
    color:#fff;
}
@media screen and (max-width:420px){
.chat-main-sec {
    right: unset;
    padding: 10px;
    left: 50%;
    transform: translateX(-50%);
}
}