/* Direct Bid model — overrides + new pieces.
   The bid-info card now holds 2 stats (Deal Price | Commission) instead
   of 3, and a KYC banner sits between the auction card and Trade Info. */

.tm-deal-stats {
  display: flex;
  flex-direction: row;
  gap: 24px;
  padding: 14px 16px 10px;
}
.tm-deal-stats > div {
  flex: 1;
  min-width: 0;
}

/* KYC / verified-merchant banner shown under the Start Exchange button. */
.tm-kyc-banner {
  background-color: var(--accent-color, #3691ff);
  color: #fff;
  border-radius: var(--def-border-radius, 8px);
  padding: 18px 22px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}
.tm-kyc-banner .icon-ton:before {
  /* Recolor the TON triangle to white inside the banner. */
  filter: brightness(0) invert(1);
}
.tm-kyc-banner .tm-amount {
  font-weight: bold;
}

/* Admin dashboard ---------------------------------------------------------- */
.tm-admin-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 16px 60px;
}
.tm-admin-section .tm-section-header {
  display: flex;
  align-items: center;
}
.tm-admin-h2 {
  font-size: 18px;
  font-weight: bold;
  margin: 28px 0 12px;
}
.tm-admin-flash {
  padding: 10px 14px;
  border-radius: 8px;
  margin: 8px 0 16px;
  font-size: 14px;
}
.tm-admin-flash-error {
  background: rgba(226, 92, 92, 0.15);
  color: #e25c5c;
}
.tm-admin-flash-ok {
  background: rgba(90, 236, 140, 0.15);
  color: #5aec8c;
}
.tm-admin-form {
  margin-bottom: 16px;
}
.tm-admin-form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 16px;
}
@media (min-width: 768px) {
  .tm-admin-form-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .tm-admin-form-grid .tm-admin-form-submit {
    grid-column: 1 / -1;
  }
}
.tm-admin-form-submit {
  margin-top: 8px;
}
.tm-admin-radio-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 11px 16px;
  background: var(--field-bg-color);
  border-radius: var(--def-border-radius);
}
.tm-admin-tables {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .tm-admin-tables {
    grid-template-columns: 1fr 1fr;
  }
}
