@import url('https://fonts.googleapis.com/css2?family=Comfortaa&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+AU+VIC+WA+NT+Hand:wght@400..700&display=swap');



:root {
  --chatbot-color: rgb(0, 81, 255);
  /* Тъмно зелено */
}



header *,
footer * {
  font-family: "Comfortaa", sans-serif;
}

html {
  overflow-x: hidden;
}



/*!              HEADER                 */
/*!              HEADER                 */
/*!              HEADER                 */

li {
  list-style: none;
}

header a {
  text-decoration: none;
  color: whitesmoke;
  font-size: 1rem;
  font-weight: 600;
}

header a:hover {
  color: #47ae6a;
}


.navbar {
  max-width: 100%;
  height: 66px;
  padding: 2px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgb(46, 46, 46);
  border-bottom: outset 1px rgba(255, 255, 255, 0.225);
  /* border: 1px red solid; */
}


/* .navbar .logo a {
 font-size: 1.5rem;
 font-weight: bold;
} */


.navbar .links {
  display: flex;
  gap: 2rem;
}

.navbar .links li a {
  font-size: 1.25rem;
}

#active {
  color: #47ae6a;
  font-weight: bold;
}

.navbar .toggle_btn {
  color: whitesmoke;
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

.action_btn {
  background-color: #47ae6a;
  color: white;
  padding: 0.5rem 1rem;
  border: none;
  outline: none;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: scale 0.5s ease;
}

.action_btn:hover {
  scale: 1.05;
  color: white;
}

.action_btn:active {
  scale: 0.95;
}


/*todo DropDown */

.dropdown_menu {
  display: none;
  position: absolute;
  left: 0;
  top: 66px;
  height: 0;
  width: 100%;
  background: rgb(46, 46, 46);
  border-radius: 0 0 10px 10px;
  overflow: hidden;
  transition: height 0.75s cubic-bezier(0.215, 0.610, 0.355, 1);
  z-index: 2;

}

.dropdown_menu.open {
  height: 257.5px;
  z-index: 2;
}

.dropdown_menu li {
  padding: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dropdown_menu .action_btn {
  margin: 10px auto;
  width: 185px;
  display: flex;
  justify-content: center;
}


@media (max-width: 1192px) {

  .navbar .links,
  .navbar .action_btn {
    display: none;
  }

  .navbar .toggle_btn {
    display: block;
  }

  .dropdown_menu {
    display: block;
  }
}







/*!              FOOTER                 */
/*!              FOOTER                 */
/*!              FOOTER                 */

.footer-distributed {
  background: rgb(46, 46, 46);
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.12);
  border-top: outset 1px rgba(255, 255, 255, 0.225);
  box-sizing: border-box;
  width: 100%;
  text-align: left;
  font: bold 16px sans-serif;
  padding: 55px 50px;
  margin-top: 100px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right {
  display: inline-block;
  vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left {
  width: 40%;
}

/* The company logo */

.footer-distributed h3 {
  color: #ffffff;
  font-family: "Edu AU VIC WA NT Hand", cursive;
  font-size: 36px;
  margin: 0;
}

.footer-distributed h3 span {
  color: lightseagreen;
  font-family: "Edu AU VIC WA NT Hand", cursive;
}

/* Footer links */

.footer-distributed .footer-links {
  color: whitesmoke;
  margin: 20px 0 12px;
  padding: 0;
}

.footer-distributed .footer-links a {
  display: inline-block;
  font-weight: 400;
  text-decoration: none;
  color: inherit;
}

.footer-distributed .footer-company-name {
  color: #8d8d8d;
  font-size: 14px;
  font-weight: normal;
  margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center {
  width: 32.5%;
}

.footer-distributed .footer-center i {
  background-color: #33383b;
  color: #ffffff;
  font-size: 25px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  text-align: center;
  line-height: 42px;
  margin: 10px 15px;
  vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope {
  font-size: 17px;
  line-height: 38px;
}

.footer-distributed .footer-center p {
  display: inline-block;
  color: #ffffff;
  font-weight: 400;
  vertical-align: middle;
  margin: 0;
}

.footer-distributed .footer-center p span {
  display: block;
  font-weight: normal;
  font-size: 14px;
  line-height: 2;
}

.footer-distributed .footer-center p a {
  color: lightseagreen;
  text-decoration: none;
}

.footer-distributed .footer-links a:before {
  content: "|";
  font-weight: 300;
  font-size: 20px;
  left: 0;
  color: #fff;
  display: inline-block;
  padding-right: 5px;
}

.footer-distributed .footer-links .link-1:before {
  content: none;
}

/* Footer Right */

.footer-distributed .footer-right {
  width: 22.5%;
}

.footer-distributed .footer-company-about {
  line-height: 20px;
  color: #92999f;
  font-size: 13px;
  font-weight: normal;
  margin: 0;
}

.footer-distributed .footer-company-about span {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 20px;
}



@media (max-width: 1100px) {

  .footer-distributed {
    font: bold 14px sans-serif;
  }


  .footer-distributed .footer-right {
    display: block;
    width: 100%;
    margin-bottom: 12.5px;
    text-align: left;
    flex-direction: column;
    margin-top: 20px;
  }

  .footer-distributed .footer-left {
    width: 100%;
  }

  .footer-distributed .footer-center {
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
  }

  .footer-distributed .footer-center i {
    margin-left: 0;
  }

}












.app-info {
  position: fixed;
  left: 0;
  bottom: 0;
  width: calc(100% - 3px);
  max-height: 200px;
  background-color: #47ae6a;
  text-align: center;
  padding: 5px 1.5px;
  box-shadow: 2px;
  -webkit-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.75);
  z-index: 100;
}

.flex-app-info {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.android-ios {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 15px;
}

.android-ios a {
  background-color: whitesmoke;
  width: 65px;
  padding: 4px;
  text-align: center;
  border-radius: 15px;
  text-decoration: none;
  font-weight: bold;
  color: black;
  --tw-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
  scale: 1;
  transition: scale 1s ease;
}

.android-ios a:hover {
  scale: 1.125;
  transition: scale 1s ease;
}

#hide-app-info {
  background-color: #47ae6a;
  border-radius: 50% 50% 0 0;
  font-weight: bold;
  right: 5px;
  top: -7.5px;
  z-index: 20;
  color: red;
  cursor: pointer;
  position: absolute;
  scale: 1.25;
  --tw-shadow: 0 6px 8px -1px rgba(0, 0, 0, 0.1), 0 4px 6px -1px rgba(0, 0, 0, 0.06);
  text-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}








/* Importing Google Fonts - Inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&display=swap');



#chatbot-toggler {
  z-index: 10;
  position: fixed;
  bottom: 30px;
  right: 35px;
  border: none;
  height: 50px;
  width: 50px;
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--chatbot-color);
  /* Тъмно зелено */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

body.show-chatbot #chatbot-toggler {
  transform: rotate(90deg);
}

#chatbot-toggler span {
  color: #fff;
  position: absolute;
}

#chatbot-toggler span:last-child,
body.show-chatbot #chatbot-toggler span:first-child {
  opacity: 0;
}

body.show-chatbot #chatbot-toggler span:last-child {
  opacity: 1;
}

