
/* Card wrapper */
.ksmtn-onboard-card {
  max-width: 520px;
  margin: 0 auto;
  padding: 32px 32px 28px;
  background: #050e11;
  border-radius: 24px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 255, 167, 0.14);
  color: #f5f7f8;
  box-sizing: border-box;
}

/* Header */
.ksmtn-onboard-header {
  margin-bottom: 22px;
}

.ksmtn-onboard-title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 600;
  color: #19c55f;
}

.ksmtn-onboard-subtitle {
  margin: 0;
  font-size: 0.875rem;
  color: #9db3bb;
}


/* Card body layout – shared across all onboarding cards */
.ksmtn-onboard-body {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Form layout */
.ksmtn-onboard-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Text fields */
.ksmtn-field-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #dfe6ea;
}

.ksmtn-field-group label span {
  color: #ff6b6b;
}

.ksmtn-field-group input[type="text"],
.ksmtn-field-group input[type="email"],
.ksmtn-field-group input[type="password"] {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid #102329;
  background: #07171c;
  color: #f5f7f8;
  outline: none;
  box-sizing: border-box;
}

.ksmtn-field-group input:focus {
  border-color: #22e19b;
  box-shadow: 0 0 0 1px rgba(34, 225, 155, 0.4);
}

/* Checkboxes */
.ksmtn-checkbox-group {
  margin-top: 4px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ksmtn-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
  color: #d4dde0;
  cursor: pointer;
}

.ksmtn-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: #19c55f;
}

.ksmtn-checkbox span {
  line-height: 1.35;
}

/* Button */
.ksmtn-actions {
  margin-top: 10px;
}

.ksmtn-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #08b3ff, #19c55f);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    filter 0.12s ease-out;
}

.ksmtn-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  filter: brightness(1.05);
}

.ksmtn-btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

/* Errors */
.ksmtn-onboard-error {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 89, 100, 0.14);
  border: 1px solid rgba(255, 89, 100, 0.4);
  color: #ffe6e9;
  font-size: 0.85rem;
}

/* Password rules – spaced out for readability */
.ksmtn-password-rules {
  list-style: none;
  padding-left: 0;
  margin: 10px 0 4px;
  font-size: 0.8rem;
  color: #9db3bb;
}

.ksmtn-password-rules li {
  margin-bottom: 6px;
  line-height: 1.4;
}

.ksmtn-password-rules li::before {
  content: "• ";
  color: #6b7f86;
}

.ksmtn-password-rules li.ksmtn-rule-ok {
  color: #19c55f;
}

.ksmtn-password-rules li.ksmtn-rule-ok::before {
  content: "✓ ";
  color: #19c55f;
}

/* Small screens */
@media (max-width: 600px) {
  .ksmtn-onboard-card {
    padding: 24px 18px 22px;
    border-radius: 18px;
  }
}


/* Input height + label spacing tweaks for readability */
.ksmtn-onboard-form .ksmtn-field label {
    display: block;
    margin-bottom: 6px;
}

.ksmtn-onboard-form .ksmtn-field input[type="text"],
.ksmtn-onboard-form .ksmtn-field input[type="email"],
.ksmtn-onboard-form .ksmtn-field input[type="password"],
.ksmtn-onboard-form .ksmtn-field input[type="tel"] {
    min-height: 48px;
    padding: 10px 16px;
    line-height: 1.4;
}

/* Ensure login card width feels like other cards */
.ks-login-form .ksmtn-button-primary {
    margin-top: 8px;
}


/* Terms & Conditions card */
.ksmtn-terms-card .ksmtn-onboard-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ksmtn-terms-content {
  max-height: 260px;
  overflow-y: auto;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgba(4, 22, 28, 0.96);
  border: 1px solid rgba(0, 255, 167, 0.16);
  font-size: 0.86rem;
  line-height: 1.5;
}

.ksmtn-terms-content p {
  margin: 0 0 0.6em;
}

.ksmtn-terms-checkbox {
  margin: 4px 0 16px;
  font-size: 0.86rem;
}

.ksmtn-terms-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ksmtn-terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
}

.ksmtn-onboard-warning {
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 193, 7, 0.08);
  border: 1px solid rgba(255, 193, 7, 0.5);
  font-size: 0.86rem;
}



