html {
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  box-sizing: inherit;
  font-family: "Poppins", sans-serif;
}
.msger-chat .question_list {
  margin-top: 3rem;
}

.question-buttons {
  margin-top: 2rem;
}

.msg-btn-text {
  margin-top: 2rem;
}

.question-btn {
  width: 100%;
  margin-top: 1rem;
}

.next-level-btn {
  margin-top: 1rem;
  width: 100%;
  text-align: left;
}

.newChatButton_slide {
  display: block;
  width: calc(100% - 40px);
  margin: 10px 20px;
  padding: 10px 0;
  border-radius: 4px;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
  font-family: Helvetica, sans-serif;
}

.msger {
  display: flex;
  flex-flow: column wrap;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  margin: auto;
  border: 1px solid black;
  border-radius: 5px;
  box-shadow: rgba(163, 163, 165, 0.2) 0px 7px 29px 0px;
  background: rgb(0, 0, 0);
}

.hide {
  visibility: hidden;
}

.msger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  border-bottom: var(--border);
  background: #eee;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding-top: env(safe-area-inset-top);
  position: fixed;
  top: 0;
  width: 100vw;
  z-index: 99;
  height: 8vh;
}

.msger-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.msger-buttons button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.msger-header-title {
  font-size: 1.2rem;
  font-weight: bolder;
}

.msger-header button {
  background: #000;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  color: white;
}

.msger-header a {
  color: white;
  text-decoration: none;
}

.msger-chat {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  scroll-behavior: smooth;
  margin-top: 10vh;
}
.msger-chat::-webkit-scrollbar {
  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg {
  display: flex;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg:last-of-type {
  margin: 0;
}

.msg-img {
  height: 30px;
  width: 30px;
  margin-right: 10px;
  background: #ddd;
  background-size: cover;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.msg-img img {
  width: 70%;
  animation: fadeIn 0.5s ease 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;
}
.msg-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}
.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
  font-size: 0.7rem;
}
.msg-info-time {
  font-size: 0.65em;
}

.left-msg .msg-bubble,
.msgleftHiddenBox {
  background: rgba(193, 192, 193, 0.555);
  color: #ffffff;
  border-bottom-left-radius: 0;
  margin-top: 0.5rem;
  text-align: left;
  animation: left-msg-glow 1s ease infinite;
}

.msgleftHiddenBox {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  background-color: #949494;
  margin-top: 10px;
  max-width: 450px;
  border-radius: 15px;
  color: #ffffff;
}

@keyframes left-msg-glow {
  0% {
    box-shadow: rgba(193, 192, 193, 0.308) 0px 0px 0px;
  }
  50% {
    box-shadow: rgb(188, 184, 188) 0px 0px 10px;
  }
  100% {
    box-shadow: rgb(193, 192, 193) 0px 0px 0px;
  }
}

.right-msg {
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  background: rgba(243, 28, 214, 0.589);
  color: #ffffff;
  border-bottom-right-radius: 0;
  margin-top: 1rem;
  text-align: right;
  animation: right-msg-glow 1s ease infinite alternate;
}

@keyframes right-msg-glow {
  0% {
    box-shadow: rgba(243, 28, 214, 0.199) 0px 0px 0px;
  }
  50% {
    box-shadow: rgb(239, 101, 221) 0px 0px 10px;
  }
  100% {
    box-shadow: rgb(243, 28, 214) 0px 0px 0px;
  }
}

.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msger-inputarea {
  width: 100%;
}

.msger-input {
  width: 100%;
  padding: 10px;
  outline: none;
  border: none;
  color: rgb(255, 255, 255);
  background: #000;
}

.msger-input::placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input::name {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-chat {
  background-color: #1a01015e;
}

.formDiv {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #262626;
}

.formDiv label {
  color: white;
  font-size: 0.5rem;
  display: flex;
  justify-content: right;
  align-items: center;
}

#blobs {
  height: 70px;
  padding: 0.5rem;
  display: flex;
  justify-content: right;
  align-items: center;
}

#blobs svg {
  border-radius: 50%;
  overflow: hidden;
  width: 50%;
}

.tri-state-toggle {
  background: rgb(220, 220, 220);
  box-shadow: #c4c1c1 0px 0px 10px inset;
  transition: all 0.4s;
}

.tri-state-toggle input {
  height: 20px;
  width: 20px;
  appearance: none;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
}

.tri-state-toggle {
  display: flex;
  justify-content: center;
  border: 3px solid black;
  border-radius: 50px;
}

#slow:checked {
  opacity: 1;
  background-color: rgb(229, 3, 3);
  box-shadow: white 0px 0px 4px;
}

#fast:checked {
  opacity: 1;
  background-color: rgb(200, 155, 6);
  box-shadow: white 0px 0px 4px;
}

#groq:checked {
  opacity: 1;
  background-color: rgb(5, 252, 70);
  box-shadow: white 0px 0px 4px;
}

#queryForm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  margin: auto;
  border: 2px solid rgb(73, 73, 73);
  background: rgb(0, 0, 0);
}

.blobactive {
  border-radius: 50%;
  animation: pulsate 2s ease-in-out infinite alternate;
}

