:root {
  --rta-color-base: #fff;
  --rta-color-primary: #3858e9;
  --rta-color-meta: #666;
  --rta-color-background: #fff;
  --rta-color-surface: #fbfbfc;
  --rta-border-color: #c3c4c7;
  --rta-border-color-soft: #e2e4e7;
  --rta-border-radius: 5px;
  --rta-btn-backround: #3858e9;
  --rta-btn-color: #fff;
  --rta-color-info: #476fdf;
  --rta-color-info-accent: #eff6ff;
  --rta-color-success: #15803d;
  --rta-color-success-accent: #f0fdf4;
  --rta-color-warning: #ff9900;
  --rta-color-warning-accent: #fefce8;
  --rta-color-danger: #c33e3e;
  --rta-color-danger-accent: #fef2f2;
  --rta-component-spacing: clamp(15px, 2vw, 20px);
  --rta-content-compact-size: 600px;
}

.rta {
  margin-right: 20px;
  margin-top: 30px;
}
@media only screen and (max-width: 400px) {
  .rta {
    margin-right: 15px;
  }
}
.rta * {
  box-sizing: border-box;
}
.rta *:after, .rta *:before {
  box-sizing: border-box;
}
.rta > * {
  margin-block-start: var(--rta-component-spacing);
  margin-block-end: 0;
}
.rta > *:first-child {
  margin-block-start: 0;
}

.rta-is-product-layout-compact {
  max-width: 800px;
}

.rta-grids {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-columns-size, 300px), 1fr));
  gap: var(--rta-component-spacing);
}
.rta-grids > * {
  margin: 0;
}

.rta-container {
  display: flex;
  flex-flow: row wrap;
  align-items: start;
  gap: var(--rta-component-spacing);
  max-width: 800px;
  margin: 0 auto;
}
.rta-container > * {
  width: 100%;
}

.rta-is-layout-flow > * {
  margin-block-start: var(--rta-component-spacing);
  margin-block-end: 0;
}
.rta-is-layout-flow > *:first-child {
  margin-block-start: 0;
}

.rta-page-header {
  margin-top: 0;
  margin-bottom: var(--rta-component-spacing);
}
.rta-page-header__description {
  margin-top: 10px;
  margin-bottom: 0;
}

.rta-page-body > * {
  margin-block-start: var(--rta-component-spacing);
  margin-block-end: 0;
}
.rta-page-body > *:first-child {
  margin-block-start: 0;
}

.rta-panel {
  border: 1px solid var(--rta-border-color);
  background-color: var(--rta-color-background);
}
.rta-panel__header {
  padding: 15px;
  font-weight: 500;
  border-bottom: 1px solid var(--rta-border-color-soft);
  background-color: var(--rta-color-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
.rta-panel__title {
  font-size: 16px;
  margin: 0;
}
.rta-panel__body {
  padding: 15px;
}
.rta-panel__footer {
  padding: 15px;
}
.rta-panel p.submit {
  padding: 6px 12px;
  margin: 0;
}

.rta-wizard-info {
  display: flex;
  gap: 40px;
  flex-flow: row wrap;
  align-items: center;
}
@media (max-width: 768px) {
  .rta-wizard-info {
    gap: 20px;
    flex-flow: column-reverse;
  }
}
.rta-wizard-info__content {
  flex: 1;
}
.rta-wizard-info__image {
  flex: 1;
  max-width: 230px;
  padding: 20px;
}

.rta-info {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  padding: 15px;
  gap: 30px;
}
@media (max-width: 768px) {
  .rta-info {
    gap: 20px;
    flex-flow: column;
  }
}
.rta-info__title {
  font-size: clamp(16px, 1.5vw, 18px);
  margin: 0;
}
.rta-info__image {
  flex: 1;
  flex-basis: 120px;
  max-width: 120px;
}
.rta-info__image img {
  width: 100%;
  height: auto;
}
.rta-info__content {
  flex: 1;
}
.rta-info__action {
  margin-top: 15px;
}

.rta-notice {
  display: flex !important;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding: 24px !important;
  margin: 20px 0 20px 0 !important;
  border: 1px solid var(--rta-border-color-soft) !important;
  border-left: 4px solid var(--rta-color-warning) !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}
.rta-notice__logo {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: #f9fafb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.rta-notice__logo img {
  max-width: 100%;
  height: auto;
}
.rta-notice__body {
  flex: 1;
}
.rta-notice__header {
  margin-bottom: 8px;
}
.rta-notice__title {
  font-size: clamp(1.25rem, 4vw, 2rem);
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.2;
}
.rta-notice__content p {
  color: #4b5563;
  font-size: 14px !important;
  line-height: 1.6 !important;
  margin: 0 0 16px 0 !important;
  max-width: 800px;
}
.rta-notice__actions .button-primary {
  background: var(--rta-color-primary) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0 24px !important;
  height: 42px !important;
  line-height: 42px !important;
  font-weight: 500 !important;
  font-size: 14px !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 12px rgba(34, 113, 177, 0.2) !important;
  text-decoration: none !important;
  display: inline-block !important;
}
.rta-notice__actions .button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(34, 113, 177, 0.3) !important;
}
.rta-notice__actions .button-primary:active {
  transform: translateY(0);
}

.rta-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-left: 10px;
  vertical-align: middle;
}

.button-primary.is-loading {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none;
}