/* Reset de estilos */
* {
  margin: 0;
  padding: 0;
  box-sizing: content-box;
  -webkit-text-size-adjust: none;
  font-size: 16px;
  line-height: 1.5;
  color: #333;  
}

html {
  -webkit-text-size-adjust: 100%;
  font-family: Söhne, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Ubuntu, Cantarell, Noto Sans, sans-serif, Helvetica Neue, Arial,
    Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
  line-height: 1.5;
  tab-size: 4;
  scroll-behavior: smooth;
  max-width: 100vw;
}


body {
  margin: 0;
  padding-top: 190px;
  padding-bottom: 130px;
  font-family: Arial, Helvetica, sans-serif;
  background: #fff;
}

/* Estilos para la sección superior */
header {
  height: 190px;
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #fff;
  z-index: 99;
}

/* Estilos para la sección intermedia */
main {
  height: 100%;
  overflow-y: auto;
}

/* Estilos para la sección inferior */
footer {
  height: 130px;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #fff;
}
footer * {
  font-size: 14px;
  font-family: inherit;
}

input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="password"] {
  font-size: 16px;
}

/* Tipografía */

.logo {
  text-align: center;
}

.logo img {
  max-width: 90px;
  margin-top: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
}

h1 {
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  margin-top: 1rem;
}

h3 {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
}

/* Colores */
:root {
  --primary-color: #1c1c1e;
  --secondary-color: #3a3a3c;
  --success-color: #34c759;
  --danger-color: #ff3b30;
  --warning-color: #ff9500;
  --info-color: #007aff;
}

/* Mensajes del chat */
.chat-message {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.chat-message p {
  margin-bottom: 0.25rem;
}

.message-sender {
  background-color: #fff;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  padding: 15px;
  background-image: url("you.png");
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-size: 34px;
  background-position: calc(50% - 385px) 13px;
  filter: grayscale(.60);
}

.message-sender p {
  margin: 0 auto;
  max-width: 660px;
  margin-bottom: 0.25rem;
  /*  font-size: 1rem; */
  line-height: 1.8rem;
}

.bot-message {
  background-color: #f7f7f7;
  border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  padding: 15px;
  background-image: url("me.png");
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  background-size: 35px;
  background-position: calc(50% - 385px) 18px;
}

.bot-message p {
  margin: 0 auto;
  max-width: 660px;
  margin-bottom: 0.25rem;
  /* font-size: 1rem; */
  line-height: 1.8rem;
}

.chat-message .message-body {
  padding: 0.75rem;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  z-index: -99;
  font-family: "Yeseva One", cursive;
}

.container img {
  max-width: 120px;
  filter: grayscale(75%) opacity(0.5);
  margin-left: 10px;
  margin-right: 10px;
}

/* Estilos para las dos columnas */
.col {
  flex: auto;
  padding: 10px;
  background-color: #fff;
}

.col p,
.col i {
  font-size: 13px;
  color: #ccc;
}

.col h3 {
  color: #aaa;
}

.pie {
  margin: 0 auto;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: center;
  width: 100%;
  font-size: 10px;
  color: #999;
  padding: 5px;
}

/* Input de chat */
.chat-input-container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 500px;
  padding: 40px 0;
}

.chat-input-container input[type="text"] {
  flex: auto;
  padding: 0.5rem;
  border-radius: 5px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin-right: 1rem;
}

.chat-input-container button {
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.chat-input-container button:hover {
  background-color: var(--secondary-color);
}

@media only screen and (max-width: 850px) {

  .message-sender p {
    max-width: 550px;
  }

  .bot-message p {
    max-width: 550px;
  }

  .bot-message {
    background-position: calc(50% - 320px) 18px;
  }

  .message-sender {
    background-position: calc(50% - 320px) 13px;
  }
}

@media only screen and (max-width: 767px) {
  .container {
    flex-direction: column;
  }

  .col {
    width: 100%;
    display: contents;
  }

  input[type="text"],
  input[type="number"],
  input[type="email"],
  input[type="tel"],
  input[type="password"] {
    font-size: 16px;
  }

}

@media only screen and (max-width: 500px) {

.chat-input-container {
  max-width: 90%;
}

  .bot-message p,
  .message-sender p {
    font-size: 15px !important;
  }

  .col {
    display: contents;
    text-align: center;
  }
  .col p {
    font-size: 11px;
  }
  .col h3 {
    font-size: inherit;
  }

  .bot-message {
    background-image: none;
  }
  .message-sender {
    background-image: none;
  }

  .container {
    max-width: 300px;
    top: 40px;
  }

  .container img {
    display: none;
    max-width: 80px;
  }

}