@keyframes pulsate {
  0% {
    box-shadow: rgba(240, 83, 172, 0.308) 0px 0px 10px;
    transform: scale(0.9);
    fill: rgb(241, 200, 240);
  }
  50% {
    box-shadow: rgb(243, 40, 243) 0px 0px 25px;
    transform: scale(1);
    fill: rgb(247, 144, 243);
  }
  100% {
    box-shadow: rgb(239, 111, 76) 0px 0px 10px;
    transform: scale(0.8);
    fill: rgb(246, 85, 240);
  }
}

.left_animation {
  animation: popup 0.5s ease;
  transform-origin: left;
}

.right_animation {
  animation: popup 0.5s ease;
  transform-origin: right;
}

@keyframes popup {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

.svgImg svg {
  display: inline-block;
  height: 40px;
}

.svgImg svg path {
  stroke: #ffffff;
}

@keyframes wave {
  to {
    transform: translateY(-10px);
  }
}

#btn {
  color: white;
}

.btnBox {
  margin-top: 1rem;
}

.btnBox p {
  font-size: 0.9rem;
  color: white;
  margin-top: 0.3rem;
}

#yes,
#no {
  padding: 0.5rem;
  width: 50px;
  border: none;
  color: white;
}

#no {
  margin-left: 1rem;
}

.feedback-window {
  position: absolute;
  right: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background: #242424;
  padding: 0.8rem;
  width: 20vw;
}

.feedback-window h2 {
  margin-bottom: 1.5rem;
  color: white;
}

.feedback-window textarea {
  padding: 0.5rem;
}

.toggleFast {
  width: 12%;
  text-transform: capitalize;
}

.textImg {
  width: 30%;
}

.btn {
  display: none;
}

.muteButton {
  color: white;
}

#stopButton {
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

.custom-file-upload:hover {
  background-color: #5e5c5c;
}

#downloadBtn button {
  margin-left: 0.5rem;
}

/* tabet screen  */

@media screen and (max-width: 780px) {
  .msg-bubble {
    width: 100%;
  }

  .feedback-window {
    width: 40vw;
    justify-content: flex-start;
    padding-top: 3rem;
  }
}

/* mobile screen  */

@media screen and (max-width: 600px) {
  .msg-bubble {
    width: 100%;
  }

  .msger-buttons button img {
    height: 20px;
    width: 20px;
    margin-left: 0;
  }

  .feedback-window {
    width: 50vw;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  .textImg {
    width: 100%;
  }

  #blobs {
    margin: 0;
  }

  .ctrPanelBtn {
    height: 30px;
  }

  .btn {
    display: block;
    padding: 5px 10px;
    border: none;
    border-radius: 10px;
    color: white;
    margin: 0 0.3rem;
    background: #0056b3;
  }

  #queryForm {
    width: 100%;
    margin: 0 5px;
  }

  #muteButton {
    display: none;
  }

  .custom-file-upload {
    display: none;
  }
}

/*
* Prefixed by:
* PostCSS: v7.0.29,
* Autoprefixer: v9.7.6
* Browsers: last 4 version
*/

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*:before,
*:after {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
  font-family: "Poppins", sans-serif;
}

body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: rgb(0, 0, 0);
  font-family: Helvetica, sans-serif;
}

.msger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-flow: column wrap;
  flex-flow: column wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  width: 100%;
  height: 100vh;
  margin: auto;
  border: 1px solid black;
  border-radius: 5px;
  -webkit-box-shadow: rgba(163, 163, 165, 0.2) 0px 7px 29px 0px;
  box-shadow: rgba(163, 163, 165, 0.2) 0px 7px 29px 0px;
  background: rgb(0, 0, 0);
}

.msger-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
}

.msger-buttons button {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.msger-header button {
  background: #000;
  padding: 8px 10px;
  border: none;
  border-radius: 10px;
  color: white;
}

.msger-header a {
  color: white;
  text-decoration: none;
}

.msger-chat {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}
.msger-chat::-webkit-scrollbar {
  width: 6px;
}
.msger-chat::-webkit-scrollbar-track {
  background: #ddd;
}
.msger-chat::-webkit-scrollbar-thumb {
  background: #bdbdbd;
}
.msg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  margin-bottom: 10px;
}
.msg:last-of-type {
  margin: 0;
}

