.reselldo-app, .reselldo-frontend {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #101828;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Admin layout (matches uploaded designs: left nav + top bar + content) */
.reselldo-admin {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 96px);
  gap: 0;
  background: #f6f8fb;
  border: 1px solid #e6ebf2;
  border-radius: 14px;
  overflow: hidden;
}
.reselldo-admin * { box-sizing: border-box; }
.reselldo-nav {
  background: #fff;
  border-right: 1px solid #e6ebf2;
  padding: 14px 12px;
}
.reselldo-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 14px;
  font-weight: 800;
  color: #1570ef;
}
.reselldo-brand .logo {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #1570ef;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 14px;
}
.reselldo-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #344054;
  padding: 10px 10px;
  border-radius: 10px;
  font-weight: 600;
}
.reselldo-nav a.active {
  background: #1570ef;
  color: #fff;
}
.reselldo-nav .status {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  color: #667085;
  font-size: 12px;
}
.reselldo-content {
  display: grid;
  grid-template-rows: 56px 1fr;
}
.reselldo-topbar {
  background: #fff;
  border-bottom: 1px solid #e6ebf2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  gap: 12px;
}
.reselldo-search {
  width: 420px;
  max-width: 55vw;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #eaecf0;
  background: #fff;
  border-radius: 10px;
  padding: 8px 10px;
  color: #667085;
}
.reselldo-search input {
  border: 0;
  outline: none;
  padding: 0;
  margin: 0;
  width: 100%;
}
.reselldo-top-actions { display: flex; align-items: center; gap: 10px; }
.reselldo-page {
  padding: 18px 22px 24px;
}
.reselldo-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 10px 0 16px;
  gap: 16px;
}
.reselldo-head h1 { font-size: 34px; margin: 0; font-weight: 800; letter-spacing: -0.03em; }
.reselldo-head p { margin: 6px 0 0; color: #667085; font-size: 13px; }
.reselldo-actions { display: flex; gap: 10px; align-items: center; }

.btn {
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  line-height: 1;
  gap: 8px;
}
.btn-primary { background: #1570ef; color: #fff; border-color: #1570ef; }
.btn-danger { background: #b42318; color: #fff; border-color: #b42318; }
.btn-ghost { background: #fff; border-color: #eaecf0; color: #344054; }
.btn:hover { opacity: 0.95; }
.btn.is-loading {
  position: relative;
  pointer-events: none;
  opacity: 0.85;
  color: transparent;
}
.btn.is-loading::before {
  content: attr(data-loading-text);
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
}
.btn.btn-primary.is-loading::before { color: #fff; }
.btn.btn-danger.is-loading::before { color: #fff; }
.btn:not(.btn-primary).is-loading::before { color: #101828; }
.btn.is-loading::after {
  content: "";
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
  border-radius: 50%;
  animation: reselldo-spin .8s linear infinite;
  position: absolute;
  right: 10px;
  top: 50%;
  margin-top: -6px;
}
.btn:not(.btn-primary).is-loading::after {
  border-color: rgba(16, 24, 40, 0.2);
  border-top-color: #344054;
}
.btn.btn-danger.is-loading::after {
  border-color: rgba(255, 255, 255, 0.45);
  border-top-color: #fff;
}

form.reselldo-form-loading {
  opacity: 0.72;
  pointer-events: none;
  position: relative;
}

.panel {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 16px;
}
.panel h2, .panel h3 { margin: 0 0 12px; font-size: 16px; font-weight: 800; }
.muted { color: #667085; font-size: 12px; margin-top: 6px; }
label { display: block; font-weight: 600; margin: 10px 0 6px; }
input[type="text"], input[type="password"], input[type="number"], select, textarea {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 10px;
  box-sizing: border-box;
}
textarea { min-height: 110px; }

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.stat-card {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 16px;
}
.stat-card span { color: #667085; font-size: 12px; display: block; margin-bottom: 4px; text-transform: uppercase; letter-spacing: .04em; font-weight: 800; }
.stat-card strong { font-size: 32px; line-height: 1.1; }

.reselldo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.reselldo-table th, .reselldo-table td {
  border-bottom: 1px solid #eaecf0;
  text-align: left;
  padding: 12px 10px;
  vertical-align: middle;
}
.reselldo-table th { color: #667085; font-size: 11px; text-transform: uppercase; letter-spacing: .04em; font-weight: 900; }
.badge {
  border: 1px solid #eaecf0;
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  text-transform: lowercase;
  background: #fff;
}
.badge.ok { background: #ecfdf3; border-color: #a6f4c5; color: #027a48; }
.badge.warn { background: #fffaeb; border-color: #fedf89; color: #b54708; }
.badge.bad { background: #fef3f2; border-color: #fecdca; color: #b42318; }

/* Management dashboard (admin) */
.reselldo-mgmt-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.reselldo-mgmt-summary .stat-card {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 16px;
}
.reselldo-mgmt-summary .stat-card > span { display: none; }
.reselldo-mgmt-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #eff8ff;
  color: #1570ef;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.reselldo-mgmt-stat-icon--warn {
  background: #fffaeb;
  color: #b54708;
}
.reselldo-mgmt-stat-icon--rev {
  background: #ecfdf3;
  color: #027a48;
}
.reselldo-mgmt-stat-body span {
  color: #667085;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 800;
  display: block;
  margin-bottom: 4px;
}
.reselldo-mgmt-stat-body strong {
  font-size: 28px;
  line-height: 1.15;
  font-weight: 800;
  color: #101828;
  display: block;
}
.reselldo-mgmt-stat-meta {
  margin-top: 6px;
  font-size: 12px;
  color: #667085;
  font-weight: 600;
}
.reselldo-mgmt-stat-meta--ok { color: #027a48; }
.reselldo-mgmt-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}
.reselldo-mgmt-inventory-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.reselldo-mgmt-table-wrap {
  overflow-x: auto;
  margin: 0 -6px;
}
.reselldo-mgmt-table th,
.reselldo-mgmt-table td {
  vertical-align: middle;
}
.reselldo-mgmt-th-actions { min-width: 168px; text-align: right; }
.reselldo-mgmt-table td:last-child { text-align: right; }
.reselldo-mgmt-cell-name { font-weight: 700; color: #101828; }
.reselldo-mgmt-cell-sub { font-size: 12px; margin-top: 2px; }
.reselldo-mgmt-customer {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reselldo-mgmt-avatar-img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: block;
}
.reselldo-mgmt-customer-name { font-weight: 600; font-size: 13px; }
.reselldo-mgmt-status-badge {
  text-transform: lowercase;
  font-weight: 600;
}
.reselldo-mgmt-specs { font-size: 13px; color: #344054; }
.reselldo-mgmt-actions {
  display: inline-flex;
  gap: 4px;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
.reselldo-mgmt-icon-btn {
  min-width: 36px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 10px;
}
.reselldo-mgmt-bottom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}
.reselldo-mgmt-foot-card--health {
  background: linear-gradient(135deg, #f5f9ff 0%, #fff 48%);
  border-color: #d1e9ff;
}
.reselldo-mgmt-foot-card--export {
  background: linear-gradient(135deg, #f0fdf4 0%, #fff 48%);
  border-color: #abefc6;
}
.reselldo-mgmt-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reselldo-mgmt-customer-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.reselldo-mgmt-customer-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #eaecf0;
}
.reselldo-mgmt-customer-stats {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #eaecf0;
}
.reselldo-mgmt-customer-stats li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid #eaecf0;
  font-size: 13px;
}
.reselldo-mgmt-customer-stats li span { color: #667085; }
.reselldo-mgmt-activity-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.reselldo-mgmt-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.reselldo-mgmt-timeline-item {
  position: relative;
  padding-left: 18px;
  padding-bottom: 14px;
  border-left: 2px solid #eaecf0;
  margin-left: 6px;
}
.reselldo-mgmt-timeline-item:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}
.reselldo-mgmt-timeline-dot {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1570ef;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #eaecf0;
}
.reselldo-mgmt-timeline-item--error .reselldo-mgmt-timeline-dot {
  background: #b42318;
}
.reselldo-mgmt-timeline-title {
  font-weight: 700;
  font-size: 13px;
  color: #101828;
}
.reselldo-mgmt-timeline-msg {
  font-size: 12px;
  margin-top: 2px;
  line-height: 1.35;
}
.reselldo-mgmt-timeline-meta {
  font-size: 11px;
  color: #98a2b3;
  margin-top: 4px;
}
@media (max-width: 1100px) {
  .reselldo-mgmt-grid {
    grid-template-columns: 1fr;
  }
  .reselldo-mgmt-summary {
    grid-template-columns: 1fr;
  }
  .reselldo-mgmt-bottom-grid {
    grid-template-columns: 1fr;
  }
}

.tabs {
  display: flex;
  gap: 18px;
  margin: 10px 0 14px;
  border-bottom: 1px solid #eaecf0;
}
.tabs a {
  text-decoration: none;
  color: #667085;
  padding: 10px 0;
  font-weight: 800;
  border-bottom: 2px solid transparent;
}
.tabs a.active {
  color: #101828;
  border-bottom-color: #1570ef;
}
.reselldo-loading {
  position: relative;
}
.reselldo-loading::after {
  content: "";
  position: absolute;
  top: 18px;
  right: 18px;
  width: 18px;
  height: 18px;
  border: 2px solid #d0d5dd;
  border-top-color: #1570ef;
  border-radius: 50%;
  animation: reselldo-spin .8s linear infinite;
}
@keyframes reselldo-spin {
  to { transform: rotate(360deg); }
}
.reselldo-toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #101828;
  color: #fff;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
  opacity: 0;
  transform: translateY(8px);
  transition: .2s ease;
  z-index: 99999;
}
.reselldo-toast.show {
  opacity: 1;
  transform: translateY(0);
}
.table-actions { display: flex; gap: 10px; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.input-pill { border: 1px solid #eaecf0; background: #fff; border-radius: 10px; padding: 9px 10px; display: inline-flex; gap: 8px; align-items: center; }
.input-pill input { border: 0; padding: 0; outline: none; width: 240px; }

.layout { display: grid; grid-template-columns: 272px 1fr; gap: 20px; align-items: start; }

/* Configure plan page [reselldo_configure_plan] — same design language as Hosting Plans */
.reselldo-cp-breadcrumb {
  font-size: 13px;
  margin: 0 0 16px;
  color: #667085;
  line-height: 1.45;
}
.reselldo-cp-breadcrumb a {
  color: #1570ef;
  font-weight: 600;
  text-decoration: none;
}
.reselldo-cp-breadcrumb a:hover { text-decoration: underline; }
.reselldo-cp-breadcrumb-sep { margin: 0 8px; color: #98a2b3; }
.reselldo-cp-breadcrumb-current { color: #344054; font-weight: 700; }
.reselldo-cp-hero-sub {
  margin: 16px 0 0;
  font-size: 17px;
  font-weight: 800;
  color: #101828;
  letter-spacing: -0.02em;
}
.reselldo-cp-page .layout { align-items: start; }
.reselldo-cp-sidebar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reselldo-cp-summary-card .plan-card-title {
  min-height: 0 !important;
  max-height: none !important;
  -webkit-line-clamp: unset !important;
  display: block !important;
}
.reselldo-cp-summary-card .plan-card-specs {
  min-height: 0 !important;
  margin-bottom: 0;
}
.reselldo-cp-pricing-breakdown {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eaecf0;
}
.reselldo-cp-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin: 8px 0 10px;
}
.reselldo-cp-price-table th {
  font-weight: 600;
  text-align: left;
  padding: 6px 10px 6px 0;
  color: #344054;
  vertical-align: top;
}
.reselldo-cp-price-table td {
  text-align: right;
  padding: 6px 0;
  font-variant-numeric: tabular-nums;
  color: #101828;
}
.reselldo-cp-price-total th,
.reselldo-cp-price-total td {
  padding-top: 12px;
  border-top: 1px solid #eaecf0;
  font-size: 14px;
}
.reselldo-cp-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.reselldo-cp-meta .btn { margin-top: 8px; }
.reselldo-cp-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.reselldo-cp-intro { margin-bottom: 0; }
.reselldo-cp-main form.cart {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
}
.reselldo-cp-main .reselldo-cp-section { margin-bottom: 0; }
.reselldo-cp-actions { margin-bottom: 0 !important; }
.reselldo-cp-actions-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.reselldo-cp-submit { min-width: 220px; }

.hero {
  text-align: center;
  margin: 8px 0 18px;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  background: #fff;
  padding: 34px 16px;
}
.hero h1 { font-size: 56px; line-height: 64px; margin: 0 0 12px; font-weight: 800; letter-spacing: -0.03em; }
.hero p { margin: 0; color: #596779; font-size: 18px; line-height: 1.55; }

.sidebar { background: #fff; border: 1px solid #e5eaf0; border-radius: 12px; padding: 16px; position: sticky; top: 14px; }
.sidebar h4 { margin: 0 0 10px; font-size: 14px; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan-card {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  box-sizing: border-box;
}
.plan-card-badge {
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  line-height: 1.35;
  min-height: 2.7em;
  margin-bottom: 8px;
}
.plan-card-title {
  margin: 0 0 10px;
  font-size: 26px;
  line-height: 36px;
  font-weight: 800;
  min-height: 72px;
  max-height: 72px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.plan-card-price {
  flex-shrink: 0;
  min-height: 52px;
  margin-bottom: 8px;
}
.plan-card-price strong {
  font-size: 34px;
  line-height: 1.05;
  display: block;
}
.plan-card-specs {
  flex: 1 1 auto;
  margin: 0 0 0;
  padding-left: 18px;
  min-height: 132px;
  font-size: 14px;
  line-height: 1.45;
}
.plan-card-specs li { margin-bottom: 4px; }
.plan-card-actions {
  margin-top: auto;
  padding-top: 14px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.plan-card-actions .btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  min-width: 200px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  box-sizing: border-box;
}
.reselldo-frontend .plan-card-title {
  font-size: 26px;
  line-height: 36px;
}
.reselldo-filter-session { margin-bottom: 2px; }
.reselldo-filter-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.reselldo-filter-hint { font-size: 11px; margin: 0 0 6px; line-height: 1.35; color: #667085; }
.reselldo-filter-section-title { margin: 6px 0 8px; font-size: 11px; font-weight: 700; text-transform: uppercase; color: #667085; letter-spacing: .04em; }
.reselldo-filter-section-title--with-action {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 0;
}
.reselldo-filter-section-title--with-action .reselldo-hosting-reset { font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 12px; }
.reselldo-region-list.reselldo-checks { display: grid; gap: 3px; margin-bottom: 0; }
.reselldo-filter-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #243447;
  cursor: pointer;
  padding: 3px 0;
  border-radius: 6px;
  margin: 0;
}
/* Theme-safe: visible box is a span; native input is invisible but receives clicks inside .reselldo-cb-wrap */
.reselldo-filter-checkbox .reselldo-cb-wrap {
  position: relative;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}
.reselldo-filter-checkbox .reselldo-cb-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
  box-sizing: border-box;
  flex-shrink: 0;
  appearance: none;
  -webkit-appearance: none;
}
.reselldo-filter-checkbox .reselldo-cb-visual {
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  box-sizing: border-box;
  border: 1.5px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  pointer-events: none;
  z-index: 1;
}
.reselldo-filter-checkbox .reselldo-cb-input:checked + .reselldo-cb-visual {
  background-color: #1570ef;
  border-color: #1570ef;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 9px;
}
.reselldo-filter-checkbox .reselldo-cb-input:focus-visible + .reselldo-cb-visual {
  outline: 2px solid #1570ef;
  outline-offset: 2px;
}
.reselldo-filter-checkbox:hover .reselldo-cb-input:not(:checked) + .reselldo-cb-visual {
  border-color: #98a2b3;
}
.reselldo-filter-checkbox.is-selected .reselldo-cb-label { color: #0b5394; font-weight: 600; }
.reselldo-filter-select-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #344054;
  margin: 0 0 6px;
}
.reselldo-hp-select {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.35;
  color: #101828;
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  margin-bottom: 2px;
  cursor: pointer;
}
.reselldo-hp-select:focus {
  outline: none;
  border-color: #1570ef;
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.15);
}
.reselldo-filter-divider { border: 0; border-top: 1px solid #e8edf3; margin: 10px 0; }
.reselldo-filter-group { margin-bottom: 12px; }
.reselldo-filter-group label { display: flex; align-items: center; justify-content: space-between; font-size: 12px; margin-bottom: 6px; }
.reselldo-filter-group input[type="range"] { width: 100%; }
.reselldo-range-scale { display: flex; justify-content: space-between; margin-top: 4px; font-size: 11px; color: #98a2b3; }
.reselldo-checks { display: grid; gap: 4px; font-size: 13px; }
.reselldo-hosting-main {
  width: 100%;
  min-width: 0;
}
.reselldo-hosting-pagination-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 4px 0;
}
.reselldo-hosting-pagination {
  margin-top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.reselldo-hosting-page {
  border: 1px solid #d0d5dd;
  border-radius: 6px;
  background: #fff;
  min-width: 36px;
  height: 36px;
  padding: 0 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #344054;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  box-sizing: border-box;
}
.reselldo-hosting-page.active { background: #1570ef; color: #fff; border-color: #1570ef; font-weight: 700; }
.reselldo-hosting-page.disabled { opacity: .45; pointer-events: none; }
.reselldo-hosting-page:hover:not(.disabled):not(.active):not(.reselldo-hosting-page--ellipsis) { border-color: #9ec5fe; color: #0b5394; }
.reselldo-hosting-page--arrow { font-size: 18px; font-weight: 700; line-height: 1; color: #344054; }
.reselldo-hosting-page--ellipsis {
  border-color: #eaecf0;
  color: #98a2b3;
  font-weight: 700;
  cursor: default;
  pointer-events: none;
}

.plan-config { display: grid; grid-template-columns: 2fr 1fr; gap: 14px; align-items: start; }
.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.spec-grid span {
  border: 1px solid #eaecf0;
  background: #f9fbff;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-size: 12px;
}

.toolbar { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.rule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; }
.rule { border: 1px solid #e4e9f0; background: #f9fbff; padding: 12px; border-radius: 10px; font-weight: 600; }
.reselldo-chart {
  width: 100%;
  display: block;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
}
.reselldo-refresh-interval { max-width: 140px; }

/* Automations dashboard */
.reselldo-auto-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 16px;
  align-items: start;
}
.reselldo-auto-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.reselldo-auto-side { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.reselldo-auto-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.reselldo-auto-card {
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.reselldo-auto-card-text { min-width: 0; }
.reselldo-auto-card h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: #101828; }
.reselldo-auto-card .muted { margin: 0; font-size: 12px; line-height: 1.45; }
.reselldo-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}
.reselldo-toggle input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.reselldo-toggle span {
  position: absolute;
  inset: 0;
  background: #e6ebf2;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.reselldo-toggle span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12);
  transition: transform 0.15s ease;
}
.reselldo-toggle input:focus-visible + span {
  outline: 2px solid #1570ef;
  outline-offset: 2px;
}
.reselldo-toggle input:checked + span {
  background: #1570ef;
}
.reselldo-toggle input:checked + span::after {
  transform: translateX(20px);
}
.reselldo-auto-table-wrap { overflow-x: auto; margin-top: 10px; }
.reselldo-auto-jobs code { font-size: 12px; background: #f6f8fb; padding: 2px 6px; border-radius: 6px; }
.reselldo-flash {
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  font-weight: 600;
  font-size: 13px;
}
.reselldo-flash-success {
  background: #ecfdf3;
  border: 1px solid #6ce9a6;
  color: #027a48;
}

@media (max-width: 960px) {
  .hero h1 { font-size: 36px; line-height: 42px; }
  .layout { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-config { grid-template-columns: 1fr; }
  .reselldo-head { flex-direction: column; align-items: flex-start; }
  .reselldo-admin { grid-template-columns: 1fr; }
  .reselldo-nav { display: none; }
  .reselldo-auto-layout { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cards { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; line-height: 36px; }
  /* Single column: allow a third title line (still 26px / 36px per line). */
  .plan-card-title {
    -webkit-line-clamp: 3;
    min-height: 108px;
    max-height: 108px;
  }
}

/*
 * Hosting Plans root: high-specificity overrides so theme CSS cannot hide ResellDO layout
 * (stylesheet is also enqueued from shortcode when wp_enqueue_scripts missed the page).
 */
#reselldo-hosting-plans-root .hero h1 {
  font-size: 56px !important;
  line-height: 64px !important;
  font-weight: 800 !important;
}
#reselldo-hosting-plans-root .hero p {
  font-size: 18px !important;
  line-height: 1.55 !important;
}
@media (max-width: 960px) {
  #reselldo-hosting-plans-root .hero h1 {
    font-size: 36px !important;
    line-height: 42px !important;
  }
}
@media (max-width: 680px) {
  #reselldo-hosting-plans-root .hero h1 {
    font-size: 30px !important;
    line-height: 36px !important;
  }
}
#reselldo-hosting-plans-root .sidebar .reselldo-filter-divider {
  border-top: 1px solid #e4e7ec;
  margin: 12px 0;
}
#reselldo-hosting-plans-root .reselldo-hp-select {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#reselldo-hosting-plans-root .reselldo-region-list.reselldo-checks {
  gap: 2px;
}
#reselldo-hosting-plans-root .reselldo-filter-checkbox .reselldo-cb-wrap {
  position: relative !important;
  flex: 0 0 18px !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
}
#reselldo-hosting-plans-root .reselldo-filter-checkbox .reselldo-cb-input {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: none !important;
  max-height: none !important;
  opacity: 0 !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  clip: auto !important;
  clip-path: none !important;
  transform: none !important;
  z-index: 2 !important;
}
#reselldo-hosting-plans-root .reselldo-filter-checkbox .reselldo-cb-visual {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  border: 1.5px solid #d0d5dd !important;
  border-radius: 4px !important;
  background-color: #fff !important;
  box-sizing: border-box !important;
  visibility: visible !important;
  opacity: 1 !important;
}
#reselldo-hosting-plans-root .reselldo-filter-checkbox .reselldo-cb-input:checked + .reselldo-cb-visual {
  background-color: #1570ef !important;
  border-color: #1570ef !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 11px 9px !important;
}
#reselldo-hosting-plans-root h3.plan-card-title {
  font-size: 26px !important;
  line-height: 36px !important;
  font-weight: 800 !important;
}
#reselldo-hosting-plans-root .plan-card-actions {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
}
#reselldo-hosting-plans-root .plan-card-actions .btn.btn-primary {
  display: inline-block !important;
  width: auto !important;
  min-width: 200px;
  max-width: 100% !important;
  margin: 0 auto !important;
  text-align: center !important;
  float: none !important;
}
#reselldo-hosting-plans-root .reselldo-hosting-pagination-wrap {
  width: 100% !important;
  max-width: 100%;
  text-align: center !important;
  box-sizing: border-box;
}
#reselldo-hosting-plans-root .reselldo-hosting-pagination {
  display: inline-flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  vertical-align: middle;
}

/* —— Configure plan Visily layout [reselldo_configure_plan] —— */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.reselldo-cp-page--visily {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 48px;
  background: #f8f9fa;
  border-radius: 0;
  overflow: visible !important;
}

.reselldo-cp-visily-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0 20px;
  margin: 0 -16px;
  padding-left: 16px;
  padding-right: 16px;
  background: #fff;
  border-bottom: 1px solid #eaecf0;
  position: sticky;
  top: 0;
  z-index: 20;
}

.reselldo-cp-visily-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1570ef;
  font-weight: 800;
  font-size: 18px;
  flex-shrink: 0;
}

.reselldo-cp-visily-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: #1570ef;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
}

.reselldo-cp-visily-search {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f2f4f7;
  border-radius: 10px;
  padding: 10px 14px;
  max-width: 520px;
  margin: 0 auto;
  color: #667085;
}

.reselldo-cp-visily-search-input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 14px;
  min-width: 0;
}

.reselldo-cp-visily-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: #344054;
}

.reselldo-cp-visily-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  cursor: default;
}

.reselldo-cp-visily-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
}

.reselldo-cp-visily-avatar--placeholder {
  background: #eaecf0;
  color: #667085;
}

.reselldo-cp-visily-hero {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 24px 22px;
  margin-top: 20px;
}

.reselldo-cp-visily-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.reselldo-cp-visily-badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
}

.reselldo-cp-visily-badge--primary {
  background: #1570ef;
  color: #fff;
}

.reselldo-cp-visily-badge--ready {
  background: #fff;
  color: #12b76a;
  border: 1px solid #abefc6;
}

.reselldo-cp-visily-hero-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.reselldo-cp-visily-title {
  margin: 0;
  font-size: 28px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #101828;
  flex: 1 1 280px;
}

.reselldo-cp-visily-start-price {
  text-align: right;
}

.reselldo-cp-visily-start-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #667085;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.reselldo-cp-visily-start-value {
  font-size: 22px;
  font-weight: 800;
  color: #1570ef;
}

.reselldo-cp-visily-start-value .woocommerce-Price-amount,
.reselldo-cp-visily-start-value {
  color: #1570ef;
}

.reselldo-cp-visily-start-suffix {
  font-size: 15px;
  font-weight: 700;
  color: #1570ef;
}

.reselldo-cp-visily-desc {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: #475467;
  max-width: 720px;
}

.reselldo-cp-visily-specs {
  margin-top: 20px;
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 22px;
}

.reselldo-cp-page--visily .reselldo-visily-h2 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: #101828;
}

.reselldo-cp-page--visily .reselldo-visily-sub {
  margin: 0 0 18px;
  font-size: 14px;
  color: #667085;
  line-height: 1.45;
}

.reselldo-cp-visily-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 900px) {
  .reselldo-cp-visily-spec-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reselldo-cp-visily-spec-card {
  background: #f8f9fa;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.reselldo-cp-visily-spec-ico {
  margin-bottom: 4px;
}

.reselldo-cp-visily-spec-val {
  font-size: 18px;
  font-weight: 800;
  color: #101828;
}

.reselldo-cp-visily-spec-lbl {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
}

.reselldo-cp-visily-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: stretch;
  margin-top: 20px;
  overflow: visible !important;
}

@media (max-width: 960px) {
  .reselldo-cp-visily-layout {
    grid-template-columns: 1fr;
  }
  .reselldo-cp-visily-sidebar {
    order: -1;
  }
}

.reselldo-cp-visily-main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.reselldo-cp-visily-main .reselldo-configure-plan-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
}

.reselldo-cp-page--visily .reselldo-visily-section {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.reselldo-cp-page--visily .reselldo-visily-section--scripts {
  padding-bottom: 20px;
}

.reselldo-visily-infobox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 14px 0 0;
  padding: 10px 12px;
  background: #eff8ff;
  border-radius: 8px;
  font-size: 13px;
  color: #175cd3;
  line-height: 1.45;
}

.reselldo-visily-info-ico {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.reselldo-cp-region-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .reselldo-cp-region-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.reselldo-cp-region-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 14px 14px 14px 16px;
  border: 2px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.reselldo-cp-region-card:hover {
  border-color: #b2ccff;
}

.reselldo-cp-region-card.is-selected {
  border-color: #1570ef;
  box-shadow: 0 0 0 1px #1570ef;
}

.reselldo-cp-region-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.reselldo-cp-region-card.is-selected .reselldo-cp-region-check {
  display: inline-flex;
}

.reselldo-cp-region-flag {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 4px;
}

.reselldo-cp-region-city {
  font-weight: 700;
  font-size: 15px;
  color: #101828;
}

.reselldo-cp-region-country {
  font-size: 13px;
  color: #667085;
}

.reselldo-cp-disk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 720px) {
  .reselldo-cp-disk-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .reselldo-cp-disk-grid {
    grid-template-columns: 1fr;
  }
}

.reselldo-cp-disk-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 14px 14px 14px 16px;
  border: 2px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.reselldo-cp-disk-card:hover {
  border-color: #b2ccff;
}

.reselldo-cp-disk-card.is-selected {
  border-color: #1570ef;
  box-shadow: 0 0 0 1px #1570ef;
}

/* Radios are form hooks only; cards use role="radio" + JS (label overlay caused double-handling). */
.reselldo-cp-disk-card .reselldo-cp-disk-input {
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.reselldo-cp-disk-check {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1570ef;
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
}

.reselldo-cp-disk-card.is-selected .reselldo-cp-disk-check {
  display: inline-flex;
}

.reselldo-cp-disk-gb {
  font-weight: 700;
  font-size: 15px;
  color: #101828;
}

.reselldo-cp-disk-price {
  font-size: 14px;
  font-weight: 600;
  color: #1570ef;
}

.reselldo-cp-disk-price-suffix {
  font-weight: 500;
  font-size: 12px;
  color: #667085;
}

.reselldo-cp-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 560px) {
  .reselldo-cp-feature-grid {
    grid-template-columns: 1fr;
  }
}

.reselldo-cp-feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 44px 16px 16px;
  border: 2px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.reselldo-cp-feature-card:hover {
  border-color: #d0d5dd;
}

.reselldo-cp-feature-card.is-selected {
  border-color: #1570ef;
  background: #f5f8ff;
}

.reselldo-cp-feature-card--field {
  cursor: default;
}

.reselldo-cp-feature-native {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 18px;
  height: 18px;
  accent-color: #1570ef;
  cursor: pointer;
}

.reselldo-cp-feature-title {
  font-weight: 700;
  font-size: 14px;
  color: #101828;
  padding-right: 8px;
}

.reselldo-cp-feature-price {
  font-size: 13px;
  font-weight: 700;
  color: #1570ef;
}

.reselldo-cp-inline-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
  box-sizing: border-box;
}

