﻿#create-subscription-price-info-form > ul.clean > li > input:not([type=hidden]):not([type=checkbox]):not([type=radio]),
#create-subscription-price-info-form > ul.clean > li > textarea,
#create-subscription-price-info-form > ul.clean > li > select,
#create-subscription-price-info-form > ul.clean > li > .iti {
  margin: 0 0 12px;
}
#create-subscription-price-info-form > ul.clean > li > br {
  display: none;
}
#create-subscription-price-info-form > ul.clean > li > .iti {
  width: 100%;
}
#create-subscription-price-info-form > ul.clean > li > .iti input#phonenumber-textbox {
  margin: 0;
  padding-left: 52px !important;
}

#create-subscription-price-info-form select#subscription-months {
  width: 100px;
  min-width: 100px;
}

#stripe-button.ax-create-subscription-submit {
  background-image: none !important;
}

.ax-reseller-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 12px 16px 40px;
  color: #07142f;
}
.ax-reseller-page * {
  box-sizing: border-box;
}
.ax-reseller-page .form-group {
  margin-bottom: 16px;
}
.ax-reseller-page label {
  color: #344054;
  font-size: 0.86rem;
  font-weight: 700;
}
.ax-reseller-page .form-control {
  min-height: 42px;
  border-color: #d0d7e2;
  border-radius: 7px;
  box-shadow: none;
}
.ax-reseller-page .form-control:focus {
  border-color: #3f7d2b;
  box-shadow: 0 0 0 3px rgba(63, 125, 43, 0.14);
}
.ax-reseller-page textarea.form-control {
  min-height: 96px;
  resize: vertical;
}
.ax-reseller-page .alert-box {
  border-radius: 8px;
}

.ax-reseller-alert {
  margin-bottom: 16px;
}

.ax-reseller-alert.large {
  margin-bottom: 24px;
}

.ax-reseller-alert.flush {
  margin: 0;
}

.ax-reseller-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
  padding: 22px 24px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ax-reseller-kicker {
  margin: 0 0 6px;
  color: #3f7d2b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ax-reseller-title {
  margin: 0;
  color: #07142f;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.15;
}

.ax-reseller-subtitle {
  max-width: 760px;
  margin: 8px 0 0;
  color: #526070;
  line-height: 1.5;
}

.ax-reseller-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  min-width: fit-content;
}

.ax-reseller-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ax-reseller-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ax-reseller-grid + .ax-reseller-card,
.ax-reseller-card + .ax-reseller-card,
.ax-reseller-card + .ax-reseller-grid,
.ax-reseller-section {
  margin-top: 22px;
}

.ax-reseller-card {
  overflow: hidden;
  padding: 18px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.ax-reseller-card.flush {
  padding: 0;
}

.ax-reseller-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}

.ax-reseller-card-title {
  margin: 0;
  color: #07142f;
  font-size: 1.1rem;
  font-weight: 800;
}

.ax-reseller-card-subtitle {
  margin: 6px 0 0;
  color: #667085;
  font-size: 0.92rem;
  line-height: 1.45;
}

.ax-reseller-muted {
  color: #667085;
  line-height: 1.5;
}

.ax-reseller-metric {
  margin: 12px 0 2px;
  color: #07142f;
  font-size: 2rem;
  font-weight: 800;
}

.ax-reseller-metric span {
  color: #667085;
  font-size: 1rem;
  font-weight: 600;
}

.ax-reseller-code {
  display: inline-flex;
  max-width: 100%;
  padding: 14px 18px;
  border: 2px dashed #3f7d2b;
  border-radius: 8px;
  background: #edf7eb;
  color: #2f641f;
  font-family: monospace;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  word-break: break-all;
}

.ax-reseller-copy {
  padding: 18px 10px 10px;
  text-align: center;
}

.ax-reseller-copy-feedback {
  display: none;
  margin-top: 8px;
  color: #3f7d2b;
  font-size: 0.86rem;
  font-weight: 700;
}

.ax-reseller-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.ax-reseller-toolbar.tight {
  margin-bottom: 10px;
}

.ax-reseller-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ax-reseller-filter a.active, .ax-reseller-filter a:hover {
  text-decoration: underline;
}

