/* Style principal du chatbot */
#chatbot {
  position: fixed;
  bottom: 90px;
  right: 90px;
  width: 400px;
  height: 600px;
  background-color: #fbefdc;
  border: none;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  font-family: "Roboto", sans-serif;
  transition: all 0.3s ease;
  z-index: 9999999;
}

/* Style du header du chatbot */
#chatbot-header {
  /* background-color: #c89a75; */
  /* Gris foncé */
  color: #3d2215;
  padding: 15px 20px;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 20px 20px 0 0;
}

/* Style du bouton de fermeture */
#chatbot-close {
  background: transparent;
  color: #3d2215;
  border: none;
  font-size: 22px;
  cursor: pointer;
  transition: color 0.2s ease;
}

#chatbot-close:hover {
  color: #3d221599;
}

/* Style du corps du chatbot (ce qui contient les messages) */
#chatbot-body {
  padding: 15px;
  overflow-y: auto;
  flex-grow: 1;
  /* Permet au corps de prendre tout l'espace disponible */
  padding-bottom: 70px;
  color: #3d2215;
}

/* Style des messages */
#chatbot-messages {
  margin-bottom: 20px;
}

/* Style de l'input et du bouton d'envoi */
#chatbot-input {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 5px;
  padding-right: 5px;
  border-top: 1px solid #3d2215;
  background-color: #fbefdc;
  border-radius: 0 0 20px 20px;
  width: 100%;
  box-sizing: border-box;
  /* Assure que les padding sont pris en compte dans la largeur */
}

#chatbot-text {
  width: 80%;
  padding: 10px;
  border-radius: 30px;
  border: 1px solid #ddd;
  font-size: 16px;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

#chatbot-text:focus {
  border-color: #3d2215;
  /* Gris foncé */
  outline: none;
}

#chatbot-send {
  width: 40px;
  height: 40px;
  padding: 10px;
  background-color: #c89a75;
  /* Gris foncé */
  color: #3d2215;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#chatbot-send:hover {
  background-color: #c89a7598;
  /* Gris plus clair */
}

/* Style du bouton flottant */
#chatbot-toggle {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  /* width: 60px;
  height: 60px; */
  bottom: 20px;
  right: 20px;
  /* background-color: #333;  */
  color: white;
  border-radius: 50%;
  font-size: 40px;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.3s ease;
  max-width: 90px;
}

/* 
#chatbot-toggle:hover {
  background-color: #444; 
} */

.talk-bubble {
  margin: 40px;
  display: inline-block;
  position: relative;
  width: 200px;
  height: auto;
  background-color: lightyellow;
}

.round {
  border-radius: 30px;
  -webkit-border-radius: 30px;
  -moz-border-radius: 30px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.tri-right {
  animation: fadeIn 0.5s ease-out;
}

/* .hidden {
  display: none;
} */

.tri-right {
  position: absolute;
  left: -230px;
  top: -50px;
  background-color: #c89a75;
}

.tri-right.right-in:after {
  content: " ";
  position: absolute;
  width: 0;
  height: 0;
  left: auto;
  right: -10px;
  top: 20px;
  bottom: auto;
  border: 12px solid;
  border-color: #c89a75 transparent transparent #c89a75;
}

.talktext {
  font-size: small;
  color: #3d2215;
  padding: 1em;
  text-align: left;
  line-height: 1.5em;
}

.talktext p {
  /* remove webkit p margins */
  -webkit-margin-before: 0em;
  -webkit-margin-after: 0em;
}

.loader {
  text-align: center;
}

.loader span {
  display: inline-block;
  vertical-align: middle;
  width: 10px;
  height: 10px;
  margin: 50px auto;
  background: grey;
  border-radius: 50px;
  -webkit-animation: loader 0.5s infinite alternate;
  -moz-animation: loader 0.5s infinite alternate;
}

.loader span:nth-of-type(2) {
  -webkit-animation-delay: 0.2s;
  -moz-animation-delay: 0.2s;
}

.loader span:nth-of-type(3) {
  -webkit-animation-delay: 0.3s;
  -moz-animation-delay: 0.3s;
}

@-webkit-keyframes loader {
  0% {

    height: 10px;
    opacity: 0.9;
    -webkit-transform: translateY(0);
  }

  100% {

    opacity: 0.3;
    -webkit-transform: translateY(-11px);
  }
}

@-moz-keyframes loader {
  0% {
    width: 10px;
    height: 10px;
    opacity: 0.9;
    -moz-transform: translateY(0);
  }

  100% {
    width: 24px;
    height: 24px;
    opacity: 0.3;
    -moz-transform: translateY(-11px);
  }
}

.loader-message {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  width: 100%;
}

.form-group-container {
  display: flex;
  gap: 10px;
}

#perso>form.woocommerce-EditAccountForm.edit-account>fieldset:nth-child(10)>div>div:nth-child(2) {
  width: 100% !important;
  justify-content: center;
  gap: 3rem;
}

#perso>form.woocommerce-EditAccountForm.edit-account>fieldset:nth-child(10)>div>div:nth-child(3) {
  width: 100% !important;
  justify-content: center;
  gap: 3rem;
}

.pet-form > .form-group-container >.form-group {
  width: 100% !important;
}


.wp-list-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  text-align: left;
  background-color: #fbefdc;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.wp-list-table thead {
  background-color: #c89a75;
  color: #fff;
}

.wp-list-table thead th {
  padding: 15px;
  font-weight: bold;
  text-transform: uppercase;
}

.wp-list-table tbody tr {
  border-bottom: 1px solid #ddd;
  transition: background-color 0.3s ease;
}

.wp-list-table tbody tr:hover {
  background-color: #f5e6d8;
}

.wp-list-table tbody td {
  padding: 15px;
  color: #3d2215;
}

.wp-list-table tbody td input[type="text"],
.wp-list-table tbody td input[type="number"],
.wp-list-table tbody td select {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 14px;
  box-sizing: border-box;
}

.wp-list-table tbody td button {
  padding: 8px 12px;
  background-color: #c89a75;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

.wp-list-table tbody td button:hover {
  background-color: #a67a5b;
}