/* landingPage/components/ChatWidget.vue */

.chat-widget[data-v-776e1635] {
  position: fixed;
  bottom: 100px;
  right: 20px;
  z-index: 9999;
  font-family: 'Inter', system-ui, sans-serif;
}
@media (min-width: 768px) {
.chat-widget[data-v-776e1635] {
    bottom: 20px;
    right: 20px;
}
}

/* Кнопка чата */
.chat-button[data-v-776e1635] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, #3D4A3A 0%, #2C3A2A 100%);
  color: white;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(61, 74, 58, 0.4);
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}
.chat-button[data-v-776e1635]:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(61, 74, 58, 0.5);
}
.chat-icon[data-v-776e1635] {
  width: 20px;
  height: 20px;
}
.chat-label[data-v-776e1635] {
  display: none;
}
@media (min-width: 640px) {
.chat-label[data-v-776e1635] {
    display: inline;
}
}
.chat-badge[data-v-776e1635] {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #A67B3D;
  border-radius: 50%;
  border: 2px solid white;
  animation: pulse-776e1635 2s infinite;
}
@keyframes pulse-776e1635 {
0%, 100% { transform: scale(1); opacity: 1;
}
50% { transform: scale(1.2); opacity: 0.8;
}
}

/* Модальное окно */
.chat-modal[data-v-776e1635] {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 380px;
  max-width: calc(100vw - 40px);
  height: 600px;
  max-height: calc(100vh - 120px);
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
@media (max-width: 480px) {
.chat-modal[data-v-776e1635] {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 16px 16px 0 0;
}
}

/* Шапка */
.chat-header[data-v-776e1635] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(135deg, #3D4A3A 0%, #2C3A2A 100%);
  color: white;
}
.chat-header-info[data-v-776e1635] {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar[data-v-776e1635] {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}
.avatar-img[data-v-776e1635] {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chat-header-text[data-v-776e1635] {
  display: flex;
  flex-direction: column;
}
.chat-title[data-v-776e1635] {
  font-size: 15px;
  font-weight: 600;
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
}
.chat-status[data-v-776e1635] {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 4px;
}
.status-dot[data-v-776e1635] {
  width: 8px;
  height: 8px;
  background: #8B9A7C;
  border-radius: 50%;
  animation: blink-776e1635 2s infinite;
}
@keyframes blink-776e1635 {
0%, 100% { opacity: 1;
}
50% { opacity: 0.5;
}
}
.chat-close[data-v-776e1635] {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: background 0.2s;
}
.chat-close[data-v-776e1635]:hover {
  background: rgba(255, 255, 255, 0.3);
}
.chat-close svg[data-v-776e1635] {
  width: 18px;
  height: 18px;
}

/* Форма контактов */
.contact-form-container[data-v-776e1635] {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  background: #F5F5F3;
}
.contact-form-header[data-v-776e1635] {
  text-align: center;
  margin-bottom: 20px;
}
.contact-form-title[data-v-776e1635] {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  font-weight: 600;
  color: #3D4A3A;
  margin: 0 0 8px 0;
}
.contact-form-subtitle[data-v-776e1635] {
  font-size: 13px;
  color: #6B6B66;
  margin: 0;
}
.contact-form[data-v-776e1635] {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.form-group[data-v-776e1635] {
  margin-bottom: 16px;
}
.form-group label[data-v-776e1635] {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: #2C2C2A;
  margin-bottom: 6px;
}
.form-group .required[data-v-776e1635] {
  color: #A67B3D;
}
.form-input[data-v-776e1635] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #E8E4DC;
  border-radius: 8px;
  font-size: 14px;
  background: white;
  transition: all 0.2s;
  box-sizing: border-box;
}
.form-input[data-v-776e1635]:focus {
  outline: none;
  border-color: #3D4A3A;
  box-shadow: 0 0 0 3px rgba(61, 74, 58, 0.1);
}
.form-select[data-v-776e1635] {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B6B66' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
.submit-btn[data-v-776e1635] {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, #3D4A3A 0%, #2C3A2A 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', system-ui, sans-serif;
}
.submit-btn[data-v-776e1635]:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 74, 58, 0.3);
}
.submit-btn[data-v-776e1635]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.contact-form-footer[data-v-776e1635] {
  margin-top: 16px;
  text-align: center;
}
.skip-btn[data-v-776e1635] {
  background: none;
  border: none;
  color: #6B6B66;
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  transition: color 0.2s;
}
.skip-btn[data-v-776e1635]:hover {
  color: #3D4A3A;
}

/* Сообщения */
.chat-messages[data-v-776e1635] {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #F5F5F3;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-behavior: smooth;
}

/* Приветственные сообщения */
.welcome-messages[data-v-776e1635] {
  max-height: 200px;
  flex: 0 0 auto;
}

/* Плейсхолдер формы */
.contact-form-placeholder[data-v-776e1635] {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  background: #F5F5F3;
}
.skip-hint[data-v-776e1635] {
  text-align: center;
}
.message[data-v-776e1635] {
  display: flex;
  max-width: 92%;
  width: auto;
}
.message.bot[data-v-776e1635] {
  align-self: flex-start;
}
.message.user[data-v-776e1635] {
  align-self: flex-end;
}
.message-content[data-v-776e1635] {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.6;
  position: relative;
  white-space: pre-wrap;
  word-wrap: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}
.message.bot .message-content[data-v-776e1635] {
  background: white;
  color: #2C2C2A;
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 100%;
}
.message.user .message-content[data-v-776e1635] {
  background: linear-gradient(135deg, #3D4A3A 0%, #2C3A2A 100%);
  color: white;
  border-bottom-right-radius: 4px;
  max-width: 100%;
}

/* Демо-сообщения (примеры диалогов) */
.message.demo .message-content[data-v-776e1635] {
  opacity: 0.85;
}
.message.demo.bot .message-content[data-v-776e1635] {
  background: linear-gradient(135deg, #E8E4DC 0%, #F5F5F3 100%);
  border: 1px dashed #8B9A7C;
}
.message.demo.user .message-content[data-v-776e1635] {
  background: linear-gradient(135deg, #8B9A7C 0%, #6B7A5C 100%);
}

/* Разделитель */
.message.separator[data-v-776e1635] {
  align-self: center;
  max-width: 100%;
  margin: 8px 0;
}
.message.separator .message-content[data-v-776e1635] {
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  color: #6B6B66;
  font-size: 12px;
  text-align: center;
  padding: 8px;
}
.message-time[data-v-776e1635] {
  font-size: 11px;
  opacity: 0.6;
  margin-top: 4px;
  display: block;
}

/* Индикатор набора */
.typing-indicator[data-v-776e1635] {
  display: flex;
  gap: 4px;
  padding: 4px 8px;
}
.typing-indicator span[data-v-776e1635] {
  width: 8px;
  height: 8px;
  background: #3D4A3A;
  border-radius: 50%;
  animation: typing-776e1635 1.4s infinite;
}
.typing-indicator span[data-v-776e1635]:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span[data-v-776e1635]:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes typing-776e1635 {
0%, 100% { transform: translateY(0); opacity: 0.4;
}
50% { transform: translateY(-4px); opacity: 1;
}
}

/* Быстрые ответы */
.quick-replies[data-v-776e1635] {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #E8E4DC;
  max-height: 120px;
  overflow-y: auto;
}
.quick-reply-btn[data-v-776e1635] {
  padding: 6px 12px;
  background: #F5F5F3;
  color: #3D4A3A;
  border: 1px solid #E8E4DC;
  border-radius: 16px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 500;
  white-space: nowrap;
}
.quick-reply-btn[data-v-776e1635]:hover {
  background: #3D4A3A;
  color: white;
}

/* Поле ввода */
.chat-input-area[data-v-776e1635] {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-top: 1px solid #E8E4DC;
}
.chat-input[data-v-776e1635] {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #E8E4DC;
  border-radius: 24px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.chat-input[data-v-776e1635]:focus {
  border-color: #3D4A3A;
}
.chat-send[data-v-776e1635] {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #3D4A3A 0%, #2C3A2A 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}
.chat-send[data-v-776e1635]:hover:not(:disabled) {
  transform: scale(1.05);
}
.chat-send[data-v-776e1635]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.chat-send svg[data-v-776e1635] {
  width: 18px;
  height: 18px;
  transform: rotate(45deg);
}

/* Анимации */
.chat-slide-enter-active[data-v-776e1635],
.chat-slide-leave-active[data-v-776e1635] {
  transition: all 0.3s ease;
}
.chat-slide-enter-from[data-v-776e1635],
.chat-slide-leave-to[data-v-776e1635] {
  opacity: 0;
  transform: translateY(20px) scale(0.95);
}

/* Скроллбар */
.chat-messages[data-v-776e1635]::-webkit-scrollbar,
.contact-form-container[data-v-776e1635]::-webkit-scrollbar {
  width: 6px;
}
.chat-messages[data-v-776e1635]::-webkit-scrollbar-track,
.contact-form-container[data-v-776e1635]::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages[data-v-776e1635]::-webkit-scrollbar-thumb,
.contact-form-container[data-v-776e1635]::-webkit-scrollbar-thumb {
  background: #C4B8A8;
  border-radius: 3px;
}
.chat-messages[data-v-776e1635]::-webkit-scrollbar-thumb:hover,
.contact-form-container[data-v-776e1635]::-webkit-scrollbar-thumb:hover {
  background: #8B9A7C;
}