.ax-reseller-search {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ax-reseller-search .form-control {
  width: min(280px, 52vw);
}

.ax-reseller-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ax-reseller-form-wide {
  grid-column: 1/-1;
}

.ax-reseller-table-wrap {
  overflow-x: auto;
  margin: 0 -18px -18px;
}

.ax-reseller-table {
  width: 100%;
  border-collapse: collapse;
}

.ax-reseller-table th,
.ax-reseller-table td {
  padding: 12px;
  border-bottom: 1px solid #edf0f3;
  text-align: left;
  vertical-align: middle;
}

.ax-reseller-table th {
  background: #f8fafc;
  color: #475467;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ax-reseller-table tbody tr:hover {
  background: #fbfdf9;
}

.ax-reseller-table tr:last-child td {
  border-bottom: 0;
}

.ax-reseller-row-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.ax-reseller-table-actions-cell {
  text-align: right;
}

.ax-reseller-table-label-cell {
  width: 140px;
}

.ax-reseller-note.spaced {
  margin-top: 16px;
}

.ax-reseller-prewrap {
  margin-top: 6px;
  white-space: pre-wrap;
}

.ax-reseller-section-spaced {
  margin-top: 24px;
}

.ax-reseller-status-badge {
  padding: 6px 14px;
  font-size: 0.9rem;
}

.ax-reseller-id {
  color: #667085;
  font-family: monospace;
  font-size: 0.86rem;
}

.ax-reseller-status-card {
  border-left: 4px solid #3f7d2b;
}

.ax-reseller-status-card.warning {
  border-left-color: #f0b429;
}

.ax-reseller-status-card.danger {
  border-left-color: #c23b32;
}

.ax-reseller-progress {
  overflow: hidden;
  height: 9px;
  border-radius: 999px;
  background: #e9eef4;
}

.ax-reseller-progress-fill {
  height: 100%;
  border-radius: inherit;
  background: #3f7d2b;
}

.ax-reseller-progress-fill.warning {
  background: #f0b429;
}

.ax-reseller-progress-fill.danger {
  background: #c23b32;
}

.ax-reseller-action-list {
  display: grid;
  gap: 10px;
}

.ax-reseller-action-item,
.ax-reseller-role-tile {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border: 1px solid #e4e9f0;
  border-radius: 8px;
  background: #fbfcfd;
  color: #07142f;
  text-decoration: none;
}

.ax-reseller-action-item:hover {
  border-color: #b9d7ae;
  background: #f5fbf2;
  color: #07142f;
  text-decoration: none;
}

.ax-reseller-action-item.active {
  border-color: #3f7d2b;
  background: #f5fbf2;
}

.ax-reseller-icon {
  display: inline-grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #edf7eb;
  color: #3f7d2b;
}

.ax-reseller-action-title,
.ax-reseller-role-title {
  margin: 0;
  font-weight: 800;
}

.ax-reseller-action-desc,
.ax-reseller-role-desc {
  margin: 4px 0 0;
  color: #667085;
  font-size: 0.9rem;
  line-height: 1.4;
}

.ax-reseller-note {
  padding: 14px;
  border: 1px solid #dfe5ec;
  border-radius: 8px;
  background: #f8fafc;
  color: #526070;
  line-height: 1.5;
}

.ax-reseller-note p:last-child,
.ax-reseller-card p:last-child {
  margin-bottom: 0;
}

.ax-reseller-empty {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
  color: #667085;
}

.ax-reseller-empty-title {
  margin: 8px 0 4px;
  color: #07142f;
  font-weight: 800;
}

.ax-reseller-empty-desc {
  margin: 0;
  color: #667085;
}

@media (max-width: 900px) {
  .ax-reseller-header,
  .ax-reseller-grid,
  .ax-reseller-grid.two,
  .ax-reseller-form-grid {
    grid-template-columns: 1fr;
  }
  .ax-reseller-header {
    display: block;
    padding: 18px;
  }
  .ax-reseller-actions {
    justify-content: flex-start;
    margin-top: 14px;
  }
  .ax-reseller-toolbar,
  .ax-reseller-search {
    align-items: stretch;
    flex-direction: column;
  }
  .ax-reseller-search .form-control {
    width: 100%;
  }
}
/* Admin application review: scoped to the details page. */
.ax-admin-review .ax-reseller-header {
  align-items: center;
}

.ax-admin-review .ax-reseller-card {
  padding: 24px;
  border-radius: 12px;
}

.ax-admin-review .ax-reseller-card-header {
  display: block;
  margin-bottom: 22px;
}

.ax-admin-review .ax-reseller-card-title {
  font-size: 1.15rem;
  line-height: 1.4;
}

.ax-admin-review .ax-reseller-card-subtitle {
  overflow-wrap: anywhere;
}

.ax-admin-review .ax-reseller-actions {
  align-items: center;
}

.ax-admin-review .ax-reseller-actions .button {
  margin: 0;
  white-space: nowrap;
}

.ax-admin-review .ax-reseller-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.ax-admin-review .ax-reseller-status-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  background: currentColor;
  border-radius: 50%;
}

