.vs-contact-widget,
.vs-contact-widget *,
.vs-cookie-banner,
.vs-cookie-banner *,
.vs-cookie-modal,
.vs-cookie-modal * {
  box-sizing: border-box;
}

.vs-contact-widget__panel[hidden],
.vs-cookie-banner[hidden],
.vs-cookie-modal[hidden] {
  display: none !important;
}

.vs-contact-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9000;
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #172033;
}

.vs-contact-widget__launcher {
  min-width: 60px;
  height: 60px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #172033;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
}

.vs-contact-widget__launcher-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  color: #172033;
  font-size: 17px;
}

.vs-contact-widget__panel {
  position: absolute;
  right: 0;
  bottom: 76px;
  width: min(380px, calc(100vw - 32px));
  max-height: min(760px, calc(100vh - 116px));
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.25);
}

.vs-contact-widget__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid #edf2f7;
}

.vs-contact-widget__header h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 900;
}

.vs-contact-widget__header p {
  margin: 5px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.vs-contact-widget__icon-button,
.vs-cookie-modal header button {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.vs-contact-widget__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 14px 14px 4px;
}

.vs-contact-widget__action {
  min-height: 64px;
  padding: 10px 6px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #172033;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  background: #ffffff;
}

.vs-contact-widget__action:hover {
  border-color: #d946ef;
  background: #fdf4ff;
}

.vs-contact-widget__action span {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  color: #172033;
  font-size: 11px;
  font-weight: 900;
}

.vs-contact-widget__form {
  display: grid;
  gap: 11px;
  padding: 14px;
}

.vs-contact-widget__form label {
  display: grid;
  gap: 6px;
  color: #334155;
  font-size: 12px;
  font-weight: 800;
}

.vs-contact-widget__form input,
.vs-contact-widget__form textarea {
  width: 100%;
  border: 1px solid #dbe3ef;
  border-radius: 12px;
  background: #ffffff;
  color: #172033;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.vs-contact-widget__form input {
  min-height: 42px;
  padding: 0 12px;
}

.vs-contact-widget__form textarea {
  min-height: 78px;
  resize: vertical;
  padding: 10px 12px;
}

.vs-contact-widget__form input:focus,
.vs-contact-widget__form textarea:focus {
  border-color: #d946ef;
  box-shadow: 0 0 0 3px rgba(217, 70, 239, 0.12);
}

.vs-contact-widget__checkbox {
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px !important;
  color: #475569 !important;
  font-size: 12px !important;
  line-height: 1.4;
}

.vs-contact-widget__checkbox input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  margin: 2px 0 0;
}

.vs-contact-widget__checkbox a,
.vs-contact-widget__footer a,
.vs-contact-widget__footer button {
  color: #b832d0;
  text-decoration: none;
  font-weight: 800;
}

.vs-contact-widget__submit,
.vs-cookie-banner__actions button,
.vs-cookie-modal__actions button {
  min-height: 44px;
  border: 0;
  border-radius: 999px;
  padding: 0 16px;
  background: #172033;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.vs-contact-widget__message {
  margin: 0;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
}

.vs-contact-widget__message_success {
  background: #ecfdf5;
  color: #047857;
}

.vs-contact-widget__message_error {
  background: #fff1f2;
  color: #be123c;
}

.vs-contact-widget__footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 0 14px 14px;
  font-size: 12px;
}

.vs-contact-widget__footer button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.vs-contact-widget__trap {
  position: absolute;
  left: -9999px;
  width: 1px !important;
  height: 1px !important;
  opacity: 0;
}

.vs-cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 9100;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 18px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(15, 23, 42, 0.22);
  font-family: Manrope, system-ui, sans-serif;
}

.vs-cookie-banner h2,
.vs-cookie-modal h2 {
  margin: 0;
  color: #172033;
  font-size: 17px;
  font-weight: 900;
}

.vs-cookie-banner p,
.vs-cookie-modal p {
  margin: 6px 0 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.45;
}

.vs-cookie-banner__actions,
.vs-cookie-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.vs-cookie-banner__actions button:nth-child(2),
.vs-cookie-banner__actions button:nth-child(3),
.vs-cookie-modal__actions button:nth-child(2) {
  border: 1px solid #dbe3ef;
  background: #ffffff;
  color: #172033;
}

.vs-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 9200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  font-family: Manrope, system-ui, sans-serif;
}

.vs-cookie-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
}

.vs-cookie-modal__dialog {
  position: relative;
  width: min(460px, 100%);
  border-radius: 20px;
  background: #ffffff;
  padding: 18px;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.3);
}

.vs-cookie-modal header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.vs-cookie-modal__options {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.vs-cookie-modal__options label {
  min-height: 54px;
  padding: 10px 12px;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: center;
  gap: 10px;
  color: #172033;
}

.vs-cookie-modal__options strong {
  display: block;
  font-size: 14px;
}

.vs-cookie-modal__options small {
  color: #64748b;
  font-size: 12px;
}

@media (max-width: 640px) {
  .vs-contact-widget {
    right: 12px;
    bottom: 12px;
    left: 12px;
    display: flex;
    justify-content: flex-end;
  }

  .vs-contact-widget__panel {
    position: fixed;
    right: 12px;
    left: 12px;
    bottom: 82px;
    width: auto;
    max-height: calc(100vh - 104px);
  }

  .vs-contact-widget__launcher {
    height: 56px;
  }

  .vs-cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
  }

  .vs-cookie-banner__actions {
    justify-content: stretch;
  }

  .vs-cookie-banner__actions button,
  .vs-cookie-modal__actions button {
    flex: 1 1 100%;
  }
}
