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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background-color: #f5f5f5;
  padding: 20px;
  min-height: 100vh;
}

.container {
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  margin-bottom: 40px;
  color: #333;
}

.callback-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: inline-block;
}


.chat-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #dc3545;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: opacity 0.1s linear, transform 0.1s linear;
}

.chat-button:hover {
  background-color: #c82333;
}

.chat-button.hidden {
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
}

.chat-icon {
  width: 30px;
  height: 30px;
  fill: white;
}

.chat-form {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 300px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  padding: 20px;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.1s linear, transform 0.1s linear;
}

.chat-form.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.chat-form h3 {
  margin-bottom: 15px;
  color: #333;
}

.chat-form input,
.chat-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.chat-form textarea {
  height: 80px;
  resize: none;
}

.chat-form button[type="submit"] {
  width: 100%;
  padding: 12px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.chat-form button[type="submit"]:hover {
  background-color: #218838;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 24px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  color: #999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-btn:hover {
  color: #333;
}