.ax-admin-review .ax-reseller-status-badge.warning {
  background: #fff5df;
  color: #865b0b;
}

.ax-admin-review .ax-reseller-status-badge.success {
  background: #eaf4e5;
  color: #356728;
}

.ax-admin-review .ax-reseller-status-badge.danger {
  background: #fceceb;
  color: #b3322b;
}

.ax-admin-review .ax-review-section-label {
  color: #55704c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

.ax-admin-review .ax-review-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
  margin: 0 0 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid #e9ede7;
}

.ax-admin-review .ax-review-fields dt {
  color: #718070;
  font-size: 12px;
  font-weight: 400;
  margin: 0 0 5px;
}

.ax-admin-review .ax-review-fields dd {
  color: #1e3025;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  overflow-wrap: anywhere;
}

.ax-admin-review .ax-review-fields a {
  color: #3f7d2b;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ax-admin-review .ax-reseller-status-card {
  border-left: 3px solid #6a9f4d;
}

.ax-admin-review .ax-reseller-status-card.danger {
  border-left-color: #cf625b;
}

.ax-admin-review .ax-review-discount-fields,
.ax-admin-review .ax-review-discount-fields tbody {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  margin: 0;
}

.ax-admin-review .ax-review-discount-fields tr {
  display: block;
  background: transparent;
  margin: 0 0 16px;
}

.ax-admin-review .ax-review-discount-fields th,
.ax-admin-review .ax-review-discount-fields td {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
}

.ax-admin-review label {
  display: block;
  margin: 0 0 7px;
  text-transform: none;
  letter-spacing: normal;
}

.ax-admin-review input.form-control,
.ax-admin-review textarea.form-control {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: 14px;
  background: #fff;
}

.ax-admin-review textarea.form-control {
  min-height: 80px;
}

.ax-admin-review form {
  margin: 0;
}

.ax-admin-review form .button {
  margin: 0;
  border-radius: 7px;
  padding: 12px 20px;
  font-size: 14px;
}

.ax-admin-review form .button.alert {
  background: #fff;
  color: #b3322b;
  border: 1px solid #e3b8b5;
  box-shadow: none;
}

.ax-admin-review form .button.alert:hover {
  background: #fceceb;
}

.ax-admin-review .ax-reseller-note {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .ax-admin-review .ax-review-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .ax-admin-review .ax-reseller-header {
    display: block;
    padding: 20px;
  }
  .ax-admin-review .ax-reseller-card {
    padding: 20px;
  }
  .ax-admin-review .ax-reseller-actions {
    justify-content: flex-start;
    min-width: 0;
  }
  .ax-admin-review .ax-reseller-title {
    overflow-wrap: anywhere;
  }
}
/* Admin application review: a full-width summary followed by decisions. */
.ax-admin-review .ax-review-layout {
  display: grid;
  gap: 24px;
}

.ax-admin-review .ax-reseller-header {
  padding: 8px 0 24px;
  border: 0;
  border-bottom: 2px solid #487a36;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.ax-admin-review .ax-reseller-card {
  border: 1px solid #dfe5dc;
  border-radius: 6px;
  padding: 24px;
  box-shadow: none;
}

.ax-admin-review .ax-review-layout > .ax-reseller-card > .ax-reseller-card-header {
  padding-bottom: 18px;
  border-bottom: 1px solid #e4e9e1;
}

.ax-admin-review .ax-review-information {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.ax-admin-review .ax-review-group {
  min-width: 0;
  border-right: 1px solid #e4e9e1;
  padding-right: 24px;
}

.ax-admin-review .ax-review-group:last-child {
  border: 0;
  padding-right: 0;
}

.ax-admin-review .ax-review-group .ax-review-fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}

.ax-admin-review .ax-review-group .ax-review-section-label {
  font-size: 14px;
  color: #203127;
  text-transform: none;
  letter-spacing: normal;
  margin-bottom: 20px;
}

.ax-admin-review .ax-review-decisions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.ax-admin-review .ax-review-decisions > .ax-reseller-card {
  margin: 0;
}

.ax-admin-review .ax-review-decisions > .ax-reseller-card:only-child {
  grid-column: 1/-1;
}

