#nev-ai-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
  font-family: Arial, sans-serif;
}

.nev-ai-launcher {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: #06752E;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 5px 20px rgba(0,0,0,.2);
}

.nev-ai-panel {
  display: none;
  width: 350px;
  height: 500px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.2);
  overflow: hidden;
  flex-direction: column;
  border: 1px solid #ddd;
}

.nev-ai-panel.is-open {
  display: flex;
}

.nev-ai-header {
  background: #06752E;
  color: #fff;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nev-ai-header strong,
.nev-ai-header small {
  display: block;
}

.nev-ai-header small {
  margin-top: 3px;
  opacity: .85;
}

.nev-ai-header button {
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 26px;
  cursor: pointer;
}

.nev-ai-messages {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  background: #f6f7f8;
}

.nev-ai-message {
  max-width: 82%;
  padding: 10px 12px;
  margin-bottom: 10px;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 14px;
  white-space: pre-wrap;
}

.nev-ai-bot {
  background: #fff;
  border: 1px solid #e4e4e4;
}

.nev-ai-user {
  background: #06752E;
  color: #fff;
  margin-left: auto;
}

.nev-ai-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #ddd;
  background: #fff;
}

.nev-ai-form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 10px;
}

.nev-ai-form button {
  border: 0;
  border-radius: 8px;
  background: #06752E;
  color: #fff;
  padding: 0 14px;
  cursor: pointer;
}

.nev-ai-powered {
  text-align: center;
  font-size: 10px;
  color: #888;
  padding: 5px;
  background: #fff;
}

@media (max-width: 480px) {
  #nev-ai-widget {
    right: 12px;
    bottom: 12px;
  }

  .nev-ai-panel {
    width: calc(100vw - 24px);
    height: 70vh;
  }
}