/* Improve readability of generic onboarding text inside cards */
.ksmtn-onboard-card .ksmtn-onboard-body p {
  margin: 0 0 0.5rem;
  line-height: 1.4;
}

.ksmtn-onboard-card .ksmtn-onboard-body p:last-child {
  margin-top: 0.75rem;
  font-weight: 500;
}

/* Terms & Conditions multi-section layout */
.ksmtn-terms-card .ksmtn-onboard-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ksmtn-terms-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.ksmtn-terms-section {
  padding: 10px 12px 12px;
  border-radius: 16px;
  background: rgba(4, 22, 28, 0.96);
  border: 1px solid rgba(0, 255, 167, 0.16);
}

.ksmtn-terms-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 6px;
  color: #e8fdf8;
}

.ksmtn-terms-content {
  max-height: 170px;
  overflow-y: auto;
  padding-right: 4px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.ksmtn-terms-content p {
  margin: 0 0 0.5rem;
}

.ksmtn-terms-download {
  margin-top: 6px;
  font-size: 0.8rem;
}

.ksmtn-terms-download a {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .ksmtn-terms-sections {
    grid-template-columns: 1fr 1fr;
  }
}


/* Company Info cards (Host / Advertiser) */
.ksmtn-company-card .ksmtn-onboard-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.ksmtn-company-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.ksmtn-company-logo {
  text-align: center;
}

.ksmtn-company-logo-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 160px;
  height: 160px;
  border-radius: 999px;
  background: rgba(4, 22, 28, 0.96);
  border: 1px solid rgba(0, 255, 167, 0.16);
  overflow: hidden;
}

.ksmtn-company-logo-inner img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.ksmtn-company-logo-placeholder {
  font-size: 0.82rem;
  color: #e8fdf8;
  padding: 0 10px;
  text-align: center;
}

.ksmtn-company-logo-form {
  margin-top: 10px;
  font-size: 0.8rem;
}

.ksmtn-company-logo-form input[type="file"] {
  font-size: 0.78rem;
}

.ksmtn-company-details {
  font-size: 0.88rem;
  line-height: 1.45;
}

.ksmtn-company-details dl {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  row-gap: 4px;
  column-gap: 12px;
}

.ksmtn-company-details dt {
  font-weight: 600;
  color: #e8fdf8;
}

.ksmtn-company-details dd {
  margin: 0;
  opacity: 0.9;
}

.ksmtn-company-details dd::before {
  content: "- ";
  opacity: 0.7;
}

.ksmtn-company-details dd {
  margin: 0 0 6px;
}



.ksmtn-company-logo-btn {
  min-width: 0;
  padding: 7px 16px;
  font-size: 0.8rem;
}

.ksmtn-company-actions {
  margin-top: 14px;
}
.ksmtn-company-section-title {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.ksmtn-company-google a {
  text-decoration: underline;
}

@media (min-width: 900px) {
  .ksmtn-company-main {
    grid-template-columns: auto minmax(0, 1.4fr);
    align-items: flex-start;
  }
}

/* Gallery & Video card */
.ksmtn-gallery-card {
  max-width: 960px;
  margin: 0 auto;
}

.ksmtn-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 8px;
}

.ksmtn-gallery-tile {
  background: #020b12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 10px;
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ksmtn-gallery-image img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}

.ksmtn-gallery-empty {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

.ksmtn-gallery-remove-form {
  margin-top: 8px;
}

.ksmtn-gallery-video-label {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 6px;
}

.ksmtn-gallery-video-link {
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  background: #01a9ff;
  color: #ffffff;
  display: inline-block;
}

.ksmtn-gallery-video-placeholder {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.ksmtn-gallery-upload,
.ksmtn-video-dump {
  margin-top: 22px;
}

.ksmtn-gallery-help {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
}

.ksmtn-video-dump-list ul {
  list-style: disc;
  padding-left: 20px;
  margin-top: 8px;
}

.ksmtn-video-dump-list li {
  font-size: 13px;
  margin-bottom: 4px;
}

.ksmtn-video-dump-list a {
  color: #01a9ff;
  text-decoration: none;
}

@media (max-width: 640px) {
  .ksmtn-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}




/* Pricing card layout (shares width with gallery card) */
.ksmtn-pricing-card {
  max-width: 960px;
  margin: 0 auto;
}

.ksmtn-pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  column-gap: 40px;
  row-gap: 24px;
  align-items: flex-start;
}

.ksmtn-pricing-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 12px;
}