.msg-img {
  height: 30px;
  width: 30px;
  margin-right: 10px;
  background: #ddd;
  background-size: cover;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.msg-img img {
  width: 70%;
  -webkit-animation: fadeIn 0.5s ease 0.5s;
  animation: fadeIn 0.5s ease 0.5s;
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    -webkit-transform: translateY(-20px);
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

.msg-bubble {
  max-width: 450px;
  padding: 15px;
  border-radius: 15px;
}
.msg-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 0.3rem;
}
.msg-info-name {
  margin-right: 10px;
  font-weight: bold;
  font-size: 0.7rem;
}
.msg-info-time {
  font-size: 0.65em;
}

.left-msg .msg-bubble,
.msgleftHiddenBox {
  background: rgba(193, 192, 193, 0.555);
  color: #ffffff;
  border-bottom-left-radius: 0;
  margin-top: 0.5rem;
  text-align: left;
  -webkit-animation: left-msg-glow 1s ease infinite;
  animation: left-msg-glow 1s ease infinite;
}

.msgleftHiddenBox {
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.5s ease;
  -o-transition: max-height 0.5s ease;
  transition: max-height 0.5s ease;
  background-color: #949494;
  margin-top: 10px;
  max-width: 450px;
  border-radius: 15px;
  color: #ffffff;
}

@-webkit-keyframes left-msg-glow {
  0% {
    -webkit-box-shadow: rgba(193, 192, 193, 0.308) 0px 0px 0px;
    box-shadow: rgba(193, 192, 193, 0.308) 0px 0px 0px;
  }
  50% {
    -webkit-box-shadow: rgb(188, 184, 188) 0px 0px 10px;
    box-shadow: rgb(188, 184, 188) 0px 0px 10px;
  }
  100% {
    -webkit-box-shadow: rgb(193, 192, 193) 0px 0px 0px;
    box-shadow: rgb(193, 192, 193) 0px 0px 0px;
  }
}

@keyframes left-msg-glow {
  0% {
    -webkit-box-shadow: rgba(193, 192, 193, 0.308) 0px 0px 0px;
    box-shadow: rgba(193, 192, 193, 0.308) 0px 0px 0px;
  }
  50% {
    -webkit-box-shadow: rgb(188, 184, 188) 0px 0px 10px;
    box-shadow: rgb(188, 184, 188) 0px 0px 10px;
  }
  100% {
    -webkit-box-shadow: rgb(193, 192, 193) 0px 0px 0px;
    box-shadow: rgb(193, 192, 193) 0px 0px 0px;
  }
}

.right-msg {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}
.right-msg .msg-bubble {
  background: rgba(243, 28, 214, 0.589);
  color: #ffffff;
  border-bottom-right-radius: 0;
  margin-top: 1rem;
  text-align: right;
  -webkit-animation: right-msg-glow 1s ease infinite alternate;
  animation: right-msg-glow 1s ease infinite alternate;
}

@-webkit-keyframes right-msg-glow {
  0% {
    -webkit-box-shadow: rgba(243, 28, 214, 0.199) 0px 0px 0px;
    box-shadow: rgba(243, 28, 214, 0.199) 0px 0px 0px;
  }
  50% {
    -webkit-box-shadow: rgb(239, 101, 221) 0px 0px 10px;
    box-shadow: rgb(239, 101, 221) 0px 0px 10px;
  }
  100% {
    -webkit-box-shadow: rgb(243, 28, 214) 0px 0px 0px;
    box-shadow: rgb(243, 28, 214) 0px 0px 0px;
  }
}

@keyframes right-msg-glow {
  0% {
    -webkit-box-shadow: rgba(243, 28, 214, 0.199) 0px 0px 0px;
    box-shadow: rgba(243, 28, 214, 0.199) 0px 0px 0px;
  }
  50% {
    -webkit-box-shadow: rgb(239, 101, 221) 0px 0px 10px;
    box-shadow: rgb(239, 101, 221) 0px 0px 10px;
  }
  100% {
    -webkit-box-shadow: rgb(243, 28, 214) 0px 0px 0px;
    box-shadow: rgb(243, 28, 214) 0px 0px 0px;
  }
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-2px);
  }
  50% {
    transform: translateX(2px);
  }
  75% {
    transform: translateX(-2px);
  }
  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.4s ease;
  animation-iteration-count: 2;
}

.glow {
  background-color: #00e676 !important; /* Bright green */
  scale: 1.8;
  box-shadow: 0 0 10px #00e676, 0 0 20px #00e676;
  color: white;
  border-radius: 5px;
  transition: all 0.2s ease-in-out;
}

.right-msg .msg-img {
  margin: 0 0 0 10px;
}

.msger-inputarea {
  width: 100%;
}

.msger-input {
  width: 100%;
  padding: 10px;
  outline: none;
  border: none;
  color: rgb(255, 255, 255);
  background: #000;
}

.msger-input::-webkit-input-placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input::-moz-placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input:-ms-input-placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input::-ms-input-placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input::placeholder {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-input::name {
  color: rgb(255, 255, 255); /* Placeholder text color */
}

.msger-chat {
  background-color: #1a01015e;
}

.formDiv {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #262626;
}

.formDiv label {
  color: white;
  font-size: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
  -ms-flex-pack: right;
  justify-content: right;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#blobs {
  height: 70px;
  padding: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: right;
  -ms-flex-pack: right;
  justify-content: right;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

#blobs svg {
  border-radius: 50%;
  overflow: hidden;
  width: 50%;
}

.tri-state-toggle {
  background: rgb(220, 220, 220);
  -webkit-box-shadow: #c4c1c1 0px 0px 10px inset;
  box-shadow: #c4c1c1 0px 0px 10px inset;
  -webkit-transition: all 0.4s;
  -o-transition: all 0.4s;
  transition: all 0.4s;
}

.tri-state-toggle input {
  height: 20px;
  width: 20px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: black;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
}

.tri-state-toggle {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border: 3px solid black;
  border-radius: 50px;
}

#slow:checked {
  opacity: 1;
  background-color: rgb(229, 3, 3);
  -webkit-box-shadow: white 0px 0px 4px;
  box-shadow: white 0px 0px 4px;
}

#fast:checked {
  opacity: 1;
  background-color: rgb(200, 155, 6);
  -webkit-box-shadow: white 0px 0px 4px;
  box-shadow: white 0px 0px 4px;
}