.reselldo-cp-inline-input:focus {
  outline: none;
  border-color: #1570ef;
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.15);
}

.reselldo-cp-addon-stack {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.reselldo-cp-addon-hint {
  margin: 0;
  font-size: 13px;
  line-height: 1.45;
}

.reselldo-cp-addon-inline-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
  padding-top: 8px;
  border-top: 1px solid #e4e7ec;
  position: relative;
  z-index: 3;
  pointer-events: auto;
}

.reselldo-cp-backups-schedule {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 640px) {
  .reselldo-cp-backups-schedule {
    grid-template-columns: 1fr;
  }
}

[data-cp-backups-controls][style*="display: none"],
[data-cp-volumes-controls][style*="display: none"] {
  opacity: 0;
}

[data-cp-backups-controls].is-addon-disabled,
[data-cp-volumes-controls].is-addon-disabled {
  opacity: 0.8;
}

[data-cp-backups-controls] .reselldo-cp-inline-input:disabled,
[data-cp-volumes-controls] .reselldo-cp-inline-input:disabled,
[data-cp-backups-controls] .reselldo-hp-select:disabled,
[data-cp-volumes-controls] .reselldo-hp-select:disabled,
[data-cp-backups-controls] input[type="number"]:disabled,
[data-cp-volumes-controls] input[type="number"]:disabled {
  background: #f2f4f7;
  color: #98a2b3;
  cursor: not-allowed;
}