.ksmtn-pricing-row.ks-pricing-row-secondary {
  margin-top: 20px;
}

.ksmtn-pricing-tile {
  border-radius: 14px;
  border: 1px solid rgba(0, 255, 167, 0.18);
  background: rgba(7, 22, 26, 0.9);
  padding: 14px 18px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.12s ease-out, background 0.12s ease-out,
    box-shadow 0.12s ease-out, transform 0.12s ease-out;
  font-size: 13px;
  line-height: 1.45;
  height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ksmtn-pricing-tile-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.ksmtn-pricing-tile-subtitle {
  font-size: 12px;
  opacity: 0.9;
}

.ksmtn-pricing-tile--selected {
  border-color: rgba(0, 255, 167, 0.9);
  box-shadow: 0 0 0 1px rgba(0, 255, 167, 0.35);
  transform: translateY(-1px);
}

.ksmtn-pricing-summary {
  padding-top: 8px;
  max-width: 280px;
}

.ksmtn-pricing-summary-title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #19c55f;
}

.ksmtn-pricing-summary-list {
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
  font-size: 13px;
}

.ksmtn-pricing-summary-list li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.ksmtn-pricing-summary-note {
  font-size: 12px;
  opacity: 0.8;
}

.ksmtn-pricing-total {
  margin-top: 22px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.ksmtn-pricing-total-label {
  font-size: 14px;
}

.ksmtn-pricing-total-amount {
  font-size: 26px;
  font-weight: 700;
  color: #19c55f;
}

/* Responsive tweaks */
@media (max-width: 900px) {
  .ksmtn-pricing-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .ksmtn-pricing-summary {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ksmtn-pricing-row {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
}

/* Order summary under pricing button */
.ksmtn-pricing-order-summary {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px solid rgba(0, 255, 167, 0.16);
}

.ksmtn-pricing-order-summary-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px;
}

.ksmtn-pricing-order-summary-body {
  font-size: 13px;
  line-height: 1.5;
}


/* Purchase history card */
.ksmtn-history-card {
  max-width: 960px;
  margin: 0 auto;
}

.ksmtn-history-table-wrap {
  margin-top: 18px;
  overflow-x: auto;
}

.ksmtn-history-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.ksmtn-history-table th,
.ksmtn-history-table td {
  padding: 8px 10px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.5;
}

.ksmtn-history-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Narrow numeric columns and align right for clarity */
.ksmtn-history-table th:nth-child(3),
.ksmtn-history-table td:nth-child(3),
.ksmtn-history-table th:nth-child(4),
.ksmtn-history-table td:nth-child(4) {
  width: 100px;
  text-align: right;
}

.ksmtn-history-table th:nth-child(5),
.ksmtn-history-table td:nth-child(5),
.ksmtn-history-table th:nth-child(6),
.ksmtn-history-table td:nth-child(6) {
  white-space: nowrap;
}

.ksmtn-history-table td:last-child {
  font-weight: 500;
}


/* Make Info + Map cards span full container width */
.ksmtn-onboard-card.ksmtn-company-card,
.ksmtn-onboard-card.ksmtn-map-card {
  max-width: 100%;
  width: 100%;
}


/* Generic header styling for onboard sub-cards (e.g. Slot Status) */
.ksmtn-onboard-card-header {
  margin-bottom: 22px;
}

.ksmtn-onboard-card-title {
  margin: 0 0 6px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #19c55f;
}

.ksmtn-onboard-card-subtitle {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.85;
}

/* Slot Status card – full container width */
.ksmtn-onboard-card.ksmtn-slot-status-card {
  max-width: 100%;
  width: 100%;
}

/* Slight top spacing for the placeholder table */
.ksmtn-slot-status-card .ksmtn-slot-status-placeholder {
  margin-top: 8px;
}


/* Textarea for promo summary */
.ksmtn-field-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid #102329;
  background: #07171c;
  color: #f5f7f8;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  min-height: 120px;
}

.ksmtn-field-group textarea:focus {
  border-color: #22e19b;
  box-shadow: 0 0 0 1px rgba(34, 225, 155, 0.4);
}

/* Promo card layout */
.ksmtn-onboard-card.ksmtn-promo-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-promo-card .ksmtn-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
  margin-top: 12px;
}

