/* * {
  font-size: 1.3vw;
  font-family: "Epilogue", sans-serif;
}

html {
  --scrollbarBG: #fff;
  --thumbBG: #90a4ae;
}

body {
  background: #ccc;
} */

.chat-sec-box #openChatBtn{
    position: fixed;
    top: 95%;
    left: 90%;
    width: 200px;
    transform: translate(-50%,-50%);
    z-index: 9;
}

.chat-sec-box .card {
    position: fixed;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    height: 25vw;
    width: 35vw;
    background-color: white;
    margin-left: 30vw;
    margin-top: 5vw;
    box-shadow: 2vw 2vw 12vw 3vw #ccc;
    z-index: 999999999;
    border-radius: 10px;
}
.chat-sec-box .card #header {
  height: 5vw;
  background: #000;
  padding: 0vw;
  border-radius: 10px;
}
.chat-sec-box .card #header h1 {
  color: #fff;
  font-size: 2vw;
  font-family: "Finger Paint", cursive;
  padding: 1vw;
}
.chat-sec-box .card #message-section::-webkit-scrollbar {
  width: 10px;
}
.chat-sec-box .card #message-section {
  height: 32vw;
  padding: 0 2.5vw;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}
.chat-sec-box .card #message-section::-webkit-scrollbar-track {
  background: var(--scrollbarBG);
}
.chat-sec-box .card #message-section::-webkit-scrollbar-thumb {
  background-color: var(--thumbBG);
  border-radius: 6px;
  border: 3px solid var(--scrollbarBG);
}
.chat-sec-box .card #message-section #bot,
.chat-sec-box .card #message-section #user {
  position: relative;
  bottom: 0;
  min-height: 1.5vw;
  border: 0.15vw solid #777;
  background-color: #fff;
  border-radius: 0px 1.5vw 1.5vw 1.8vw;
  padding: 1vw;
  margin: 1.5vw 0;
}
.chat-sec-box .card #message-section #user {
  border: 1.5px solid #000;
  border-radius: 1.5vw 0vw 1.5vw 1.8vw;
  background-color: #000;
  float: right;
}
.chat-sec-box .card #message-section #user #user-response {
  color: #fff;
}
.chat-sec-box .card #message-section .message {
  color: #000;
  clear: both;
  line-height: 1.2vw;
  font-size: 1.2vw;
  padding: 8px;
  position: relative;
  margin: 8px 0;
  max-width: 85%;
  word-wrap: break-word;
  z-index: 2;
}
.chat-sec-box .card #input-section {
  z-index: 1;
  padding: 0 2.5vw;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  overflow: hidden;
  height: 8vw;
  border-radius: 8px;
  border: 5px solid black;
  width: 100%;
  padding: -1px;
}
.chat-sec-box .card #input-section input {
  color: #000;
  min-width: 0.5vw;
  height: 48px;
  width: 26vw;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: none;
}

.chat-sec-box .card #input-section input:focus {
    outline: none;
    border: none;
}

.chat-sec-box .card .send {
  background: transparent;
  border: 0;
  cursor: pointer;
  flex: 0 0 auto;
  margin-left: 1.4vw;
  margin-right: 0vw;
  padding: 0;
  position: relative;
  outline: none;
}
.chat-sec-box .card .send .circle {
  position: relative;
  width: 4.8vw;
  height: 4.8vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-sec-box .card .send .circle i {
  font-size: 3vw;
  margin-left: -1vw;
  margin-top: 1vw;
}

/* ===== CHAT BUBBLES (shared with admin) ===== */
.chat-sec-box .chat-row {
    display: flex;
    margin: 6px 0;
}

.chat-sec-box .chat-row.left {
    justify-content: flex-start;
}

.chat-sec-box .chat-row.right {
    justify-content: flex-end;
}

.chat-sec-box .chat-bubble {
    padding: 10px 14px;
    max-width: 75%;
    border-radius: 14px;
    font-size: 12px;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-sec-box .user-msg {
    background: #000;
    color: #fff;
    border-bottom-right-radius: 2px;
}

.chat-sec-box .admin-msg {
    background: #e6e6e6;
    color: #000;
    border-bottom-left-radius: 2px;
}

/* ===== CHAT BOX CARD ===== */
.chat-sec-box .card {
    position: fixed;
    top: 25%;
    left: 25%;
    transform: translate(-50%, -50%);
    height: 25vw;
    width: 35vw;
    background-color: white;
    margin-left: 30vw;
    margin-top: 5vw;
    box-shadow: 0 0 50px rgba(0,0,0,0.2);
    border-radius: 10px;
    z-index: 999999999;
}

/* Chat header */
.chat-sec-box #header h1 {
    background: #000;
    color: #fff;
    padding: 1vw;
    font-size: 2vw;
    border-radius: 10px 10px 0 0;
}

/* Message area */
.chat-sec-box #message-section {
    height: 20vw;
    padding: 1vw;
    overflow-y: auto;
    scrollbar-width: thin;
}

/* Input area */
.chat-sec-box #input-section {
    padding: 1vw;
    display: flex;
    align-items: center;
    border-top: 2px solid #ccc;
}

.chat-sec-box #input-section input {
    width: 80%;
    border: none;
    outline: none;
    font-size: 1.2vw;
}

.chat-sec-box .send .circle i {
    font-size: 2.5vw;
    color: #000;
}
.chat-sec-box .chat-icon{
  width:35%;
  display: block;
  margin-left: auto;
  padding-bottom: 30px;
}

.chat-sec-box .main-btn-form {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-white);
    border: 0px solid var(--blue-color);
    background-color: var(--btn-hover);
    border-radius: 0px 0px 0px 0px;
    display: inline-block;
    transition: .3s ease-in-out;
    letter-spacing: 0.5px;
    padding: 12px 20px;
    border-radius: 40px;
}


.chat-sec-box .main-btn-form:hover{
  color:#fff;
}

.chat-sec-box .form-control{
 border-radius: 40px;
}

.modal-header img{
  width:65px;
  margin-right: 15px;
}


@media (max-width: 980px){

 .chat-sec-box .chat-icon {
    width: 35%;
    padding-bottom: 30px;
    margin-left: 60px;
}

}

@media (max-width: 540px){
  .chat-sec-box .chat-icon {
    width: 35%;
    /* display: block; */
    /* margin-left: auto; */
    padding-bottom: 30px;
    margin-left: 45px;
}

}


/* Remove old unnecessary CSS */