#groq:checked {
  opacity: 1;
  background-color: rgb(5, 252, 70);
  -webkit-box-shadow: white 0px 0px 4px;
  box-shadow: white 0px 0px 4px;
}

#queryForm {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 90%;
  margin: auto;
  border: 2px solid rgb(73, 73, 73);
  background: rgb(0, 0, 0);
}

.blobactive {
  border-radius: 50%;
  -webkit-animation: pulsate 2s ease-in-out infinite alternate;
  animation: pulsate 2s ease-in-out infinite alternate;
}

@-webkit-keyframes pulsate {
  0% {
    -webkit-box-shadow: rgba(240, 83, 172, 0.308) 0px 0px 10px;
    box-shadow: rgba(240, 83, 172, 0.308) 0px 0px 10px;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    fill: rgb(241, 200, 240);
  }
  50% {
    -webkit-box-shadow: rgb(243, 40, 243) 0px 0px 25px;
    box-shadow: rgb(243, 40, 243) 0px 0px 25px;
    -webkit-transform: scale(1);
    transform: scale(1);
    fill: rgb(247, 144, 243);
  }
  100% {
    -webkit-box-shadow: rgb(239, 111, 76) 0px 0px 10px;
    box-shadow: rgb(239, 111, 76) 0px 0px 10px;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    fill: rgb(246, 85, 240);
  }
}

@keyframes pulsate {
  0% {
    -webkit-box-shadow: rgba(240, 83, 172, 0.308) 0px 0px 10px;
    box-shadow: rgba(240, 83, 172, 0.308) 0px 0px 10px;
    -webkit-transform: scale(0.9);
    transform: scale(0.9);
    fill: rgb(241, 200, 240);
  }
  50% {
    -webkit-box-shadow: rgb(243, 40, 243) 0px 0px 25px;
    box-shadow: rgb(243, 40, 243) 0px 0px 25px;
    -webkit-transform: scale(1);
    transform: scale(1);
    fill: rgb(247, 144, 243);
  }
  100% {
    -webkit-box-shadow: rgb(239, 111, 76) 0px 0px 10px;
    box-shadow: rgb(239, 111, 76) 0px 0px 10px;
    -webkit-transform: scale(0.8);
    transform: scale(0.8);
    fill: rgb(246, 85, 240);
  }
}

.left_animation {
  -webkit-animation: popup 0.5s ease;
  animation: popup 0.5s ease;
  -webkit-transform-origin: left;
  -ms-transform-origin: left;
  transform-origin: left;
}

.right_animation {
  -webkit-animation: popup 0.5s ease;
  animation: popup 0.5s ease;
  -webkit-transform-origin: right;
  -ms-transform-origin: right;
  transform-origin: right;
}

@-webkit-keyframes popup {
  from {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes popup {
  from {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  to {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

.svgImg svg {
  display: inline-block;
  height: 40px;
}

.svgImg svg path {
  stroke: #ffffff;
}

@-webkit-keyframes wave {
  to {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

@keyframes wave {
  to {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
  }
}

#btn {
  color: white;
}

.btnBox {
  margin-top: 1rem;
}

.btnBox p {
  font-size: 0.9rem;
  color: white;
  margin-top: 0.3rem;
}

#yes,
#no {
  padding: 0.5rem;
  width: 50px;
  border: none;
  color: white;
}

#no {
  margin-left: 1rem;
}

.feedback-window {
  position: absolute;
  right: 0;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #242424;
  padding: 0.8rem;
  width: 20vw;
}

.feedback-window h2 {
  margin-bottom: 1.5rem;
  color: white;
}

.feedback-window textarea {
  padding: 0.5rem;
}

.toggleFast {
  width: 12%;
  text-transform: capitalize;
}

.textImg {
  width: 30%;
}

.btn {
  display: none;
}

.muteButton {
  color: white;
}

#stopButton {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.custom-file-upload {
  display: inline-block;
  padding: 10px 20px;
  background-color: #000000;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 0.5rem;
  font-size: 1.2rem;
}

.custom-file-upload:hover {
  background-color: #5e5c5c;
}

#downloadBtn button {
  margin-left: 0.5rem;
}

/* tabet screen  */

@media screen and (max-width: 780px) {
  .msg-bubble {
    width: 100%;
  }

  .feedback-window {
    width: 40vw;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-top: 3rem;
  }
}

/* mobile screen  */

@media screen and (max-width: 600px) {
  .msg-bubble {
    width: 100%;
  }

  .msger-buttons button img {
    height: 20px;
    width: 20px;
    margin-left: 0;
  }

  .feedback-window {
    width: 50vw;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    padding-top: 3rem;
  }

  .textImg {
    width: 100%;
  }

  #blobs {
    margin: 0;
  }

  .ctrPanelBtn {
    height: 30px;
  }

  .btn {
    display: block;
    padding: 5px 10px;
    border: none;
    border-radius: 10px;
    color: white;
    margin: 0 0.3rem;
    background: #0056b3;
  }

  #queryForm {
    width: 100%;
    margin: 0 5px;
  }

  #muteButton {
    display: none;
  }

  .custom-file-upload {
    display: none;
  }

  .formDiv {
    position: fixed;
    bottom: 0%;
    z-index: 99;
    width: 100%;
  }

  .mutebtn {
    visibility: hidden;
  }
  .openbtn {
    margin-top: 5vh;
  }
  #titleOfPage {
    margin-left: 20px;
  }
}