.ksmtn-promo-card .ksmtn-promo-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Payment logs card full width */
.ksmtn-onboard-card.ksmtn-payment-card {
  max-width: 100%;
  width: 100%;
}


.ksmtn-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 24px;
  border-radius: 999px;
  border: 1px solid rgba(25, 197, 95, 0.8);
  background: transparent;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out,
    filter 0.12s ease-out;
}

.ksmtn-btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.65);
  filter: brightness(1.05);
}

.ksmtn-btn-secondary:active {
  transform: translateY(0);
  box-shadow: none;
}



/* Payment logs spacing + body text size */
.ksmtn-payment-card .ksmtn-onboard-subtitle {
  margin-top: 8px;
  display: block;
}

.ksmtn-payment-card .ksmtn-onboard-body p {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Textarea for promo summary */
.ksmtn-field-group textarea {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.9rem;
  border-radius: 12px;
  border: 1px solid #102329;
  background: #07171c;
  color: #f5f7f8;
  outline: none;
  box-sizing: border-box;
  resize: vertical;
  min-height: 120px;
}

.ksmtn-field-group textarea:focus {
  border-color: #22e19b;
  box-shadow: 0 0 0 1px rgba(34, 225, 155, 0.4);
}

/* Promo card layout */
.ksmtn-onboard-card.ksmtn-promo-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-promo-card .ksmtn-promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 20px;
  margin-top: 12px;
}

.ksmtn-promo-card .ksmtn-promo-actions {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Payment logs card full width */
.ksmtn-onboard-card.ksmtn-payment-card {
  max-width: 100%;
  width: 100%;
}


/* Gallery tile image wrapper with tick overlay */
.ksmtn-gallery-image-inner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.ksmtn-gallery-image-inner img {
  display: block;
  width: 100%;
  height: auto;
}

.ksmtn-gallery-tick {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #22e19b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: #22e19b;
  background: rgba(0, 0, 0, 0.6);
}

/* Hide big Remove button but keep form functional */
.ksmtn-button-tertiary.ks-hidden-remove {
  display: none;
}

/* Featured video placeholder box text */
.ksmtn-gallery-video-placeholder {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}


/* Featured video tile spanning multiple cells */
.ksmtn-gallery-tile-video-featured {
  grid-column: span 2;
  grid-row: span 2;
}

/* Featured video label + box */

.ksmtn-featured-video {
  margin-top: 8px;
}
.ksmtn-featured-video-label {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffd63d;
  text-align: center;
  margin-bottom: 8px;
}

.ksmtn-featured-video-box {
  border-radius: 16px;
  border: 3px solid #ffd63d;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}


/* Video dump card layout */
.ksmtn-onboard-card.ksmtn-video-dump-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-video-dump-form {
  margin-bottom: 16px;
}

/* Override original list style to use ticks instead of bullets */
.ksmtn-video-dump-list ul {
  list-style: none;
  padding-left: 0;
  margin-top: 8px;
}

.ksmtn-video-dump-list li {
  font-size: 13px;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ksmtn-video-dump-tick {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 2px solid #22e19b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #22e19b;
}

.ksmtn-video-dump-list a {
  color: #01a9ff;
  text-decoration: none;
}


/* Video dump subtitle + help text adjustments */
.ksmtn-video-dump-card .ksmtn-onboard-subtitle {
  margin-top: 8px;
  display: block;
}

.ksmtn-video-dump-card .ksmtn-field-help {
  font-size: 0.8rem;
  opacity: 0.85;
}


/* Fix paragraph layout inside onboarding cards to avoid overlap */
.ksmtn-onboard-card p {
  display: block;
  flex-direction: initial;
  gap: 0;
}

/* Ensure headers have sensible line-height */
.ksmtn-onboard-title,
.ksmtn-onboard-subtitle {
  line-height: 1.4;
}


/* Custom file input layout for video dump */
.ksmtn-file-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: linear-gradient(90deg, #00c3ff, #22e19b);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ksmtn-file-trigger input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.ksmtn-file-button {
  color: #041014;
}

.ksmtn-file-chosen {
  margin-top: 6px;
  font-size: 0.8rem;
  opacity: 0.85;
}


/* Pod summary card */
.ksmtn-onboard-card.ksmtn-pod-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-pod-summary-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 8px;
}

.ksmtn-pod-summary-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  column-gap: 12px;
  align-items: flex-start;
}

.ksmtn-pod-summary-row dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8fdf8;
}

