/* CODSHIPX_R12_R111_PLAN_BILLING_UI */

:root{
  --cxpb-bg:#07111f;
  --cxpb-panel:#0d192a;
  --cxpb-panel2:#111f34;
  --cxpb-line:rgba(148,163,184,.16);
  --cxpb-line2:rgba(148,163,184,.28);
  --cxpb-text:#f8fafc;
  --cxpb-muted:#94a3b8;
  --cxpb-soft:#cbd5e1;
  --cxpb-brand:#99cc3f;
  --cxpb-brand2:#b7e466;
  --cxpb-good:#34d399;
  --cxpb-warn:#fbbf24;
  --cxpb-bad:#fb7185;
}

[data-cxpb-nav]{
  display:flex!important;
  align-items:center!important;
  gap:10px!important;
  min-height:44px!important;
  box-sizing:border-box!important;
  padding:10px 12px!important;
  border-radius:12px!important;
  text-decoration:none!important;
  cursor:pointer!important;
}

[data-cxpb-nav]:hover{
  background:rgba(153,204,63,.09)!important;
}

html[data-cxpb-route="seller"] [data-cxpb-nav="seller"],
html[data-cxpb-route="admin"] [data-cxpb-nav="admin"],
html[data-cxpb-route="admin-billing"] [data-cxpb-nav="admin-billing"]{
  background:rgba(153,204,63,.13)!important;
  box-shadow:inset 0 0 0 1px rgba(153,204,63,.20)!important;
}

[data-cxpb-host="1"]{
  min-width:0!important;
}

[data-cxpb-host="1"] > *:not(#cx-plan-billing-r12r111-root){
  display:none!important;
}

#cx-plan-billing-r12r111-root{
  width:100%;
  min-width:0;
  min-height:calc(100vh - 72px);
  box-sizing:border-box;
  padding:28px;
  color:var(--cxpb-text);
  background:
    radial-gradient(circle at 0 -5%,rgba(153,204,63,.14),transparent 29%),
    radial-gradient(circle at 100% 0,rgba(59,130,246,.10),transparent 26%),
    var(--cxpb-bg);
}

.cxpb-shell{
  width:min(1240px,100%);
  margin:0 auto;
}

.cxpb-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:24px;
}

.cxpb-kicker{
  display:inline-flex;
  align-items:center;
  min-height:26px;
  padding:4px 10px;
  border:1px solid rgba(153,204,63,.24);
  border-radius:999px;
  background:rgba(153,204,63,.08);
  color:var(--cxpb-brand2);
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.cxpb-title{
  margin:10px 0 7px;
  color:#fff;
  font-size:30px;
  line-height:1.15;
  font-weight:950;
  letter-spacing:-.035em;
}

.cxpb-subtitle{
  margin:0;
  max-width:760px;
  color:var(--cxpb-muted);
  font-size:14px;
  line-height:1.65;
}

.cxpb-head-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

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

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

.cxpb-card{
  min-width:0;
  padding:20px;
  border:1px solid var(--cxpb-line);
  border-radius:20px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.025),transparent),
    var(--cxpb-panel);
  box-shadow:0 18px 42px rgba(0,0,0,.16);
}

.cxpb-card.is-current{
  border-color:rgba(153,204,63,.50);
  box-shadow:
    0 18px 42px rgba(0,0,0,.18),
    inset 0 0 0 1px rgba(153,204,63,.10);
}

.cxpb-card.is-featured{
  background:
    radial-gradient(circle at top right,rgba(153,204,63,.10),transparent 44%),
    var(--cxpb-panel);
}

.cxpb-card-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.cxpb-plan{
  margin:0;
  color:#fff;
  font-size:20px;
  font-weight:950;
}

.cxpb-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:4px 9px;
  border-radius:999px;
  background:rgba(148,163,184,.10);
  color:#cbd5e1;
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cxpb-badge.good{
  color:#6ee7b7;
  background:rgba(52,211,153,.10);
}

.cxpb-badge.warn{
  color:#fde68a;
  background:rgba(251,191,36,.10);
}

