.ezw-site-assistant,
.ezw-site-assistant * {
  box-sizing: border-box;
}

.ezw-site-assistant {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ezw-site-assistant-button {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #1f9d5a;
  color: #fff;
  box-shadow: 0 18px 40px rgba(17, 72, 46, 0.26);
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.ezw-site-assistant-button:hover,
.ezw-site-assistant-button:focus-visible {
  background: #15814a;
  box-shadow: 0 20px 46px rgba(17, 72, 46, 0.34);
  transform: translateY(-1px);
  outline: none;
}

.ezw-site-assistant-button svg {
  width: 29px;
  height: 29px;
  display: block;
}

.ezw-site-assistant-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: min(340px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(18, 37, 63, 0.12);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(18, 37, 63, 0.22);
  color: #162033;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.ezw-site-assistant.is-open .ezw-site-assistant-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ezw-site-assistant-panel[hidden] {
  display: none;
}

.ezw-site-assistant-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ezw-site-assistant-header h2 {
  margin: 0 0 4px;
  color: #101828;
  font-size: 18px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ezw-site-assistant-header p {
  margin: 0;
  color: #526071;
  font-size: 14px;
  line-height: 1.45;
}

.ezw-site-assistant-close {
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 50%;
  background: #eef2f6;
  color: #243044;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.ezw-site-assistant-form {
  display: grid;
  gap: 10px;
}

.ezw-site-assistant-form label {
  display: grid;
  gap: 6px;
  color: #344054;
  font-size: 13px;
  font-weight: 700;
}

.ezw-site-assistant-form input {
  width: 100%;
  min-width: 0;
  border: 1px solid #cfd8e3;
  border-radius: 10px;
  padding: 12px 13px;
  color: #111827;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.ezw-site-assistant-form input:focus {
  border-color: #1f9d5a;
  box-shadow: 0 0 0 3px rgba(31, 157, 90, 0.14);
}

.ezw-site-assistant-submit {
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  background: #162033;
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.ezw-site-assistant-submit:disabled {
  cursor: progress;
  opacity: 0.64;
}

.ezw-site-assistant-status {
  min-height: 18px;
  margin: 0;
  color: #526071;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 640px) {
  .ezw-site-assistant {
    right: 14px;
    bottom: 14px;
  }

  .ezw-site-assistant-panel {
    right: -2px;
    bottom: 68px;
  }
}