.reselldo-cp-select-wide {
  width: 100%;
  max-width: 100%;
}

/* Configure plan — OS / Marketplace image picker */
.reselldo-plan-config-fields .reselldo-visily-section--image-picker {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #eaecf0;
}

.reselldo-plan-config-fields .reselldo-visily-section--image-picker .reselldo-visily-h2 {
  margin: 0 0 6px;
  font-size: 1rem;
  font-weight: 700;
  color: #101828;
}

.reselldo-plan-config-fields .reselldo-visily-section--image-picker .reselldo-visily-sub {
  margin: 0 0 12px;
  font-size: 13px;
  color: #667085;
  line-height: 1.45;
}

.reselldo-visily-section--image-picker .reselldo-cp-image-picker {
  margin-top: 4px;
}

.reselldo-cp-image-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eaecf0;
  background: #fff;
}

.reselldo-cp-image-tab {
  margin: 0;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  background: #fff;
  color: #667085;
  cursor: pointer;
  border-right: 1px solid #eaecf0;
}

.reselldo-cp-image-tab:last-child {
  border-right: 0;
}

.reselldo-cp-image-tab.is-active {
  background: #1570ef;
  color: #fff;
}

.reselldo-cp-image-tab:hover:not(.is-active) {
  background: #f8f9fa;
  color: #344054;
}

