.tasj-feedback-widget,
.tasj-feedback-overlay {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.tasj-feedback-widget *,
.tasj-feedback-overlay * {
  box-sizing: border-box;
}

.tasj-feedback-widget {
  position: fixed;
  bottom: 28px;
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tasj-feedback-right {
  right: 24px;
}

.tasj-feedback-left {
  left: 24px;
  flex-direction: row-reverse;
}

.tasj-feedback-launcher,
.tasj-feedback-dismiss,
.tasj-feedback-icon-button,
.tasj-feedback-submit {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.tasj-feedback-launcher {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #111827 0%, var(--tasj-feedback-accent) 100%);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.28);
  letter-spacing: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.tasj-feedback-launcher:hover,
.tasj-feedback-launcher:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.34);
  outline: none;
}

.tasj-feedback-spark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: #facc15;
  box-shadow: 0 0 0 6px rgba(250, 204, 21, 0.16);
}

.tasj-feedback-label {
  white-space: nowrap;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

.tasj-feedback-dismiss {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #475569;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
  font-size: 20px;
  line-height: 1;
}

.tasj-feedback-dismiss:hover,
.tasj-feedback-dismiss:focus-visible {
  color: #0f172a;
  outline: 2px solid rgba(15, 118, 110, 0.22);
}

.tasj-feedback-overlay[hidden] {
  display: none;
}

.tasj-feedback-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 24px;
}

.tasj-feedback-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.58);
  backdrop-filter: blur(10px);
}

.tasj-feedback-dialog {
  position: relative;
  width: min(660px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  color: #0f172a;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.98)),
    #ffffff;
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.32);
}

.tasj-feedback-header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 30px 0;
}

.tasj-feedback-kicker {
  margin: 0 0 8px;
  color: var(--tasj-feedback-accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tasj-feedback-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0;
}

.tasj-feedback-icon-button {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: #475569;
  background: #eef2f7;
  font-size: 22px;
  line-height: 1;
}

.tasj-feedback-icon-button:hover,
.tasj-feedback-icon-button:focus-visible {
  color: #0f172a;
  background: #e2e8f0;
  outline: none;
}

.tasj-feedback-intro {
  margin: 14px 30px 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.75;
}

.tasj-feedback-form {
  display: grid;
  gap: 15px;
  padding: 22px 30px 30px;
}

.tasj-feedback-form label {
  display: grid;
  gap: 8px;
  margin: 0;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.tasj-feedback-form input,
.tasj-feedback-form select,
.tasj-feedback-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 12px 13px;
  color: #0f172a;
  background: #ffffff;
  font: inherit;
  font-size: 14px;
  line-height: 1.45;
  min-height: 44px;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.tasj-feedback-form textarea {
  min-height: 134px;
  resize: vertical;
}

.tasj-feedback-form input:focus,
.tasj-feedback-form select:focus,
.tasj-feedback-form textarea:focus {
  border-color: var(--tasj-feedback-accent);
  box-shadow: 0 0 0 4px rgba(15, 118, 110, 0.14);
}

.tasj-feedback-login-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 8px;
  background: #ecfdf5;
  color: #115e59;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.55;
}

.tasj-feedback-login-notice[hidden] {
  display: none;
}

.tasj-feedback-login-notice a {
  flex: 0 0 auto;
  color: #0f766e;
  font-weight: 800;
  text-decoration: none;
}

.tasj-feedback-login-notice a:hover,
.tasj-feedback-login-notice a:focus-visible {
  color: #0f172a;
  outline: none;
}

.tasj-feedback-tutorial {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 8px;
  color: #0f766e;
  background: #f0fdfa;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.tasj-feedback-tutorial[hidden],
.tasj-feedback-secondary-field[hidden] {
  display: none;
}

.tasj-feedback-tutorial:hover,
.tasj-feedback-tutorial:focus-visible {
  color: #0f172a;
  border-color: rgba(15, 118, 110, 0.42);
  outline: none;
}

.tasj-feedback-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.tasj-feedback-fields-one {
  grid-template-columns: 1fr;
}

.tasj-feedback-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.tasj-feedback-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 2px;
}

.tasj-feedback-status {
  min-height: 20px;
  min-width: 0;
  color: #0f766e;
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.tasj-feedback-status.is-error {
  color: #dc2626;
}

.tasj-feedback-submit {
  min-width: 118px;
  min-height: 42px;
  border-radius: 8px;
  color: #ffffff;
  background: #111827;
  font-weight: 800;
  transition: background 140ms ease, transform 140ms ease;
}

.tasj-feedback-submit:hover,
.tasj-feedback-submit:focus-visible {
  background: var(--tasj-feedback-accent);
  transform: translateY(-1px);
  outline: none;
}

.tasj-feedback-submit:disabled {
  cursor: wait;
  opacity: 0.62;
  transform: none;
}

.tasj-feedback-no-scroll {
  overflow: hidden;
  scrollbar-gutter: stable;
}

@media (max-width: 640px) {
  .tasj-feedback-widget {
    right: 14px;
    left: 14px;
    bottom: 16px;
    justify-content: flex-end;
  }

  .tasj-feedback-left {
    justify-content: flex-start;
  }

  .tasj-feedback-launcher {
    min-height: 48px;
    padding: 0 15px;
  }

  .tasj-feedback-dialog {
    max-height: calc(100vh - 24px);
  }

  .tasj-feedback-header {
    padding: 22px 20px 0;
  }

  .tasj-feedback-intro {
    margin-right: 20px;
    margin-left: 20px;
  }

  .tasj-feedback-form {
    padding: 20px;
  }

  .tasj-feedback-fields,
  .tasj-feedback-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .tasj-feedback-login-notice {
    display: grid;
  }

  .tasj-feedback-submit {
    width: 100%;
  }
}
