.shiz-tax-key-page,
.shiz-tax-key-page * {
  box-sizing: border-box;
}

.shiz-tax-key-page {
  direction: rtl;
  width: 100vw;
  max-width: 100vw;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  background: linear-gradient(180deg, #f4f8ff 0%, #eef5ff 48%, #f6faff 100%);
  color: var(--shiz-text);
}

.shiz-tax-key-hero {
  position: relative;
  width: min(1580px, calc(100vw - 32px));
  margin-right: auto;
  margin-left: auto;
  padding: 86px 24px 62px;
  margin-bottom: 42px;
  border-radius: 28px;
  overflow: hidden;
  background: radial-gradient(circle at 84% 18%, rgba(51, 224, 255, 0.22), transparent 30%), radial-gradient(circle at 12% 82%, rgba(17, 70, 255, 0.15), transparent 34%), linear-gradient(135deg, #061a3a 0%, #0a2d5e 52%, #0b3f78 100%);
  color: #ffffff;
  isolation: isolate;
}

.shiz-tax-key-hero::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), transparent 45%);
  pointer-events: none;
  z-index: -1;
}

.shiz-tax-key-container {
  width: min(1320px, calc(100vw - 40px));
  margin: 0 auto;
}

.shiz-tax-key-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  gap: 34px;
  align-items: center;
}

.shiz-tax-key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 36px;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.8;
  margin-bottom: 18px;
}

.shiz-tax-key-hero h1 {
  color: #ffffff;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 950;
  line-height: 1.55;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}

.shiz-tax-key-hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 2.05;
  margin: 0 0 28px;
  max-width: 760px;
}

.shiz-tax-key-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.shiz-tax-key-generate {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--shiz-cyan), #ffffff);
  color: #061a3a;
  font-family: inherit;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.8;
  cursor: pointer;
  box-shadow: 0 18px 42px rgba(51, 224, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.shiz-tax-key-generate:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 54px rgba(51, 224, 255, 0.28);
}

.shiz-tax-key-generate:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.shiz-tax-key-note {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13.5px;
  line-height: 1.9;
}

.shiz-tax-key-visual {
  position: relative;
  min-height: 320px;
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.shiz-tax-key-visual::before,
.shiz-tax-key-visual::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: rgba(51, 224, 255, 0.18);
  filter: blur(2px);
}

.shiz-tax-key-visual::before {
  width: 180px;
  height: 180px;
  right: 34px;
  top: 34px;
}

.shiz-tax-key-visual::after {
  width: 230px;
  height: 230px;
  left: -70px;
  bottom: -70px;
}

.shiz-tax-key-visual-card {
  position: absolute;
  inset: 38px;
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--shiz-dark);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
  z-index: 1;
}

.shiz-tax-key-lock {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--shiz-blue), var(--shiz-cyan));
  color: #ffffff;
  font-size: 30px;
  box-shadow: 0 18px 38px rgba(17, 70, 255, 0.26);
}

.shiz-tax-key-visual-card strong {
  color: var(--shiz-dark);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.7;
}

.shiz-tax-key-visual-card span {
  color: var(--shiz-muted);
  font-size: 14px;
  line-height: 2;
}

.shiz-tax-key-content {
  padding: 0 0 74px;
}

.shiz-tax-key-panel {
  position: relative;
  margin-top: 0;
  padding: clamp(18px, 2.35vw, 30px);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(16, 36, 63, 0.09);
  box-shadow: 0 22px 68px rgba(16, 36, 63, 0.12);
  overflow: hidden;
}

.shiz-tax-key-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 90% 10%, rgba(51, 224, 255, 0.13), transparent 30%), radial-gradient(circle at 8% 86%, rgba(17, 70, 255, 0.09), transparent 34%);
  pointer-events: none;
}

.shiz-tax-key-panel > * {
  position: relative;
  z-index: 1;
}

.shiz-tax-key-status {
  display: none;
  margin: 0 0 16px;
  padding: 11px 16px;
  border-radius: 16px;
  font-size: 13.2px;
  font-weight: 850;
  line-height: 1.9;
}

.shiz-tax-key-status.is-visible {
  display: block;
}