.reselldo-cp-image-panel {
  margin-top: 4px;
}

.reselldo-cp-mp-search {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  margin-bottom: 10px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  font-size: 14px;
  background: #fff;
}

.reselldo-cp-mp-search:focus {
  outline: none;
  border-color: #1570ef;
  box-shadow: 0 0 0 3px rgba(21, 112, 239, 0.15);
}

.reselldo-cp-mp-status {
  margin: 0 0 8px;
  font-size: 13px;
}

.reselldo-cp-image-scroll {
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.reselldo-cp-image-scroll--marketplace {
  margin-top: 0;
}

.reselldo-cp-image-list {
  display: flex;
  flex-direction: column;
}

.reselldo-cp-image-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid #f2f4f7;
  cursor: pointer;
  margin: 0;
  transition: background 0.12s ease;
}

.reselldo-cp-image-row:last-child {
  border-bottom: 0;
}

.reselldo-cp-image-row:hover {
  background: #f8f9fa;
}

.reselldo-cp-image-row.is-selected {
  background: #eff8ff;
  box-shadow: inset 3px 0 0 #1570ef;
}

.reselldo-cp-image-row-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.reselldo-cp-image-row-title {
  font-weight: 700;
  font-size: 14px;
  color: #101828;
}

.reselldo-cp-image-row-meta {
  font-size: 12px;
  color: #667085;
  word-break: break-word;
}

