* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  color: #000;
  line-height: 1.6;
  height: 100vh;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  width: 100%;
}

#chat-container {
  display: none;
}

#chat-container.active {
  display: block;
}

#top-container.hidden {
  display: none;
}

.top {
  position: absolute;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  background: #D946EF;
  max-width: 600px;
  min-height: 300px;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  row-gap: 30px;
}
.top form {
  display: flex;
  flex-direction: column;
  width: 100%;
  row-gap: 8px;
}
.top form label {
  font-size: 18px;
  font-weight: 600;
}
.top form input[type=text] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
}
.top form input[type=submit] {
  padding: 12px;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.top form input[type=submit]:hover {
  background-color: #333;
}

.bottom {
  position: absolute;
  top: auto;
  bottom: auto;
  left: auto;
  right: auto;
  background: #f5f5f5;
  max-width: 600px;
  min-height: 400px;
  z-index: 500;
  border-radius: 16px;
  border: 1px solid #D946EF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  display: none;
}
.bottom .chat-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  row-gap: 12px;
}
.bottom .chat-header h2 {
  font-size: 24px;
  margin-bottom: 12px;
}
.bottom .chat-header p {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}
.bottom .chat-window {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 20px;
  overflow-y: auto;
  min-height: 300px;
  max-height: 50vh;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.bottom .chat-window .message {
  padding: 12px;
  font-size: 14px;
  border-radius: 8px;
  margin-bottom: 14px;
  max-width: 80%;
  word-wrap: break-word;
  white-space: pre-wrap;
}
.bottom .chat-window .user-message {
  background-color: #D946EF;
  color: #fff;
  align-self: flex-end;
}
.bottom .chat-window .bot-message {
  background-color: #eee;
  color: #333;
  align-self: flex-start;
}
.bottom .chat-input {
  width: 100%;
  min-height: 80px;
  max-height: 180px;
  padding: 12px;
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 16px;
  line-height: 1.5;
  border: 1px solid #ccc;
  border-radius: 8px;
  resize: vertical;
  box-sizing: border-box;
}
.bottom .chat-input form {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
}
.bottom .chat-input textarea {
  width: 400px;
  height: 80px;
  padding: 12px;
  border-radius: 8px;
  border: none;
  outline: none;
  font-size: 14px;
  line-height: 1.5;
  resize: none;
}
.bottom .chat-input input[type=submit] {
  margin-top: 12px;
  padding: 12px;
  background-color: #111;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.bottom .chat-input input[type=submit]:hover {
  background-color: #333;
}

.loading-screen {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}
.loading-screen .loading-content {
  max-width: 600px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.loading-screen .loading-content form {
  display: flex;
  flex-direction: column;
  row-gap: 12px;
  margin-top: 20px;
}
.loading-screen .loading-content form input[type=text],
.loading-screen .loading-content form input[type=email],
.loading-screen .loading-content form input[type=tel] {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  text-align: center;
}
.loading-screen .loading-content form input[type=submit] {
  padding: 12px;
  background-color: #D946EF;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.loading-screen .loading-content form input[type=submit]:hover {
  background-color: #C026D3;
}

.loading-screen.active {
  display: flex;
}

.loader-box {
  max-width: 420px;
  padding: 30px;
}

.spinner {
  width: 54px;
  height: 54px;
  border: 6px solid #ddd;
  border-top-color: #D946EF;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: spin 1s linear infinite;
}

.loader-box h2 {
  margin-bottom: 10px;
}

.loader-box p {
  margin: 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}/*# sourceMappingURL=style.css.map */