

.r4yMxN1fAw4_main__container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
}

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

.r4yMxN1fAw4_header__image {
  width: 200px;
  height: auto;
}

.r4yMxN1fAw4_container__header h1 {
  padding: 5px;
  border-left: 2px solid black;
  font-size: 1.6rem;
  color: #001E59;
}

.r4yMxN1fAw4_cards__container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}
.r4yMxN1fAw4_card__container h3 {
  text-align: center;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 1rem;
}

.r4yMxN1fAw4_card__container ul {
  display: flex ;
  flex-direction: column;
  gap:1rem;
}

.r4yMxN1fAw4_card__container li {
  font-weight: 200;
  font-size: 0.8rem;
}

.r4yMxN1fAw4_card__container {
  width: 48%;
  border-radius: 15px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgb(0,71,238);
background: linear-gradient(141deg, rgb(0, 52, 174) 0%, rgba(0,30,89,1) 50%, rgba(0,30,89,1) 100%);
  color: white;
}

.r4yMxN1fAw4_contact__container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.r4yMxN1fAw4_contact__container p {
  font-size: 1rem;
  font-weight: 500;
}
.r4yMxN1fAw4_contact__container h4 a {
  font-size: 2rem;
  color:#001E59;
}
  
.r4yMxN1fAw4_chat-widget {
  font-family: "Inter", serif;
  width: 450px;
  height: 490px;
  border: 1px solid #ccc;
  border-radius: 8px;
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  z-index: 9997;
  background-color: #f1f3f6;
  box-sizing: border-box;
}

.r4yMxN1fAw4_bot-logo img{
  box-sizing: border-box;
  width: 100%;
  height: auto;
  /* filter: brightness(0) invert(1); */
}

.r4yMxN1fAw4_chat-header {
  box-sizing: border-box;
  /*background-image: linear-gradient(45deg, #0084ff, #00b7ff);*/
  /*make same gradient for #008ECE*/
  background-color: #fff;
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding:10px;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
}

.r4yMxN1fAw4_chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.r4yMxN1fAw4_chat-message {
  margin-bottom: 10px;
  /* max-width: 70%; */
  padding: 4px 8px;
  border-radius: 18px;
}

.r4yMxN1fAw4_chat-message p {
  margin: 0;
  padding: 4px 8px;
  display: inline-block;
  width: 100%;
  text-align: left;
  box-sizing: border-box;
  font-size: 16px;
  font-weight: 300;
}

.r4yMxN1fAw4_user-message {
  /* align-self: flex-end; */
  background-color: #0057ff;
  color: #fff;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 80%;
  position: relative;
  left: 18%;
  font-weight: 600;
}

.r4yMxN1fAw4_user-message:first-of-type {
  margin-top: 0px;
}

.r4yMxN1fAw4_user-message .r4yMxN1fAw4_chat-message p {
  margin-left: 5px;
}

.r4yMxN1fAw4_bot-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  background-color: #fff;
  /* border: 1px solid black; */
  border-radius: 15px;
  box-shadow: 2px 2px 5px rgba(10,10,10,0.1);
  margin-left: 4%;
  font-weight: 600;
}

.r4yMxN1fAw4_message-container{
  display: flex;
  align-items: center;
  width: 90%;
}

.r4yMxN1fAw4_message-container-no-avatar{
  display: flex;
  align-items: center;
  width: 76%;
  margin-left: 15%;
}

.r4yMxN1fAw4_chat-timestamp {
  font-size: 10px;
  color: #222;
  margin: 0;
  text-align: center;
  padding: 2px 4px;
}

/* .chat-message:first-child .chat-timestamp {
  display: block;
  margin-bottom: 2px;
  margin-top: -14px;
} */

/* .language-select {
  position: absolute;
  top: 25%;
  right: 130px;
  border: none;
  outline: none;
  color: black;
  background: transparent;
  cursor: pointer;
}

.language-select img{
  width: 30px;
  height: 30px;
}

.language-select:checked {
  color: black;
}

.language-select option{
  color: black;
} */
/* 


#bot-select:checked {
  color: #fff;
} */