.reselldo-cp-details {
  margin-bottom: 14px;
  padding: 10px 12px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #eaecf0;
}

.reselldo-cp-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  color: #344054;
}

.reselldo-cp-userdata-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.reselldo-cp-userdata-lbl {
  font-weight: 700;
  font-size: 14px;
  color: #101828;
}

.reselldo-cp-badge-optional {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
  background: #f2f4f7;
  padding: 4px 8px;
  border-radius: 6px;
}

.reselldo-cp-userdata-ta {
  width: 100%;
  min-height: 120px;
  border: 1px solid #d0d5dd;
  border-radius: 10px;
  padding: 12px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  line-height: 1.45;
  resize: vertical;
  box-sizing: border-box;
}

.reselldo-visily-footnote {
  margin: 10px 0 0;
  font-size: 12px;
  color: #667085;
}

.reselldo-cp-auth-method-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reselldo-cp-auth-method-row {
  margin: 0;
}

.reselldo-cp-auth-method-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #eaecf0;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.reselldo-cp-auth-method-label:hover {
  border-color: #d0d5dd;
}

.reselldo-cp-auth-method-radio {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #1570ef;
}

.reselldo-cp-auth-method-label.is-selected {
  border-color: #1570ef;
  background: #eff8ff;
}

.reselldo-cp-auth-method-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  min-width: 0;
}