.msger-header .mutebtn {
  padding: 10px 15px;
}

.dot {
  animation: wave 1s infinite alternate;
}

.dot1 {
  animation-delay: 0.1s;
}
.dot2 {
  animation-delay: 0.2s;
}
.dot3 {
  animation-delay: 0.3s;
}
.dot4 {
  animation-delay: 0.4s;
}
.dot5 {
  animation-delay: 0.5s;
}
.dot6 {
  animation-delay: 0.6s;
}
.dot7 {
  animation-delay: 0.7s;
}

input,
textarea,
select {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

.titlewithButton {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: 40%;
  text-align: right;
}

.modalClose {
  text-align: right;
  position: absolute;
  top: 10;
  right: 0;
}

.modalClose button {
  background: #595959;
  padding: 5px 10px;
  border: none;
  border-radius: 10px;
  color: white;
  margin: 1rem;
}

.modalBox {
  width: -0%;
  height: 100vh;
  transition: width 0.5s ease;
  position: relative;
  color: white;
}

.modal {
  height: calc(100vh - 4rem);
  overflow: auto;
  margin-top: 4rem;
}

.conversationList {
  background: rgba(193, 192, 193, 0.555);
  margin: 1rem 0.5rem;
  padding: 1rem;
}

.mainBox {
  width: 100%;
  display: flex;
}

#askButton {
  margin-top: 3px;
  margin-left: 500px;
}
.notification-bar {
  position: fixed;
  bottom: 20px;

  right: 20px;
  width: 450px; /* Match sidebar width */
  padding: 20px;
  padding-bottom: 10px;
  height: 130px;
  background: rgba(28, 32, 38, 0.95);
  color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgb(56, 181, 137);
  display: none;
  z-index: 1000;
  font-family: "Courier New", monospace;
  font-size: 16px;
  transition: all 0.3s ease;
  animation: slideIn 0.5s ease-out;
}

.notification-bar.show {
  display: block;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: #ffffff;
  cursor: pointer;
  font-size: 18px;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.close-btn:hover {
  opacity: 1;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Media query for mobile devices */
@media only screen and (max-width: 600px) {
  .notification-bar {
    width: 80%;
    left: 50%;
    transform: translateX(-50%);
    bottom: 10px;
  }
}

.question-btn {
  font-family: "Courier New", monospace;
  background: none;
  border: none;
  padding: 10px 20px;
  margin-left: -30px;
  margin-top: 10px;

  margin: 5px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
  border-radius: 15px;
  /* Rounded pill shape for buttons */
  transition: all 0.3s ease;
  /* Smooth transition for hover effects */
  position: relative;
  overflow: hidden;
  /* Hide overflow to contain pseudo-elements */
  color: #fff;
  /* Text color for contrast */
  background-color: #2e3138;
  /* Dark background for buttons */
  text-align: left;
}

.question-btn::before {
  /* Pseudo-element for interactive background effect */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e6cba;
  transition: opacity 0.3s ease;
  /* Smooth fade-in effect */
  z-index: -1;
}

.question-btn:hover {
  /* Elevate button on hover for a dynamic effect */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  /* Soft shadow for depth */
}

.question-btn:hover::before {
  opacity: 1;
  /* Reveal the gradient background on hover */
}

.question-btn:active {
  /* Pressed state of the button */
  transform: translateY(1px);
  /* Slight push to simulate a button press */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  /* Reduced shadow for a pressed effect */
}

.question-buttons {
  display: flex;
  flex-wrap: wrap;
  /* Wrap buttons to next line if space is insufficient */
  justify-content: start;
  /* Align buttons to the start of the container */
  margin-top: 10px;
  /* Space between the text and the first button row */
}

.cost-indicator {
  position: fixed;
  top: 20px;
  right: 2px;
  left: 50%;
  background: #4d4747;
  color: white;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  /* Initially hidden */
  opacity: 1;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
  z-index: 1000;
  max-width: 350px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  background-color: #3d556e;
}

/* Fade Out Effect */
.fade-out {
  opacity: 0 !important;
  transform: translateY(-10px);
}

.chat-wrapper {
  display: flex;
  justify-content: space-between;
  /* Places the delete icon to the right */
  align-items: center;
  /* Grey background for both elements */
  padding: 10px;
  border-radius: 5px;
  /* Optional: Rounded corners */
}

.chat-btn {
  flex: 1;
  /* Takes up the remaining space */
  text-align: left;
  background-color: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: white;
  /* Adjust color for visibility */
}

.delete-icon {
  font-size: 20px;
  /* Size of the delete icon */
  color: white;
  cursor: pointer;
  margin-left: 10px;
  /* Space between chat name and delete icon */
}

.delete-icon:hover {
  color: red;
  /* Change color when hovering over the delete icon */
}

.clear-history-btn.loading {
  cursor: not-allowed;
  opacity: 0.6;
}

.clear-history-btn.loading::after {
  content: "Deleting...";
  animation: loadingDots 1.5s infinite;
}

.clear-history-btn.loading {
  cursor: not-allowed;
  opacity: 0.6;
}

.clear-history-btn.loading::after {
  content: "Deleting...";
  display: inline-block;
  margin-left: 10px;
  animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
  0% {
    content: "Deleting.";
  }

  33% {
    content: "Deleting..";
  }

  66% {
    content: "Deleting...";
  }

  100% {
    content: "Deleting.";
  }
}

.hidden {
  display: none;
}

.show {
  display: block;
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #444;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  z-index: 1000;
}

body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

.sidebar {
  height: 100%;
  width: 0;
  /* Sidebar initially hidden */
  /* position: fixed; */
  z-index: 1;
  top: 0;
  left: 0;
  background-color: #34495e;
  /* Deep blue background */
  overflow-x: hidden;
  transition: width 0.5s;
  padding-top: 20px;
  font-family: "Arial", sans-serif;
}

#flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  /* Padding around the header elements */
}

.sidebar h2 {
  margin: 0;
  color: white;
  font-size: 20px;
  /* Slightly larger font for visibility */
}

.sidebar .closebtn {
  font-size: 36px;
  cursor: pointer;
  color: #ecf0f1;
  border: none;
  background: none;
  padding: 0;
}

.openbtn {
  font-size: 20px;
  cursor: pointer;
  background-color: black;
  /* Stylish teal background */
  color: white;
  border: none;
  position: relative;
  top: 1px;
  /* left: 10px; */
  /* margin-top: px; */
  height: 40px;
  padding: 2px 5px;
  border-radius: 4px;
}

.openbtn:hover {
  background-color: grey;
  /* Lighter teal on hover */
}

.clear-history-btn {
  background-color: #e74c3c;
  color: white;
  width: calc(100% - 40px);
  /* Full-width minus padding */
  margin: 10px 20px;
  padding: 10px 0;
  border-radius: 4px;
}

.clear-history-btn:hover {
  background-color: #c0392b;
}

#sidebar button {
  background-color: #2c3e50;
  /* Darker than sidebar background */
  color: white;
  text-align: left;
  padding: 10px;
  border: none;
  width: calc(100% - 40px);
  /* Full width minus padding */
  margin: 5px 20px;
  border-radius: 4px;
  transition: background-color 0.3s;
}