.ksmtn-pod-summary-row dd {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

.ksmtn-pod-summary-row-members dd {
  max-width: 100%;
}

/* Slightly tighter on very small screens */
@media (max-width: 640px) {
  .ksmtn-pod-summary-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
  }
}


/* Slot overview card */
.ksmtn-onboard-card.ksmtn-slot-overview-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-slot-overview-summary {
  margin-bottom: 12px;
}

.ksmtn-slot-overview-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(34, 225, 155, 0.08);
  border: 1px solid rgba(34, 225, 155, 0.6);
  font-size: 0.8rem;
}

.ksmtn-slot-overview-table-wrap {
  margin-top: 4px;
  max-height: 420px;
  overflow: auto;
}

.ksmtn-slot-overview-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.ksmtn-slot-overview-table th,
.ksmtn-slot-overview-table td {
  padding: 6px 8px;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  line-height: 1.4;
}

.ksmtn-slot-overview-table th {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.ksmtn-slot-overview-table tr.ksmtn-slot-empty td {
  opacity: 0.6;
}

.ksmtn-slot-overview-table tr.ksmtn-slot-filled td {
  font-weight: 500;
}


/* Commission payments placeholder card */
.ksmtn-onboard-card.ksmtn-commission-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-commission-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 8px;
}

.ksmtn-commission-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  column-gap: 12px;
  align-items: flex-start;
}

.ksmtn-commission-row dt {
  margin: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e8fdf8;
}

.ksmtn-commission-row dd {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .ksmtn-commission-row {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 2px;
  }
}


/* Auction example cards */
.ksmtn-auction-card {
  max-width: 100%;
  width: 100%;
}

.ksmtn-auction-title {
  color: #22e19b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.95rem;
}

.ksmtn-auction-pod {
  font-size: 0.85rem;
  opacity: 0.85;
}

.ksmtn-auction-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
  gap: 12px;
}

.ksmtn-auction-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.ksmtn-auction-amount {
  font-size: 1.9rem;
  font-weight: 700;
  color: #22e19b;
  white-space: nowrap;
}

.ksmtn-auction-meta {
  margin: 0 0 14px 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 6px;
}

.ksmtn-auction-meta-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
  column-gap: 12px;
  align-items: flex-start;
}

.ksmtn-auction-meta-row dt {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #e8fdf8;
}

.ksmtn-auction-meta-row dd {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
}

.ksmtn-auction-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.ksmtn-auction-btn-bid,
.ksmtn-auction-btn-watch {
  border-radius: 999px;
  padding: 7px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  border: none;
  cursor: pointer;
}

/* Green "Bid now" */
.ksmtn-auction-btn-bid {
  background: linear-gradient(90deg, #16e0a1, #22e19b);
  color: #041014;
}

/* Blue "Watch auction" */
.ksmtn-auction-btn-watch {
  background: #01a9ff;
  color: #041014;
}

/* Bid input row */
.ksmtn-auction-bid-input {
  margin-top: 10px;
  margin-bottom: 4px;
}

.ksmtn-auction-bid-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ksmtn-auction-bid-input-row {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(34, 225, 155, 0.1);
  border-radius: 999px;
  padding: 4px 8px;
}

.ksmtn-auction-currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: #22e19b;
}

.ksmtn-auction-bid-field {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  width: 80px;
}

.ksmtn-auction-bid-field::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 640px) {
  .ksmtn-auction-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ksmtn-auction-meta-row {
    grid-template-columns: minmax(0, 1fr);
  }
}


/* Auction cards – smaller text tuning */
.ksmtn-auction-card {
  font-size: 0.78rem;
}

.ksmtn-auction-title {
  font-size: 0.85rem;
}

.ksmtn-auction-label {
  font-size: 0.75rem;
}

.ksmtn-auction-amount {
  font-size: 1.6rem;
}

.ksmtn-auction-meta-row dt {
  font-size: 0.72rem;
}

.ksmtn-auction-meta-row dd {
  font-size: 0.78rem;
}

.ksmtn-auction-bid-label {
  font-size: 0.75rem;
}

.ksmtn-auction-bid-field {
  font-size: 0.8rem;
}


/* Live Auction example – white card, blue border */
.ksmtn-auction-card-live {
  background: #ffffff;
  border: 3px solid #01a9ff;
  color: #111111;
  width: 100%;
  max-width: 980px;
  margin: 0 auto 24px auto;
}