.reselldo-cp-auth-method-body .muted {
  font-size: 13px;
  line-height: 1.45;
}

.reselldo-cp-auth-password-details {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  background: #fff;
}

.reselldo-cp-password-label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: #101828;
  margin-bottom: 8px;
}

.reselldo-cp-password-input {
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  box-sizing: border-box;
}

.reselldo-cp-password-help {
  margin: 10px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #344054;
}

.reselldo-cp-password-rules {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.reselldo-cp-password-rules li {
  font-size: 13px;
}

.reselldo-cp-password-rules li.is-pass {
  color: #067647;
}

.reselldo-cp-password-rules li.is-fail {
  color: #b42318;
}

.reselldo-cp-mp-selected {
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #eff8ff;
  border: 1px solid #b2ccff;
  font-size: 13px;
  line-height: 1.45;
  color: #175cd3;
}

.reselldo-cp-mp-selected-label {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
  color: #1570ef;
}

.reselldo-cp-mp-selected-text {
  font-weight: 600;
  color: #101828;
}

.reselldo-cp-auth-tabs {
  display: inline-flex;
  gap: 0;
  margin-bottom: 16px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #eaecf0;
}

.reselldo-cp-auth-tab {
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: #667085;
}

.reselldo-cp-auth-tab.is-active {
  background: #1570ef;
  color: #fff;
}

a.reselldo-cp-auth-tab--link {
  text-decoration: none;
  color: #344054;
  border-left: 1px solid #eaecf0;
}

a.reselldo-cp-auth-tab--link:hover {
  background: #f8f9fa;
  color: #1570ef;
}

.reselldo-cp-ssh-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reselldo-cp-ssh-row {
  margin: 0;
}

.reselldo-cp-ssh-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #eaecf0;
  border-radius: 10px;
  cursor: pointer;
  background: #fff;
}