.r4yMxN1fAw4_typing-indicator {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

.r4yMxN1fAw4_typing-indicator span {
  width: 12px;
  height: 12px;
  background-color: #333;
  border-radius: 50%;
  margin: 0 2px;
  animation: typing-indicator 1.2s infinite;
}

.r4yMxN1fAw4_typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}

.r4yMxN1fAw4_typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
  }
    
@keyframes typing-indicator {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.r4yMxN1fAw4_chat-input-form-container {
  display: flex;
  flex-direction: column;
  gap: 0;
  box-sizing: border-box;
}

.r4yMxN1fAw4_chat-input-form {
  display: flex;
  background-color: #fff;
  padding: 2px 10px 0 10px;
  
}

.r4yMxN1fAw4_chat-input-form-container p {
  background-color: white;
  font-size: 10px;
  font-style: italic;
  color: #888;
  text-align: center;
  margin: 0;
  padding: 2px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

.r4yMxN1fAw4_chat-input-form-container p a {

  color: rgba(0, 30, 89, 1);
  text-decoration: none;
  
}

.r4yMxN1fAw4_chat-input-form input {
  flex: 1;
  border: none;
  border-radius: 7px 0 0 7px;
  background-color: rgba(0,30,89,1);
  color: #fff;
  padding: 8px 16px;
  outline: none;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
}

/*placeholder color white*/
.r4yMxN1fAw4_chat-input-form input::placeholder {
  color: #fff;
}

.r4yMxN1fAw4_chat-input-form button.r4yMxN1fAw4_send-btn {
  background-color: transparent;
  padding: 10px;
  font-size: 20px;
  margin-left: 5px;
  border: none;
  cursor: pointer;
  border-radius: 0 7px 7px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(228,99,5);
background: linear-gradient(141deg, rgba(228,99,5,1) 0%, rgba(255,161,92,1) 100%, rgba(255,161,92,1) 100%);
}

.r4yMxN1fAw4_chat-input-form button.r4yMxN1fAw4_send-btn img {
  width: 20px;
  height: auto;
  /* filter: invert(); */
}

.r4yMxN1fAw4_avatar {
  width: 30px;
  height: 30px;
  margin-right: 5px;
  border-radius: 50%;
  overflow: hidden;
}

.r4yMxN1fAw4_avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.r4yMxN1fAw4_message-container .r4yMxN1fAw4_avatar{
  width: 100px;
  height: 80px;
}

/* .r4yMxN1fAw4_close-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 23%;
  right: 10px;
} */

.r4yMxN1fAw4_close-btn {
  background: none;
  border: none;
}

.r4yMxN1fAw4_close-btn img{
  width: 20px;
  height: 20px;
}

.r4yMxN1fAw4_header-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

/* .r4yMxN1fAw4_restart-btn {
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  position: absolute;
  top: 23%;
  right: 45px;
} */
.r4yMxN1fAw4_restart-btn {
  background: none;
  border: none;
  
}

.r4yMxN1fAw4_restart-btn img{
  width: 20px;
  height: 20px;
}

.r4yMxN1fAw4_chat-header {
  position: relative;
}


/* Add keyframes for bounce animation */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

/* Apply the bounce animation to messages */
.r4yMxN1fAw4_chat-message {
  animation: bounce 0.6s;
}

@media screen and (max-width: 600px) {
  .r4yMxN1fAw4_container__header {
    padding: 10px;
    flex-direction: column;
  }
  .r4yMxN1fAw4_container__header h1 {
    border: none;
    text-align: center;
  }
  .r4yMxN1fAw4_cards__container {
    flex-direction: column;
    width: 100%;
    justify-content: center;
    align-items: center;
  }
  .r4yMxN1fAw4_card__container {
    width: 80%;
  }
  .r4yMxN1fAw4_chat-widget {
    width: 100%;
    height: 100%;
    border-radius: 0;
    bottom: 0;
    right: 0;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  }

  .r4yMxN1fAw4_chat-messages {
    height: calc(100% - 130px);
    overflow-y: auto;
  }
}

.r4yMxN1fAw4_speaker-icon {
  width: 20px;
  height: 20px;
  margin-right: 1px;
  display: flex;
  align-items: center;
}

.r4yMxN1fAw4_speaker-icon img{
  width: 20px;
  height: 20px;
}

.r4yMxN1fAw4_speaker-icon button{
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  outline: none;
}

/*FIRST NOTIFICATION*/
.r4yMxN1fAw4_overlay {
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 90;
  border-radius: 5px;
}

.r4yMxN1fAw4_notification {
  background-color: #fff;
  border-radius: 8px;
  padding: 20px;
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
  z-index: 100;
  text-align: center;
}

.r4yMxN1fAw4_show {
  display: block;
}

.r4yMxN1fAw4_notification ul li{
  margin-bottom: 10px;
  text-align: left;
  font-size: 14px;
}

.r4yMxN1fAw4_notification hr{
  margin-bottom: 10px;
}

.r4yMxN1fAw4_read-all-btn {
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  position: absolute;
  top: 7px;
  right: 55px;
}

.r4yMxN1fAw4_read-all-btn img{
  width: 30px;
  height: 30px;
}

.r4yMxN1fAw4_mic-btn{
  background: none;
  border: none;
  cursor: pointer;
}

.r4yMxN1fAw4_mic-btn img{
  width: 20px;
  height: 22px;
  position: relative;
  top: 2px;
}

.r4yMxN1fAw4_button-container {
  display: flex;
  flex-direction: column; /* change to column to align buttons vertically */
  justify-content: flex-start;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  margin-top: 10px;
}

.r4yMxN1fAw4_message-button {
  width: 80%;
  border: none;
  border-radius: 20px; /* increase border radius for rounded corners */
  padding: 10px 20px;
  margin-bottom: 5px;
  background-color: #008ece;
  color: white;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.3s ease;
  font-weight: 600;
}
  
.r4yMxN1fAw4_message-button:hover {
  background-color: #007acc;
}

.r4yMxN1fAw4_close-notification {
  background-color: #007acc;
  padding:10px;
  border-radius: 10px;
  color: white;
  border: none;
  cursor: pointer
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 87, 255, .7), 0 0 0 0 rgba(0, 87, 255, .5);
    border-radius: 60%;
  }
  50% {
    box-shadow: 0 0 0 120px rgba(0,142,206, 0), 0 0 0 240px rgba(0,142,206,0);
    border-radius: 60%;
  }
  100% {
    box-shadow: 0 0 0 240px rgba(0,142,206, 0), 0 0 0 360px rgba(0,142,206,0);
    border-radius: 60%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .r4yMxN1fAw4_blue-circle {
    animation: none;
  }
  .r4yMxN1fAw4_blue-circle::after {
    display: none;
  }
}


.r4yMxN1fAw4_blue-circle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 120px;
  height: 120px;
  background-image: url('../img/ALICJA-CiyrxdCu.webp');
  background-size: cover; /* ensure the image covers the whole element */
  background-position: center; /* center the image */
  background-repeat: no-repeat; /* prevent image from repeating */
  border-radius: 50%;
  border: 2px solid rgba(0,30,89,1);
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: none;
  /* animation: glow 2s ease-in-out infinite; */
  animation: ripple 2s infinite;
  animation-iteration-count: 5;
}

@keyframes show-bubble {
  0% {
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.r4yMxN1fAw4_blue-circle::after {
  font-family: "Inter", serif;
  content: "Hej! W czym mogę pomóc? \A Kliknij mnie!";
  position: absolute;
  top: 0;  /* Adjust these values according to your layout */
  right: 100%; /* This will place the bubble to the left of the icon */
  margin-right: 20px; /* Add some space between the icon and the bubble */
  padding: 10px;
  background: rgb(0,71,238);
background: linear-gradient(141deg, rgba(0,71,238,1) 0%, rgba(0,30,89,1) 35%, rgba(0,30,89,1) 100%); 
  color: #fff;
  border-radius: 10px;
  border: 2px solid white;
  box-shadow: 2px 2px 15px rgb(20,20,20);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  animation: show-bubble 10s forwards;
  font-size: 1rem;
  font-weight: 500;
  width: 250px;
  white-space: normal;
}

@media screen and (max-width: 600px) {
  .r4yMxN1fAw4_blue-circle::after {
    font-size: 16px;
    right:80%;
    width: 200px;
  }
}

.r4yMxN1fAw4_blue-circle:hover::after {
  opacity: 1;
}

body:after {
  content: '';
  display: block;
  clear: both;
}