.chatbot-popup {
  position: fixed;
  right: 35px;
  bottom: 90px;
  width: 420px;
  overflow: hidden;
  background: #fff;
  border-radius: 15px;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.2);
  transform-origin: bottom right;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 64px -48px rgba(0, 0, 0, 0.5);
  transition: all 0.1s ease;
  z-index: 10;
  text-align: left !important;
}

body.show-chatbot .chatbot-popup {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.chat-header {
  display: flex;
  align-items: center;
  padding: 15px 22px;
  background: var(--chatbot-color);
  /* Тъмно зелено */
  justify-content: space-between;
}

.chat-header .header-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-info .chatbot-logo {
  width: 35px;
  height: 35px;
  padding: 6px;
  fill: var(--chatbot-color);
  /* Тъмно зелено */
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
}

.header-info .logo-text {
  color: #fff;
  font-weight: 600;
  font-size: 1.31rem;
  letter-spacing: 0.02rem;
}

.chat-header #close-chatbot {
  border: none;
  color: #fff;
  height: 40px;
  width: 40px;
  font-size: 1.9rem;
  margin-right: -10px;
  padding-top: 2px;
  cursor: pointer;
  border-radius: 50%;
  background: none;
  transition: 0.2s ease;
}

.chat-header #close-chatbot:hover {
  background: var(--chatbot-color);
  /* Тъмно зелено */
}

.chat-body {
  padding: 25px 22px;
  gap: 20px;
  display: flex;
  height: 460px;
  overflow-y: auto;
  margin-bottom: 82px;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--chatbot-color) transparent;
  /* Тъмно зелено */
}

.chat-body,
.chat-form .message-input:hover {
  scrollbar-color: var(--chatbot-color) transparent;
  /* Тъмно зелено */
}

.chat-body .message {
  display: flex;
  gap: 11px;
  align-items: center;
}

.chat-body .message:last-child {
  margin-bottom: 25px;
}

.chat-body .message .bot-avatar {
  width: 35px;
  height: 35px;
  padding: 6px;
  fill: #fff;
  flex-shrink: 0;
  margin-bottom: 2px;
  align-self: flex-end;
  border-radius: 50%;
  background: var(--chatbot-color);
  /* Тъмно зелено */
}

.chat-body .message .message-text {
  padding: 12px 16px;
  max-width: 75%;
  font-size: 0.95rem;
}

.chat-body .bot-message.thinking .message-text {
  padding: 2px 16px;
}

.chat-body .bot-message .message-text {
  background: #F2F2FF;
  border-radius: 13px 13px 13px 3px;
}

.chat-body .user-message {
  flex-direction: column;
  align-items: flex-end;
}