.reselldo-cp-ssh-label:hover {
  border-color: #d0d5dd;
}

.reselldo-cp-ssh-radio {
  margin-top: 3px;
  accent-color: #1570ef;
}

.reselldo-cp-ssh-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}

.reselldo-cp-ssh-body .muted {
  font-size: 13px;
}

.reselldo-cp-visily-sidebar {
  align-self: stretch;
  z-index: 11;
  min-height: 0;
  display: flex;
  flex-direction: column;
  position: relative;
}

.reselldo-cp-visily-summary-spacer {
  flex-shrink: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.reselldo-cp-visily-summary {
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.08);
  border: 1px solid #eaecf0;
  background: #fff;
}

.reselldo-cp-visily-summary-head {
  background: #1570ef;
  color: #fff;
  padding: 18px 20px;
}

.reselldo-cp-visily-summary-head-title {
  font-size: 18px;
  font-weight: 800;
}

.reselldo-cp-visily-summary-head-sub {
  font-size: 13px;
  opacity: 0.92;
  margin-top: 4px;
}

.reselldo-cp-visily-summary-body {
  padding: 20px;
}

.reselldo-cp-visily-sum-block {
  padding-bottom: 16px;
  border-bottom: 1px solid #eaecf0;
}

.reselldo-cp-visily-sum-name {
  font-weight: 800;
  font-size: 16px;
  color: #101828;
}