.shiz-tax-key-status.is-success {
  background: rgba(31, 191, 117, 0.1);
  color: #0f7a49;
  border: 1px solid rgba(31, 191, 117, 0.18);
}

.shiz-tax-key-status.is-error {
  background: rgba(230, 57, 70, 0.1);
  color: #b4232f;
  border: 1px solid rgba(230, 57, 70, 0.18);
}

.shiz-tax-key-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.shiz-tax-key-box {
  position: relative;
  display: grid;
  gap: 11px;
  min-width: 0;
}

.shiz-tax-key-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 36px;
}

.shiz-tax-key-box-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shiz-dark);
  font-size: 14.5px;
  font-weight: 950;
  line-height: 1.8;
}

.shiz-tax-key-box-title span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--shiz-blue), var(--shiz-cyan));
  color: #ffffff;
  font-size: 15px;
  box-shadow: 0 12px 26px rgba(17, 70, 255, 0.2);
}

.shiz-tax-key-copy {
  position: relative;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 70, 255, 0.18);
  border-radius: 12px;
  background: #ffffff;
  color: var(--shiz-blue);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(16, 36, 63, 0.1);
  transition: transform 0.22s ease, background 0.22s ease, color 0.22s ease, opacity 0.22s ease, border-color 0.22s ease;
}

.shiz-tax-key-copy svg {
  display: none;
}

.shiz-tax-key-copy::before,
.shiz-tax-key-copy::after {
  content: "";
  position: absolute;
  width: 13px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: transparent;
}

.shiz-tax-key-copy::before {
  right: 9px;
  top: 8px;
  opacity: 0.58;
}

.shiz-tax-key-copy::after {
  right: 13px;
  top: 12px;
  background: #ffffff;
  transition: background 0.22s ease;
}

.shiz-tax-key-copy:hover {
  transform: translateY(-2px);
  background: var(--shiz-blue);
  color: #ffffff;
  border-color: transparent;
}

.shiz-tax-key-copy:hover::after {
  background: var(--shiz-blue);
}

.shiz-tax-key-copy:disabled {
  cursor: not-allowed;
  opacity: 0.72;
  transform: none;
}

.shiz-tax-key-code {
  direction: ltr;
  text-align: left;
  width: 100%;
  min-height: 300px;
  max-height: 430px;
  margin: 0;
  padding: 16px 18px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  border-radius: 22px;
  border: 1px solid rgba(16, 36, 63, 0.1);
  background: #07172e;
  color: #eaf6ff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 11.8px;
  line-height: 1.68;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), 0 18px 48px rgba(16, 36, 63, 0.1);
}

.shiz-tax-key-code.is-empty {
  color: rgba(234, 246, 255, 0.58);
}

.shiz-tax-key-loader {
  display: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(6, 26, 58, 0.25);
  border-top-color: #061a3a;
  animation: shizTaxKeySpin 0.8s linear infinite;
}

.shiz-tax-key-generate.is-loading .shiz-tax-key-loader {
  display: inline-flex;
}

@keyframes shizTaxKeySpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1024px) {
  .shiz-tax-key-hero-grid,
  .shiz-tax-key-grid {
    grid-template-columns: 1fr;
  }

  .shiz-tax-key-visual {
    min-height: 280px;
  }
}

@media (max-width: 767px) {
  .shiz-tax-key-container {
    width: min(100%, calc(100vw - 28px));
  }

  .shiz-tax-key-hero {
    width: min(100%, calc(100vw - 20px));
    padding: 58px 14px 48px;
    margin-bottom: 30px;
    border-radius: 22px;
  }

  .shiz-tax-key-hero::before {
    inset: 12px;
    border-radius: 24px;
  }

  .shiz-tax-key-hero h1 {
    font-size: 27px;
    line-height: 1.55;
  }

  .shiz-tax-key-hero p {
    font-size: 14px;
    line-height: 2;
  }

  .shiz-tax-key-content {
    padding-top: 0;
  }

  .shiz-tax-key-panel {
    margin-top: 0;
    border-radius: 24px;
    padding: 16px;
  }

  .shiz-tax-key-code {
    min-height: 260px;
    font-size: 11px;
    border-radius: 18px;
  }

  .shiz-tax-key-box-head {
    align-items: flex-start;
  }

  .shiz-tax-key-note {
    width: 100%;
  }
}
