.gc-wsp-widget,
.gc-wsp-widget * {
  box-sizing: border-box;
}

.gc-wsp-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999999;
  font-family: 'Poppins' !important;
}

.gc-wsp-floating-button {
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: 999px;
  padding: 14px 18px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gc-wsp-floating-button:hover,
.gc-wsp-floating-button:focus {
  transform: translateY(-2px);
  box-shadow: 0 15px 36px rgba(0, 0, 0, 0.26);
  outline: none;
}

.gc-wsp-icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  font-size: 18px;
}

.gc-wsp-chat {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: min(340px, calc(100vw - 28px));
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}

.gc-wsp-chat-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 18px;
  background: #075E54;
  color: #fff;
}

.gc-wsp-chat-header strong {
  display: block;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 0px;
}

.gc-wsp-chat-header p {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  opacity: 0.94;
}

.gc-wsp-close {
    flex: 0 0 auto;
    width: 30px !important;
    height: 30px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    font-size: 30px !important;
    line-height: 1;
    cursor: pointer !important;
}

.gc-wsp-form {
  padding: 18px;
}

.gc-wsp-field + .gc-wsp-field {
  margin-top: 12px;
}

.gc-wsp-form label {
  display: block;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 700;
}

.gc-wsp-form input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 11px 13px;
  font-size: 16px;
  outline: none;
}

.gc-wsp-form input:focus {
  border-color: #25D366;
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.18);
}

.gc-wsp-form small {
  display: block;
  margin-top: 7px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.35;
}

.gc-wsp-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fee2e2;
  color: #991b1b;
  font-size: 13px;
}

.gc-wsp-submit {
  width: 100%;
  min-height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

.gc-wsp-submit:disabled {
  cursor: wait;
  opacity: 0.7;
}

.gc-wsp-floating-button[type=button], .gc-wsp-floating-button[type=submit], .gc-wsp-floating-button button {
    background-color: #25d366;
    border: 0px solid #25d366;
    border-radius: 3px;
    color: white;
}

.gc-wsp-submit {
    background: #E91E8C !important;
    color: white !important;
    border-radius: 30px !important;
}

@media (max-width: 480px) {
  .gc-wsp-widget {
    right: 14px;
    bottom: 14px;
  }

  .gc-wsp-button-text {
    display: none;
  }

  .gc-wsp-floating-button {
    width: 60px !important;
    height: 60px !important;
    border-radius: 50px !important;
    justify-content: center;
    padding: 0;
    display:flex;
  }

  .gc-wsp-icon {
    width: 34px;
    height: 34px;
  }

  .gc-wsp-chat {
    right: 0;
    bottom: 72px;
  }
}