.reselldo-cp-visily-sum-spec-line {
  font-size: 13px;
  color: #667085;
  margin-top: 4px;
}

.reselldo-cp-visily-sum-base {
  font-size: 22px;
  font-weight: 800;
  color: #1570ef;
  margin-top: 10px;
}

.reselldo-cp-visily-sum-base .woocommerce-Price-amount {
  color: #1570ef;
}

.reselldo-cp-visily-sum-region {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid #eaecf0;
  font-size: 14px;
  font-weight: 600;
  color: #344054;
}

.reselldo-cp-visily-sum-region-flag {
  font-size: 22px;
  line-height: 1;
}

.reselldo-cp-visily-sum-addons-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #667085;
  margin: 12px 0 8px;
}

.reselldo-cp-visily-sum-addon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.reselldo-cp-visily-sum-addon {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 6px 0;
  color: #344054;
}

.reselldo-cp-visily-sum-addon [data-cp-line] {
  font-weight: 700;
  color: #1570ef;
  font-variant-numeric: tabular-nums;
}

.reselldo-cp-visily-sum-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #eaecf0;
  font-size: 15px;
  font-weight: 700;
  color: #101828;
}

.reselldo-cp-visily-sum-total [data-cp-line] {
  font-size: 22px;
  color: #1570ef;
}

.reselldo-cp-visily-sum-total [data-cp-line] .woocommerce-Price-amount,
.reselldo-cp-visily-sum-total strong {
  color: #1570ef;
}

.reselldo-cp-visily-subscribe {
  width: 100%;
  margin-top: 16px;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 800;
  border-radius: 10px;
  background: #1570ef !important;
  color: #fff !important;
  border: none !important;
  cursor: pointer;
  text-align: center;
}

.reselldo-cp-visily-subscribe:hover {
  filter: brightness(1.05);
}

.reselldo-cp-visily-legal {
  font-size: 11px;
  line-height: 1.45;
  color: #667085;
  margin: 14px 0 0;
}

.reselldo-cp-visily-trust {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #f2f4f7;
  font-size: 11px;
  font-weight: 700;
  color: #667085;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.reselldo-cp-visily-trust-item {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
  text-align: center;
}

.reselldo-cp-visily-aux-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  padding: 4px 0 8px;
}

.reselldo-cp-visily-link {
  font-size: 14px;
  font-weight: 600;
  color: #1570ef;
  text-decoration: none;
}

.reselldo-cp-visily-link:hover {
  text-decoration: underline;
}