#sidebar button:hover {
  background-color: #3d556e;
  /* Lighter blue on hover */
  cursor: pointer;
}

#downloadIndicator {
  display: none;
  /* Initially hidden */
  background-color: #93107e;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 16px;
  position: fixed;
  border-radius: 20px;

  bottom: 20px;
  width: 60%;
  z-index: 1000;
}

.hidden {
  display: none;
}

.spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  /* Light gray for spinner track */
  border-top-color: #000000;
  /* Black for spinner color */

  border-radius: 50%;
  width: 16px;
  /* Adjust the size of the spinner */
  height: 16px;
  /* Ensure it's a square */
  animation: spin 1s linear infinite;
}

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

  100% {
    transform: rotate(360deg);
  }
}

/* Ensuring the spinner fits well inside the button */
#downloadBtn {
  display: flex;
  align-items: center;
  justify-content: center;
}

#firstInput {
  font-family: "Courier New", Courier, monospace;
}

.msg-buttons {
  display: flex;

  align-items: center;
  margin-top: 10px;
  gap: 10px;
}

#btn {
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
}

#lastimg {
  width: 30px;
}

#three {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: -40px;
}

.textImg {
  margin-right: -100px;
  width: 30px;
}

.cross::after,
.cross::before {
  content: "";
  position: absolute;
  width: 30px;
  /* Cross size */
  height: 2px;
  /* Line thickness */
  background-color: black;
}

.cross::after {
  content: "";
  position: absolute;
  width: 30px;
  /* Slash size */
  height: 2px;
  /* Slash thickness */
  top: 50%;
  left: 50%;
  background-color: black;
  transform: translate(-50%, -50%) rotate(45deg);
}

.cross::after,
.cross::before {
  content: "";
  position: absolute;
  width: 30px;
  /* Cross size */
  height: 2px;
  /* Line thickness */
  background-color: black;
  top: 50%;
  left: 15%;
  transform: translate(-50%, -50%);
}

.cross::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#titleOfPage {
  color: black;
  width: 100%;
  text-align: center;
}

.cross::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

body,
html {
  margin: 0;
  padding: 0;
  font-family: "Courier New", monospace;
  background-color: #1b1d2a;
  /* Dark background for contrast */
  color: #ffffff;
  /* Light text for readability */
}

button {
  background-color: #0056b3;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

button:hover {
  background-color: #003d7a;
}

#stopStreamBtn {
  position: relative;
  overflow: hidden;
  margin-top: 1px;
  height: 35px;
  width: 35px;
  /* Adjust the width as needed to match your button size */
}

.cross::before {
  transform: rotate(45deg);
}

/* Assuming .icon-btn is the class for your button */
.icon-btn svg {
  fill: white;
  /* Or any light color that contrasts well with the button's background */
}

/* If you need to target the path within the SVG specifically */
.icon-btn svg path {
  fill: white;
}

.msger-buttons {
  display: flex;
  /* Use flexbox for layout */
  align-items: center;
  /* Align items vertically in the center */
  justify-content: space-around;
  /* Distribute space evenly around items */
}

