.x1j-hero,
.x1j-panel {
  box-sizing: border-box;
  max-width: 1040px;
  margin: 0 auto 18px;
  border-radius: 12px;
  --x1j-accent: #f4c33c;
  --x1j-dark: #0c0e12;
  --x1j-dark-soft: #161a22;
  --x1j-light: #f6f6f3;
}

.x1j-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 56px 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.84), rgba(0, 0, 0, 0.42)),
    linear-gradient(148deg, #090b0f, #1a202a 58%, #2b2a24);
}

.x1j-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 78% 26%, rgba(255, 210, 90, 0.2), transparent 38%);
  pointer-events: none;
}

.x1j-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.x1j-kicker {
  margin: 0;
  color: #ffd86c;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.x1j-hero h2 {
  margin: 8px 0 12px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  color: #fff;
}

.x1j-hero p {
  margin: 0;
  color: #edf1f8;
}

.x1j-panel {
  padding: 24px;
  border: 1px solid rgba(9, 12, 16, 0.08);
}

.x1j-panel h3 {
  margin: 0 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--x1j-accent);
  font-size: 22px;
  line-height: 1.35;
}

.x1j-cycle-banner p {
  margin: 0 0 8px;
}

.x1j-cycle-banner strong {
  color: var(--x1j-accent);
}

.x1j-panel--light {
  background: var(--x1j-light);
  border: 1px solid rgba(10, 12, 16, 0.08);
  color: #101112;
}

.x1j-panel--dark {
  color: #f8f8f8;
  background:
    linear-gradient(155deg, #0b0d12, #151a23 60%, #1d1a16);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.x1j-panel--dark h3 {
  color: #fff;
}

.x1j-panel ul {
  margin: 0;
  padding-left: 20px;
}

.x1j-panel li {
  margin: 0 0 6px;
}

.x1j-cta-box {
  text-align: left;
}

.x1j-cta-message {
  margin: 4px 0 12px;
  color: #e3ebff;
}

.x1j-cta-button {
  display: inline-flex;
}

.x1j-schedule-panel {
  position: relative;
  overflow-x: auto;
  border: 1px solid rgba(10, 16, 28, 0.12);
  background:
    radial-gradient(circle at top right, rgba(249, 204, 82, 0.22), transparent 44%),
    linear-gradient(170deg, #f8f8f6, #efefe9 60%, #ecebe3);
  box-shadow: 0 10px 24px rgba(10, 12, 16, 0.08);
}

.x1j-schedule-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  overflow: hidden;
}

.x1j-schedule-table th,
.x1j-schedule-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  white-space: nowrap;
}

.x1j-schedule-table th {
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: linear-gradient(180deg, #171a22, #101319);
  color: #f5f6f8;
}

.x1j-schedule-table tbody tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

.x1j-schedule-table td:nth-child(1),
.x1j-schedule-table td:nth-child(2) {
  font-weight: 700;
}

.x1j-schedule-table tr.is-current td {
  background: rgba(248, 198, 71, 0.22) !important;
  color: #1b1610;
}

.x1j-schedule-table tr.is-current td:first-child {
  box-shadow: inset 3px 0 0 #f1bb3b;
}

.x1j-auth-grid,
.x1j-form-grid {
  display: grid;
  gap: 12px;
}

.x1j-auth-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
}

.x1j-auth-actions {
  display: grid;
  gap: 8px;
}

.x1j-form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.x1j-panel label {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}

.x1j-panel input,
.x1j-panel textarea,
.x1j-panel button {
  font: inherit;
}

.x1j-panel input,
.x1j-panel textarea {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  padding: 10px 12px;
  color: inherit;
  background: rgba(255, 255, 255, 0.08);
}

.x1j-panel input::placeholder,
.x1j-panel textarea::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.x1j-panel--light input,
.x1j-panel--light textarea {
  border: 1px solid rgba(0, 0, 0, 0.16);
  background: #fff;
}

.x1j-panel--light input::placeholder,
.x1j-panel--light textarea::placeholder {
  color: rgba(0, 0, 0, 0.36);
}

.x1j-panel textarea {
  resize: vertical;
}

.x1j-fee-box {
  margin: 14px 0;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid rgba(244, 195, 60, 0.7);
  background: rgba(244, 195, 60, 0.12);
}

.x1j-fee-box p {
  margin: 3px 0;
}

.x1j-fee-box small {
  color: rgba(0, 0, 0, 0.74);
}

.x1j-panel--dark .x1j-fee-box {
  background: rgba(244, 195, 60, 0.16);
}

.x1j-panel--dark .x1j-fee-box small {
  color: rgba(255, 255, 255, 0.82);
}

.x1j-consent {
  display: grid;
  gap: 8px;
  margin: 14px 0;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #fff;
}

.x1j-consent label {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 8px;
  font-weight: 500;
}

.x1j-consent a {
  color: #0f4f9f;
  text-decoration: underline;
}

.x1j-consent input[type="checkbox"] {
  margin-top: 4px;
}

.x1j-btn {
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

.x1j-btn:hover {
  transform: translateY(-1px);
}

.x1j-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.x1j-btn--primary {
  color: #1f1a0a;
  background: linear-gradient(180deg, #ffd96e, #efba37);
}

.x1j-btn--sub {
  color: #111;
  background: #f8f8f8;
}

.x1j-btn--ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.1);
}

.x1j-status {
  margin-top: 10px;
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.75);
}

.x1j-panel--light .x1j-status {
  color: rgba(0, 0, 0, 0.68);
}

.x1j-status.is-error {
  color: #d63333;
}

.x1j-status.is-success {
  color: #2f8b58;
}

@media (max-width: 900px) {
  .x1j-auth-grid,
  .x1j-form-grid {
    grid-template-columns: 1fr;
  }

  .x1j-hero,
  .x1j-panel {
    margin-left: 8px;
    margin-right: 8px;
  }

  .x1j-hero {
    padding: 30px 16px;
  }
}