.cxpb-price{
  margin:20px 0 5px;
  color:#fff;
  font-size:30px;
  font-weight:950;
  letter-spacing:-.04em;
}

.cxpb-price small{
  color:var(--cxpb-muted);
  font-size:12px;
  font-weight:700;
  letter-spacing:0;
}

.cxpb-desc{
  min-height:42px;
  margin:0 0 16px;
  color:var(--cxpb-muted);
  font-size:13px;
  line-height:1.55;
}

.cxpb-list{
  display:grid;
  gap:9px;
  margin:16px 0 20px;
  padding:0;
  list-style:none;
}

.cxpb-list li{
  display:flex;
  gap:8px;
  align-items:flex-start;
  color:var(--cxpb-soft);
  font-size:13px;
  line-height:1.45;
}

.cxpb-list li::before{
  content:"✓";
  flex:0 0 auto;
  color:var(--cxpb-brand2);
  font-weight:950;
}

.cxpb-btn{
  appearance:none;
  min-height:44px;
  box-sizing:border-box;
  border:0;
  border-radius:13px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  background:#17243a;
  color:#fff;
  font:inherit;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

.cxpb-btn:hover{
  background:#20314d;
}

.cxpb-btn.primary{
  color:#08120a;
  background:linear-gradient(135deg,#84b832,#a8d84e);
}

.cxpb-btn.ghost{
  border:1px solid var(--cxpb-line2);
  background:transparent;
}

.cxpb-btn.block{
  width:100%;
}

.cxpb-btn:disabled{
  opacity:.48;
  cursor:not-allowed;
}

.cxpb-section{
  margin-top:20px;
}

.cxpb-section-title{
  margin:0 0 12px;
  color:#fff;
  font-size:17px;
  font-weight:900;
}

.cxpb-stat-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}

.cxpb-stat{
  min-width:0;
  padding:15px;
  border:1px solid var(--cxpb-line);
  border-radius:16px;
  background:rgba(255,255,255,.025);
}

.cxpb-stat-label{
  color:var(--cxpb-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cxpb-stat-value{
  margin-top:7px;
  color:#fff;
  font-size:18px;
  font-weight:900;
  word-break:break-word;
}

.cxpb-note,
.cxpb-alert{
  padding:13px 15px;
  border:1px solid var(--cxpb-line);
  border-radius:14px;
  background:rgba(255,255,255,.035);
  color:#dbeafe;
  font-size:13px;
  line-height:1.55;
}

.cxpb-note{
  margin-top:16px;
  border-color:rgba(251,191,36,.20);
  background:rgba(251,191,36,.06);
  color:#fde68a;
}

.cxpb-alert{
  margin-bottom:18px;
}

.cxpb-alert.success{
  border-color:rgba(52,211,153,.22);
  background:rgba(52,211,153,.07);
  color:#a7f3d0;
}

.cxpb-alert.error{
  border-color:rgba(251,113,133,.24);
  background:rgba(251,113,133,.07);
  color:#fecdd3;
}

.cxpb-loading,
.cxpb-empty{
  padding:30px;
  text-align:center;
  color:var(--cxpb-muted);
  font-size:14px;
}

.cxpb-divider{
  height:1px;
  margin:16px 0;
  background:var(--cxpb-line);
}

.cxpb-muted{
  color:var(--cxpb-muted);
}

.cxpb-admin-form{
  display:grid;
  gap:13px;
  margin-top:18px;
}

.cxpb-field{
  display:grid;
  gap:6px;
}

.cxpb-field label{
  color:var(--cxpb-muted);
  font-size:11px;
  font-weight:900;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.cxpb-field input,
.cxpb-field select{
  width:100%;
  min-height:44px;
  box-sizing:border-box;
  border:1px solid var(--cxpb-line2);
  border-radius:12px;
  background:#081426;
  color:#fff;
  padding:0 12px;
  font:inherit;
  font-size:13px;
  outline:none;
}

.cxpb-field input:focus,
.cxpb-field select:focus{
  border-color:rgba(153,204,63,.55);
  box-shadow:0 0 0 3px rgba(153,204,63,.08);
}

.cxpb-field input:disabled{
  opacity:.55;
  cursor:not-allowed;
}

.cxpb-check{
  display:flex;
  min-height:44px;
  align-items:center;
  gap:9px;
  color:#e2e8f0;
  font-size:13px;
}

.cxpb-check input{
  width:18px;
  height:18px;
}

.cxpb-spinner{
  width:17px;
  height:17px;
  border:2px solid rgba(255,255,255,.24);
  border-top-color:currentColor;
  border-radius:999px;
  animation:cxpb-spin .8s linear infinite;
}

@keyframes cxpb-spin{
  to{transform:rotate(360deg)}
}

@media(max-width:980px){
  #cx-plan-billing-r12r111-root{
    padding:22px 18px;
  }

  .cxpb-grid,
  .cxpb-grid-2{
    grid-template-columns:1fr 1fr;
  }

  .cxpb-stat-grid{
    grid-template-columns:1fr 1fr;
  }
}

@media(max-width:680px){
  #cx-plan-billing-r12r111-root{
    padding:18px 12px 28px;
  }

  .cxpb-head{
    display:grid;
  }

  .cxpb-head-actions{
    width:100%;
  }

  .cxpb-head-actions .cxpb-btn{
    flex:1;
  }

  .cxpb-title{
    font-size:25px;
  }

  .cxpb-grid,
  .cxpb-grid-2,
  .cxpb-stat-grid{
    grid-template-columns:1fr;
  }

  .cxpb-card{
    padding:17px;
    border-radius:17px;
  }

  .cxpb-price{
    font-size:27px;
  }
}


/* CODSHIPX_R12_R115_LIFECYCLE_UI_ADMIN_BILLING */

.cxpb-lifecycle{
  display:grid;
  gap:14px;
}

.cxpb-lifecycle-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}

.cxpb-lifecycle-actions .cxpb-btn{
  min-width:150px;
}

.cxpb-billing-list{
  display:grid;
  gap:12px;
}

.cxpb-billing-row{
  display:grid;
  grid-template-columns:minmax(220px,1.35fr) repeat(4,minmax(130px,.8fr));
  gap:12px;
  align-items:center;
  padding:16px;
  border:1px solid var(--cxpb-line);
  border-radius:17px;
  background:var(--cxpb-panel);
}

.cxpb-billing-row strong{
  color:#fff;
}

.cxpb-billing-name{
  color:#fff;
  font-size:14px;
  font-weight:900;
}

.cxpb-billing-meta{
  margin-top:4px;
  color:var(--cxpb-muted);
  font-size:12px;
  line-height:1.45;
  overflow-wrap:anywhere;
}

.cxpb-billing-cell{
  min-width:0;
}

.cxpb-billing-label{
  color:var(--cxpb-muted);
  font-size:10px;
  font-weight:900;
  letter-spacing:.05em;
  text-transform:uppercase;
}

.cxpb-billing-value{
  margin-top:5px;
  color:#e2e8f0;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}

.cxpb-search{
  width:min(360px,100%);
  min-height:44px;
  box-sizing:border-box;
  border:1px solid var(--cxpb-line2);
  border-radius:13px;
  padding:0 13px;
  background:#081426;
  color:#fff;
  font:inherit;
  font-size:13px;
  outline:none;
}

.cxpb-search:focus{
  border-color:rgba(153,204,63,.55);
  box-shadow:0 0 0 3px rgba(153,204,63,.08);
}

@media(max-width:1100px){
  .cxpb-billing-row{
    grid-template-columns:1fr 1fr 1fr;
  }

  .cxpb-billing-row .cxpb-billing-cell:first-child{
    grid-column:1/-1;
  }
}

@media(max-width:680px){
  .cxpb-lifecycle-actions{
    display:grid;
  }

  .cxpb-lifecycle-actions .cxpb-btn{
    width:100%;
  }

  .cxpb-billing-row{
    grid-template-columns:1fr;
  }

  .cxpb-billing-row .cxpb-billing-cell:first-child{
    grid-column:auto;
  }
}