.icon-btn img {
  width: 30px;
  /* Fixed width for images */
  height: 30px;
  /* Fixed height for images */
  border-radius: 50%;
}

.icon-btn svg,
.icon-btn img {
  display: block;
  /* Prevents inline formatting from affecting size */
}

.cross::after {
  transform: rotate(-45deg);
}

#togglee {
  width: 80px;
  margin-left: 130px;
}

#svg {
  width: 20px;
}

#svgmic {
  margin-right: 20px;
}

.hidden {
  display: none;
}

#feedback {
  font-family: "Courier New", Courier, monospace;
}

#up {
  height: 35px;
}

#down {
  height: 35px;
}

.msg-text {
  font-family: "Courier New", Courier, monospace;
}

.mutebtn {
  height: 26px;
}

@media only screen and (min-width: 370px) and (max-width: 600px) {
  #askButton {
    width: 160px;
    height: 40px;
  }
  .notification-bar {
    font-size: 12px;
  }

  #player-header{
    flex-direction: column;
    gap: 1rem;
  }

  #player-header .cover {
    width: 100%;
  }

  .controls{
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
  }

  .sidebar.open {
    width: 80%;
    position: fixed;
  }

  .sidebar {
    transition: width 0.2s;
  }

  #stopButton {
    height: 24px;
  }

  #stopStreamBtn {
    margin-left: -160px;
    background-color: red;
    border: 5px solid black;
  }

  #svgmic {
    margin-right: px;
  }

  #up {
    padding: 10px;
    padding-bottom: 20px;
    width: 40px;
    height: 20px;
  }

  .openbtn {
    margin-top: 00px;
    height: 30px;
    width: 40px;
    /* Adjust width as needed */
    background-color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    /* Optional, for rounded edges */
  }

  .openbtn i {
    color: white;
    font-size: 18px;
    /* Adjust size as needed */
  }

  .openbtn {
    height: 30px;
  }

  #lastimg {
    margin-top: -5px;
    height: 23px;
    width: 22px;
  }

  #down {
    padding-bottom: 20px;
    padding: 10px;
    margin: auto;
    width: 40px;
    margin-left: -5px;
    height: 30px;
  }

  .msg-buttons {
    display: flex;
    justify-content: center;
  }

  #btn {
    margin-left: -55px;
    /* width: 50px; */
    margin-top: 10px;
    font-size: 20px;
  }

  #feedback {
    padding: 10px;
    margin-right: 30px;
    width: 100px;
    height: 30px;
  }

  p {
    font-family: "Courier New", Courier, monospace;
  }

  #msgbox {
    width: 80%;
    font-family: "Courier New", monospace;
    height: auto;
    font-size: 12px;
    margin-bottom: 5rem;
  }
  .msger-chat{
    margin-bottom: 5rem;
  }

  .player-card{
    width: 80%;
  }

  .msg-text {
    font-size: 1.2rem;
    font-family: "Courier New", monospace;
  }

  .mutebtn {
    height: 25px;
    margin-right: -20px;
  }

  #three {
    display: flex;
    align-items: center;
    justify-content: center;

    /* margin-left: 50px; */
  }

  #newChatButton.newChatButton_chat {
    display: none;
  }

  #firstInput {
    border-radius: 10px;
  }

  .textImg {
    margin-right: -24px;
  }

  #titleOfPage {
    width: 150px;
    font-size: 25px;
    text-align: left;
  }

  #stopStreamBtn {
    /* width: 30px; */
    text-align: center;
    margin-left: 20px;
    /* height: 27px; */
    margin-top: 10px;
    font-size: 10px;
  }

  #xer {
    margin-left: -40px;
  }
}

.sidebar.open {
  width: 350px;
  z-index: 100;
}

@media only screen and (min-width: 330px) and (max-width: 380px) {
  .openbtn {
    margin-top: px;
  }
}
#notification-bar a {
  color: rgba(255, 255, 255, 0.788);
  font-weight: bold;
}

/* pop up styele  */

/* Modal styles */
/* PDF Modal content fix */
.modal-content {
  height: 90vh; /* already exists */
  overflow-y: auto !important; /* force vertical scrolling */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Make sure container does not clip content */
#pdfContainer {
  display: block;
  width: 100%;
  padding: 16px 0;
}
#pdfContainer canvas {
  display: block;
  max-width: 95%;
  height: auto !important;
  margin: 16px auto;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

#pdfContainer {
  max-height: 800px;
  overflow-y: auto;
  display: block;
}

canvas {
  display: block;
  width: 100% !important;
  height: auto !important;
}

.pdfModal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background-color: #fefefe;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  height: 90vh;
  overflow-y: scroll;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.close {
  position: absolute;
  top: 15px;
  right: 25px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

canvas {
  display: block;
  margin-bottom: 10px;
  width: 100%;
  height: auto;
}

.page-highlight {
  border: 3px solid orange;
  transition: border 0.5s ease;
}
.ref-btn {
  /* Remove default button appearance */
  background: none;
  border: none;
  padding: 0;
  margin: 0;

  /* Make it look like a link */
  color: #0000ee; /* Standard link blue color */
  font-size: 1em; /* Inherit size from surrounding text */
  font-family: inherit; /* Inherit the same font as parent */
  cursor: pointer;
  text-decoration: none;

  /* Keep them inline */
  display: inline;
}

/* Underline on hover or focus */
.ref-btn:hover,
.ref-btn:focus {
  text-decoration: underline;
}

.pdf-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none; /* show via JS when ready */
  flex-direction: column;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99;
}