.chat-body .user-message .message-text {
  color: #fff;
  background: var(--chatbot-color);
  /* Тъмно зелено */
  border-radius: 13px 13px 3px 13px;
}

.chat-body .user-message .attachment {
  width: 50%;
  margin-top: -7px;
  border-radius: 13px 3px 13px 13px;
}

.chat-body .bot-message .thinking-indicator {
  display: flex;
  gap: 4px;
  padding-block: 15px;
}

.chat-body .bot-message .thinking-indicator .dot {
  height: 7px;
  width: 7px;
  opacity: 0.7;
  border-radius: 50%;
  background: var(--chatbot-color);
  /* Тъмно зелено */
  animation: dotPulse 1.8s ease-in-out infinite;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(1) {
  animation-delay: 0.2s;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(2) {
  animation-delay: 0.3s;
}

.chat-body .bot-message .thinking-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {

  0%,
  44% {
    transform: translateY(0);
  }

  28% {
    opacity: 0.4;
    transform: translateY(-4px);
  }

  44% {
    opacity: 0.2;
  }
}

.chat-footer {
  position: absolute;
  bottom: 0;
  width: calc(100% - 44px);
  background: #fff;
  padding: 15px 22px 20px;
}

.chat-footer .chat-form {
  display: flex;
  align-items: center;
  position: relative;
  background: #fff;
  border-radius: 32px;
  outline: 1px solid #CCCCE5;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.06);
  transition: 0s ease, border-radius 0s;
}

.chat-form:focus-within {
  outline: 2px solid var(--chatbot-color);
  /* Тъмно зелено */
}

.chat-form .message-input {
  width: 100% !important;
  height: 47px !important;
  outline: none;
  resize: none;
  border: none;
  max-height: 47px;
  scrollbar-width: thin;
  border-radius: inherit;
  font-size: 0.95rem;
  padding: 14px 0 12px 18px;
  scrollbar-color: transparent transparent;
}

.message-input:focus {
  height: 47px;
  /* Поддържане на фиксирана височина */
}

.chat-form .chat-controls {
  gap: 3px;
  height: 47px;
  display: flex;
  padding-right: 6px;
  align-items: center;
  align-self: flex-end;
}

.chat-form .chat-controls button {
  height: 35px;
  width: 35px;
  border: none;
  cursor: pointer;
  color: var(--chatbot-color);
  /* Тъмно зелено */
  border-radius: 50%;
  font-size: 1.15rem;
  background: none;
  transition: 0.2s ease;
}

.chat-form .chat-controls button:hover,
body.show-emoji-picker .chat-controls #emoji-picker {
  color: var(--chatbot-color);
  /* Тъмно зелено */
  background: #f1f1ff;
}

.chat-form .chat-controls #send-message {
  color: #fff;
  display: none;
  background: var(--chatbot-color);
  /* Тъмно зелено */
}

.chat-form .chat-controls #send-message:hover {
  background: var(--chatbot-color);
  /* Тъмно зелено */
}

.chat-form .message-input:valid~.chat-controls #send-message {
  display: block;
}

.chat-form .file-upload-wrapper {
  position: relative;
  height: 35px;
  width: 35px;
}

.chat-form .file-upload-wrapper :where(button, img) {
  position: absolute;
}

.chat-form .file-upload-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.chat-form .file-upload-wrapper #file-cancel {
  color: #ff0000;
  background: #fff;
}

.chat-form .file-upload-wrapper :where(img, #file-cancel),
.chat-form .file-upload-wrapper.file-uploaded #file-upload {
  display: none;
}

.chat-form .file-upload-wrapper.file-uploaded img,
.chat-form .file-upload-wrapper.file-uploaded:hover #file-cancel {
  display: block;
}

em-emoji-picker {
  position: absolute;
  left: 50%;
  top: -337px;
  width: 100%;
  max-width: 350px;
  visibility: hidden;
  max-height: 330px;
  transform: translateX(-50%);
}

body.show-emoji-picker em-emoji-picker {
  visibility: visible;
}

/* Responsive media query for mobile screens */
@media (max-width: 520px) {
  #chatbot-toggler {
    right: 20px;
    bottom: 20px;
  }

  .chatbot-popup {
    right: 0;
    bottom: 0;
    height: 100%;
    border-radius: 0;
    width: 100%;
  }

  .chatbot-popup .chat-header {
    padding: 12px 15px;
  }

  .chat-body {
    height: calc(90% - 55px);
    padding: 25px 15px;
  }

  .chat-footer {
    padding: 10px 15px 15px;
  }

  .chat-form .file-upload-wrapper.file-uploaded #file-cancel {
    opacity: 0;
  }
}

#check-info {
  color: rgb(32, 32, 32);
  font-size: 9px !important;
  text-align: center;
  margin-bottom: -12.5px;
  margin-top: 3.5px !important;
}

#clear-chat {
  font-size: 12.5px;
  color: #33383b;
}