.ksmtn-auction-card-live .ksmtn-onboard-header {
  padding: 14px 20px 0;
}

.ksmtn-auction-body-live {
  padding: 0 20px 18px;
}

/* Title + pod line */
.ksmtn-auction-card-live .ksmtn-auction-title {
  color: #22e19b;
  font-size: 2.1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ksmtn-auction-card-live .ksmtn-auction-pod {
  font-size: 0.85rem;
  color: #777777;
}

/* Price row */
.ksmtn-auction-price-row-live {
  margin-top: 10px;
  margin-bottom: 10px;
}

.ksmtn-auction-card-live .ksmtn-auction-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
}

.ksmtn-auction-card-live .ksmtn-auction-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #000000;
}

.ksmtn-auction-amount-wrapper {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}

.ksmtn-auction-amount-currency {
  font-size: 1.1rem;
  font-weight: 700;
  color: #22e19b;
}

.ksmtn-auction-card-live .ksmtn-auction-amount {
  font-size: 2.1rem;
  font-weight: 800;
  color: #22e19b;
}

/* Meta rows */
.ksmtn-auction-meta-live .ksmtn-auction-meta-row dt {
  font-size: 0.75rem;
  color: #555555;
}

.ksmtn-auction-meta-live .ksmtn-auction-meta-row dd {
  font-size: 0.8rem;
  color: #111111;
}

/* MAX bid row */
.ksmtn-auction-bid-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ksmtn-auction-max-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #000000;
}

.ksmtn-auction-max-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 6px;
  border-radius: 6px;
  border: 2px solid #ffd500; /* yellow border */
  background: #ffffff;
}

.ksmtn-auction-max-input-wrap .ksmtn-auction-currency {
  font-size: 0.9rem;
  font-weight: 600;
  color: #111111;
}

.ksmtn-auction-bid-field-max {
  border: none;
  outline: none;
  background: transparent;
  color: #111111;
  font-size: 0.9rem;
  width: 70px;
}

.ksmtn-auction-bid-field-max::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

.ksmtn-auction-increments-text {
  font-size: 0.8rem;
  color: #555555;
}

/* Actions */
.ksmtn-auction-actions-live {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ksmtn-auction-btn-place-max {
  background: linear-gradient(90deg, #16e0a1, #22e19b);
  color: #041014;
  padding: 8px 22px;
  font-size: 0.85rem;
}

/* Keep watch button blue as before */
.ksmtn-auction-card-live .ksmtn-auction-btn-watch {
  background: #01a9ff;
  color: #041014;
}

@media (max-width: 640px) {
  .ksmtn-auction-card-live .ksmtn-auction-price-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .ksmtn-auction-bid-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* Live auction bid row layout tweak */
.ksmtn-auction-bid-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.ksmtn-auction-bid-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.ksmtn-auction-increments-text {
  font-size: 0.8rem;
  color: #555555;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .ksmtn-auction-bid-inner {
    flex-direction: row;
    flex-wrap: wrap;
  }
}


/* Live auction layout for desktop: left stats, right price+bid, center divider */
.ksmtn-auction-layout-live {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 1px minmax(0, 1.6fr);
  column-gap: 24px;
  align-items: center;
}

.ksmtn-auction-col-left {
  align-self: stretch;
}

.ksmtn-auction-col-right {
  align-self: stretch;
}

.ksmtn-auction-divider-live {
  width: 1px;
  background: rgba(0, 0, 0, 0.12);
  height: 80%;
  margin: 0 auto;
}

/* Price area on the right */
.ksmtn-auction-price-row-live {
  margin: 0 0 10px 0;
}

.ksmtn-auction-price-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.ksmtn-auction-price-label-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2px;
}

.ksmtn-auction-card-live .ksmtn-auction-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: #000000;
}

/* Watch button next to price */
.ksmtn-auction-card-live .ksmtn-auction-btn-watch {
  background: #01a9ff;
  color: #041014;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  border: none;
}

/* Responsive: stack columns on small screens */
@media (max-width: 768px) {
  .ksmtn-auction-layout-live {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 12px;
  }

  .ksmtn-auction-divider-live {
    display: none;
  }

  .ksmtn-auction-price-label-wrap,
  .ksmtn-auction-price-main {
    justify-content: flex-start;
  }
}