.ax-admin-review .ax-review-decisions .ax-reseller-status-card {
  border-left: 1px solid #dfe5dc;
  border-top: 3px solid #6a9f4d;
  background: #f7faf5;
}

.ax-admin-review .ax-review-decisions .ax-reseller-status-card.danger {
  border-left: 1px solid #e7dedc;
  border-top: 3px solid #c5857d;
  background: #fff7f6;
}

.ax-admin-review .ax-review-discount-fields tbody {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 16px;
}

.ax-admin-review .ax-review-discount-fields tr:first-child {
  grid-column: 1/-1;
}

@media (max-width: 1000px) {
  .ax-admin-review .ax-review-information, .ax-admin-review .ax-review-decisions {
    grid-template-columns: minmax(0, 1fr);
  }
  .ax-admin-review .ax-review-group {
    border-right: 0;
    border-bottom: 1px solid #e4e9e1;
    padding: 0 0 24px;
  }
  .ax-admin-review .ax-review-group .ax-review-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .ax-admin-review .ax-review-group .ax-review-fields, .ax-admin-review .ax-review-discount-fields tbody {
    grid-template-columns: minmax(0, 1fr);
  }
  .ax-admin-review .ax-reseller-header {
    padding: 0 0 20px;
  }
}
.ax-admin-review .ax-review-discount-card {
  margin: 0;
}

.ax-admin-review .ax-review-discount-card .ax-review-discount-fields tbody {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ax-admin-review .ax-review-discount-card .ax-review-discount-fields tr:first-child {
  grid-column: auto;
}

.ax-admin-review .ax-review-discount-card .ax-review-discount-fields tr {
  margin: 0;
}

.ax-admin-review .ax-review-decisions .ax-reseller-status-card {
  display: flex;
  flex-direction: column;
}

.ax-admin-review .ax-review-decisions form {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.ax-admin-review .ax-review-decisions form .button {
  align-self: flex-start;
  margin-top: auto;
  border: 1px solid transparent;
}

.ax-admin-review .ax-review-decisions form .button.alert {
  background: #b9433b;
  color: #fff;
  border-color: #b9433b;
}

.ax-admin-review .ax-review-decisions form .button.alert:hover {
  background: #9b352e;
}

@media (max-width: 1000px) {
  .ax-admin-review .ax-review-discount-card .ax-review-discount-fields tbody {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Keep the admin list table full width and search controls readable. */
.ax-admin-page .ax-admin-reseller-list table.ax-reseller-table {
  display: table;
  width: 100%;
  max-width: none;
  margin: 0;
  table-layout: auto;
}

.ax-admin-reseller-list .ax-reseller-table thead {
  display: table-header-group;
}

.ax-admin-reseller-list .ax-reseller-table tbody {
  display: table-row-group;
}

.ax-admin-reseller-list .ax-reseller-table tr {
  display: table-row;
}

.ax-admin-reseller-list .ax-reseller-table th,
.ax-admin-reseller-list .ax-reseller-table td {
  display: table-cell;
}

.ax-admin-reseller-list .ax-reseller-search {
  flex: 0 1 auto;
  max-width: 100%;
  margin: 0;
}

.ax-admin-reseller-list .ax-reseller-search .form-control {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
}

.ax-admin-reseller-list .ax-reseller-search .button {
  flex: 0 0 auto;
  width: auto;
  min-width: 80px;
  margin: 0;
  padding: 12px 16px;
  white-space: nowrap;
  word-break: normal;
  overflow-wrap: normal;
}

@media (max-width: 600px) {
  .ax-admin-reseller-list .ax-reseller-search {
    width: 100%;
    flex-wrap: wrap;
  }
  .ax-admin-reseller-list .ax-reseller-search .form-control {
    flex-basis: 100%;
  }
}
@media (max-width: 600px) {
  .ax-reseller-page {
    width: 100%;
    padding: 0 0 24px;
  }
  .ax-reseller-header {
    margin-bottom: 14px;
  }
  .ax-reseller-title {
    font-size: 1.5rem;
  }
  .ax-reseller-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }
  .ax-reseller-actions .button {
    width: 100%;
    margin: 0;
  }
  .ax-reseller-grid,
  .ax-reseller-grid.two {
    gap: 12px;
  }
  .ax-reseller-card {
    min-width: 0;
    padding: 14px;
  }
  .ax-reseller-code {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    text-align: center;
  }
  .ax-reseller-card .ax-reseller-table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }
}
