/* Keep the login composition focused on the card brand and the showcase copy. */
.auth-showcase > .auth-brand {
  display: none !important;
}

@media (min-width: 981px) {
  .auth-showcase {
    justify-content: center !important;
    padding: 0 0 18px !important;
  }

  .showcase-copy {
    max-width: 720px !important;
    margin: 0 !important;
    transform: none !important;
  }

  .showcase-pill {
    min-height: 42px !important;
    padding: 0 18px !important;
    font-size: 15px !important;
  }

  .showcase-title {
    margin: 30px 0 24px !important;
    font-size: clamp(52px, 5vw, 78px) !important;
    line-height: 1.04 !important;
  }

  .showcase-description {
    max-width: 620px !important;
    font-size: 18px !important;
    line-height: 1.65 !important;
  }

  .showcase-points {
    gap: 12px !important;
    margin-top: 30px !important;
  }

  .showcase-points span {
    padding: 10px 0 !important;
    font-size: 16px !important;
  }
}

@media (max-width: 980px) {
  .auth-showcase {
    min-height: 64px !important;
    padding: 0 !important;
  }

  .auth-showcase .showcase-copy {
    display: none !important;
  }

  .showcase-copy {
    padding-top: 24px !important;
  }
}

/* Keep login values readable in both light autofill fields and the dark form theme. */
.auth-page .n-input__input-el,
.auth-page .n-input__textarea-el {
  color: #f8fafc !important;
  caret-color: #ff9a4a !important;
  -webkit-text-fill-color: #f8fafc !important;
}

.auth-page .n-input__input-el:-webkit-autofill,
.auth-page .n-input__input-el:-webkit-autofill:hover,
.auth-page .n-input__input-el:-webkit-autofill:focus {
  -webkit-text-fill-color: #11131a !important;
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  caret-color: #11131a !important;
}

.auth-page .n-input__input-el::placeholder,
.auth-page .n-input__textarea-el::placeholder {
  color: #667085 !important;
  -webkit-text-fill-color: #667085 !important;
}

/* Normalize every login/register field so values stay readable in every state. */
.auth-page .n-input,
.auth-page .n-input-wrapper,
.auth-page .n-input__input-el,
.auth-page .n-input__textarea-el {
  --n-color: #15171f !important;
  --n-color-focus: #1b1e28 !important;
  --n-color-hover: #1b1e28 !important;
  background-color: #15171f !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc !important;
}

.auth-page .n-input__input-el:-webkit-autofill,
.auth-page .n-input__input-el:-webkit-autofill:hover,
.auth-page .n-input__input-el:-webkit-autofill:focus {
  -webkit-text-fill-color: #f8fafc !important;
  -webkit-box-shadow: 0 0 0 1000px #15171f inset !important;
  caret-color: #ff9a4a !important;
}

/* Keep the long legal dialogs scrollable without showing a native scrollbar. */
.info-dialog .legal-content {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.info-dialog .legal-content::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

/* The dialog itself owns the overflow in the source app, so hide its native rail too. */
.info-dialog {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.info-dialog::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.combeat-section-toggle,
.combeat-price-suggest {
  margin-left: 12px;
  border: 1px solid rgba(255, 154, 74, 0.35);
  border-radius: 7px;
  background: rgba(255, 154, 74, 0.1);
  color: #ffd0a5;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.combeat-section-toggle:hover,
.combeat-price-suggest:hover { background: rgba(255, 154, 74, 0.2); }
.combeat-price-suggest-status {
  display: inline-block;
  margin-left: 10px;
  color: #9ca6b7;
  font-size: 12px;
}
.combeat-price-reset {
  margin-left: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 7px;
  background: transparent;
  color: #cbd5e1;
  padding: 5px 10px;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.combeat-price-reset:hover { border-color: rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.06); }
.combeat-import-price-tools {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 12px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 154, 74, 0.2);
  border-radius: 8px;
  background: rgba(255, 154, 74, 0.05);
  color: #aeb8c8;
  font-size: 12px;
}
.combeat-import-price-tools > span { flex: 1 1 260px; }
.combeat-provider-label,
.combeat-provider-summary {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin: 0 8px 4px 0;
  padding: 2px 7px;
  border: 1px solid rgba(255, 154, 74, 0.28);
  border-radius: 5px;
  background: rgba(255, 154, 74, 0.09);
  color: #f6bd86;
  font-size: 11px;
  line-height: 1.35;
}
.combeat-provider-summary { display: block; margin: 6px 0 0; width: fit-content; }
.combeat-provider-option {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 154, 74, 0.1);
  color: #f6bd86;
  font-size: 10px;
  line-height: 1.35;
}
.combeat-provider-group-row td { border-top: 2px solid rgba(255, 154, 74, 0.28) !important; }
.combeat-provider-group-row .combeat-provider-label { vertical-align: middle; }
.combeat-provider-section-header td {
  padding: 10px 14px !important;
  border-top: 2px solid rgba(255, 154, 74, 0.32) !important;
  background: rgba(255, 154, 74, 0.06) !important;
}
.combeat-provider-section-name {
  display: inline-block;
  min-width: 150px;
  color: #f6bd86;
  font-weight: 700;
}
.combeat-provider-section-toggle {
  border: 0;
  background: transparent;
  color: #cbd5e1;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.combeat-provider-section-toggle:hover { color: #fff; }
.combeat-provider-section-header:not(.is-open) + tr { border-top: 0 !important; }
.combeat-section-collapsed .n-data-table,
.combeat-section-collapsed .billing-note { display: none !important; }
.combeat-cache-rule-hint { display: block; margin-top: 4px; color: #9ca6b7; font-size: 11px; }
.combeat-provider-group-start td { border-top: 2px solid rgba(255, 154, 74, 0.28) !important; }

.legal-actions {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transition: opacity 0.18s ease;
}

.legal-actions.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.legal-action {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 9px;
  font: inherit;
  font-size: 14px;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease;
}

.legal-action-reject {
  color: #cbd5e1;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.legal-action-reject:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.06);
}

.legal-action-agree {
  color: #11131a;
  background: #f7f8fb;
  border: 1px solid #f7f8fb;
}

.legal-action-agree:hover {
  background: #fff;
  border-color: #fff;
}

@media (max-width: 560px) {
  .legal-actions {
    justify-content: stretch;
  }

  .legal-action {
    flex: 1;
  }
}