.pdf-header,
.pdf-footer {
  background: #0a0a0a;
  padding: 8px 16px;
  font-family: sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pdf-header {
  font-weight: bold;
  border-bottom: 1px solid #ddd;
  height: 8vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pdf-footer {
  border-top: 1px solid #ddd;
  position: sticky;
  bottom: 0;
}

/* center each canvas & add bottom margin */
.pdf-container canvas {
  display: block;
  margin: 0 auto 24px auto;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.zoom-btn {
  font-size: 1.2rem;
  width: 32px;
  height: 32px;
  margin: 0 12px;
  border: none;
  background: #393939;
  cursor: pointer;
  padding: 0 0;
}
.zoom-btn:hover {
  background: #393939;
}

#loadingOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.7); /* translucent overlay */
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* Spinner with radial bars */
.custom-spinner {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  position: relative;
}

.custom-spinner::before,
.custom-spinner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 50%;
}

.custom-spinner::before {
  width: 100%;
  height: 100%;
  background: repeating-conic-gradient(
    #000 0deg,
    #000 30deg,
    transparent 30deg,
    transparent 60deg
  );
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
    transform: rotate(360deg);
  }
}
#nprogress .bar {
  height: 6px; /* increased from 2px */
  background: #007bff !important; /* blue color */
}

#nprogress .peg {
  box-shadow: 0 0 10px #007bff, 0 0 5px #007bff;
}

/* podcast player css  */

:root {
  --primary: #461fe1;
  --light: #f0f0f5;
  --dark: #333;
  --muted: #ffffff;
  --bg-card: rgba(193, 192, 193, 0.546);
  --border: #ccc9c9;
  --radius: 16px;
}
/* *,
      *::before,
      *::after {
        box-sizing: border-box;
      } */
/* body {
        margin: 0;
        padding: 2rem;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          sans-serif;
        background: var(--dark);
        color: var(--dark);
        display: flex;
        justify-content: center;
        align-items: start;
        min-height: 100vh;
      } */

.play-stop-pause{
      display: flex;
    justify-content: center;
    align-items: center;
}
.player-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
#player-header {
  display: flex;
  background: var(--primary);
  color: white;
  padding: 1rem;
  align-items: center;
  border-radius: 10px;
}
.player-header .cover {
  width: 100px;
  height: 100px;
  flex-shrink: 0;
  background: linear-gradient(
    135deg,
    #fff 25%,
    rgba(255, 255, 255, 0.2) 25%,
    rgba(255, 255, 255, 0.2) 50%,
    #fff 50%,
    #fff 75%,
    rgba(255, 255, 255, 0.2) 75%
  );
  background-size: 20px 20px;
  border-radius: 8px;
}
.player-header .info {
  margin-left: 1rem;
  flex: 1;
}
.player-header .info h2 {
  margin: 0;
  font-size: 1.25rem;
}
.player-header .info .date {
  font-size: 0.875rem;
  opacity: 0.8;
  margin-top: 0.25rem;
}
.player-header .info p {
  font-size: 0.9rem;
  margin-top: 0.5rem;
  opacity: 0.9;
}
.player-header .close-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: auto;
  cursor: pointer;
  opacity: 0.8;
}
.player-header .close-btn:hover {
  opacity: 1;
}

.player-body {
  padding: 1rem 1.5rem;
}

.progress-wrapper {
  margin-bottom: 1rem;
}
.timestamps {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.progress-bar {
  height: 8px;
  background: var(--border);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
}
.progress {
  background: var(--primary);
  height: 100%;
  width: 0%;
}

.controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.volume-control {
  display: flex;
  align-items: center;
  margin-right: 1rem;
  gap: 0.2rem;
}
.volume-control .icon {
  width: 20px;
  height: 20px;
  fill: var(--primary);
}
.volume-control input[type="range"] {
  writing-mode: bt-lr;
  width: 70px;
  height: 6px;
  cursor: pointer;
}
.volume-control input[type="range"]::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 3px;
}
.volume-control input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  margin-top: -3px;
}

.skip-btn {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
}

.skip-btn span {
  font-weight: bolder;
}

.play-button {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.play-button .icon {
  width: 28px;
  height: 28px;
  fill: white;
}

.speed-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-left: 1rem;
}
.speed-control label {
  font-size: 0.875rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}
.speed-control select {
  appearance: none;
  -webkit-appearance: none;
  background: inherit;
  padding: 4px 8px;
  font-size: 1rem;
  color: var(--primary);
  cursor: pointer;
  width: 60px;
  font-weight: bold;
  border: none;
  text-align: right;
}
.speed-control select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(108, 78, 232, 0.2);
}
#pauseIcon {
  display: none;
}

/* .podcast-bubble {
  display: flex;
  align-items: end;
  margin-top: 1rem;
  max-width: 450px;
    overflow: hidden;

} */

.player-card button:hover {
  background-color: var(--bg-card);
}

.question-btns {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 12px;
  font-family: "Poppins", sans-serif;
  background-color: #2e3138;
  text-align: left;


}


#speedSelect{
  text-align: center;
}