
.naty-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  z-index: 9999;
  cursor: pointer;
  background: #fff;
  border: 4px solid #3b1166;
  box-shadow: 0 12px 35px rgba(0,0,0,.35);
  display: none;
}

.naty-bubble img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.naty-chat {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 420px;
  max-width: calc(100vw - 28px);
  height: 620px;
  max-height: calc(100vh - 40px);
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  z-index: 10000;
  box-shadow: 0 22px 55px rgba(0,0,0,.38);
  display: none;
  flex-direction: column;
  font-family: Arial, sans-serif;
}

.naty-header {
  flex: 0 0 auto;
  background: linear-gradient(90deg, #2b0d46, #3b1166);
  color: #fff;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.naty-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.naty-header strong {
  display: block;
  font-size: 19px;
}

.naty-header span {
  font-size: 12px;
  opacity: .9;
}

.naty-header button {
  margin-left: auto;
  background: none;
  border: none;
  color: #fff;
  font-size: 34px;
  cursor: pointer;
  line-height: 1;
}

.naty-messages {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: 18px;
  background: #fff;
  min-height: 0;
  scroll-behavior: smooth;
}

.naty-msg {
  max-width: 88%;
  padding: 13px 15px;
  margin-bottom: 12px;
  border-radius: 16px;
  line-height: 1.35;
  font-size: 15px;
}

.naty-msg.bot {
  background: #f4f1f6;
  color: #2b0d46;
}

.naty-msg.user {
  margin-left: auto;
  background: #3b1166;
  color: #fff;
}

.naty-actions {
  flex: 0 0 auto;
  max-height: 180px;
  overflow-y: auto;
  padding: 14px 18px;
  border-top: 1px solid #eee;
  background: #fafafa;
}

.naty-actions button {
  width: 100%;
  margin: 6px 0;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #3b1166;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.naty-actions button.secondary {
  background: #fff;
  color: #3b1166;
  border: 1px solid #3b1166;
}

.naty-actions input,
.naty-actions select,
.naty-actions textarea {
  width: 100%;
  padding: 11px;
  margin: 5px 0;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-family: Arial, sans-serif;
  box-sizing: border-box;
}

.naty-footer {
  flex: 0 0 auto;
  text-align: center;
  padding: 8px;
  color: #5b4b68;
  font-size: 12px;
  border-top: 1px solid #eee;
  background: #fff;
}

@media (max-width: 600px) {
  .naty-bubble {
    right: 16px;
    bottom: 16px;
    width: 68px;
    height: 68px;
  }

  .naty-chat {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
    height: 86vh;
    max-height: 86vh;
    border-radius: 20px;
  }

  .naty-header {
    padding: 10px 14px;
  }

  .naty-header img {
    width: 42px;
    height: 42px;
  }

  .naty-header strong {
    font-size: 17px;
  }

  .naty-header span {
    font-size: 11px;
  }

  .naty-header button {
    font-size: 30px;
  }

  .naty-messages {
    padding: 12px;
  }

  .naty-msg {
    font-size: 14px;
    padding: 10px 12px;
    margin-bottom: 8px;
  }

  .naty-actions {
    max-height: 170px;
    padding: 10px 14px;
  }

  .naty-actions button {
    padding: 10px;
    margin: 4px 0;
  }

  .naty-actions input,
  .naty-actions select,
  .naty-actions textarea {
    padding: 9px;
    margin: 4px 0;
  }

  .naty-footer {
    display: none;
  }
}