/* =========================
   STATUS BOX
========================= */

.status-box{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:16px 20px;
  margin:20px 0;
}

.status-box p{
  margin:8px 0;
}

/* STATUS COLORS */
.status-pending{
  color:#ffb300;
  font-weight:800;
}

.status-active{
  color:#2cd38d;
  font-weight:800;
}

.status-rejected{
  color:#ff4f5a;
  font-weight:800;
}

/* PENDING STATE */
.status-box.pending{
  border:1px solid #ffb300 !important;
}

.status-box.pending #accountStatus{
  color:#ffb300 !important;
  font-weight:900;
}

.status-box.pending #pendingHelpText{
  color:#ffb300 !important;
  font-weight:900;
  margin:8px 0;
  display:block;
}

/* =========================
   TOOL GRID
========================= */

.tool-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
  margin-top:20px;
}

/* =========================
   TOOL CARDS
========================= */

.tool-card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  display:grid;
  grid-template-columns:110px 1fr;
  column-gap:18px;
  align-items:start;
}

/* HEADINGS */
.tool-card h3{
  grid-column:2;
  margin:0 0 8px 0;
  color:var(--brand);
}

/* DESCRIPTION */
.tool-card p{
  grid-column:2;
  margin:0 0 12px 0;
  color:var(--muted);
}

/* CTA */
.tool-card span{
  grid-column:2;
}

/* =========================
   STEP LABELS
========================= */

.tool-card{
  position:relative;
}

.step-label{
  position:absolute;
  top:12px;
  right:12px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:5px 10px;
  border-radius:999px;
  background:#ffb300;
  color:#000;
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  line-height:1;
  z-index:2;
}
/* =========================
   DASHBOARD TOOL ICONS
========================= */

.dashboard-icon-circle{
  grid-column:1;
  grid-row:1 / span 3;
  width:90px;
  height:90px;
  border-radius:18px;
  border:2px solid #2cd38d;
  background:#111;
  display:flex;
  align-items:center;
  justify-content:center;
  align-self:start;
  margin:0;
  flex-shrink:0;
}

.dashboard-icon-circle img{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
}

/* =========================
   LOGO PREVIEW
========================= */

#logoPreviewContainer,
#dashboardLogoContainer{
  display:flex;
  justify-content:center;
  margin:15px 0;
}

#logoPreviewContainer img,
.business-logo-preview{
  width:160px;
  height:160px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #ffffff;
  display:block;
  margin:0 auto;
  background:#111;
}

#dashboardLogoContainer img,
.dashboard-logo{
  width:160px;
  height:160px;
  object-fit:cover;
  border-radius:50%;
  border:3px solid #ffffff;
  display:block;
  margin:0 auto;
  background:#111;
}

/* =========================
   GURU POINTS SETTINGS
========================= */

.switch{
  position:relative;
  display:inline-block;
  width:58px;
  height:32px;
  margin-top:10px;
  margin-bottom:18px;
}

.switch input{
  opacity:0;
  width:0;
  height:0;
}

.slider{
  position:absolute;
  cursor:pointer;
  inset:0;
  background:#2a2a2a;
  border:1px solid #3a3a3a;
  transition:0.25s;
}

.slider:before{
  position:absolute;
  content:"";
  height:24px;
  width:24px;
  left:4px;
  bottom:3px;
  background:#ffffff;
  transition:0.25s;
}

input:checked + .slider{
  background:#2cd38d;
  border-color:#2cd38d;
}

input:checked + .slider:before{
  transform:translateX(25px);
}

.slider.round{
  border-radius:999px;
}

.slider.round:before{
  border-radius:50%;
}

/* INPUT SPACING */
#cashbackRateSelect,
#doublePointsDate{
  margin-top:10px;
  margin-bottom:18px;
}

/* STATUS */
#programStatus,
#currentRateText{
  font-weight:900;
  color:#2cd38d;
}

/* SUMMARY GRID */
.offer-summary-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(160px,1fr));
  gap:14px;
}

.offer-summary-box{
  background:#111;
  border:1px solid #242424;
  border-radius:14px;
  padding:16px;
}

.offer-summary-box strong{
  display:block;
  font-size:13px;
  color:#b7b7b7;
  margin-bottom:8px;
}

.offer-summary-box span{
  font-size:22px;
  font-weight:900;
  color:#2cd38d;
}
/* QR DISPLAY CARD FIX */
.qr-display-card{
  display:block !important;
  text-align:center !important;
}

.qr-display-card #qrContainer{
  display:flex;
  justify-content:center;
  align-items:center;
  width:100%;
}

.qr-display-card canvas,
.qr-display-card img{
  display:block;
  margin:0 auto;
}
/* STAFF MANAGEMENT CARD FIX */
#staffList .tool-card{
  display:block;
  background:var(--card);
  border:1px solid var(--line);
  border-radius:18px;
  padding:22px;
  margin-top:18px;
}

#staffList .tool-card h3{
  margin:0 0 14px;
  color:var(--brand);
  font-size:22px;
  font-weight:900;
}

#staffList .tool-card p{
  margin:0 0 10px;
  color:var(--muted);
  font-size:15px;
}

#staffList .tool-card p strong{
  color:#fff;
}

#staffList .tool-card .secondary-btn,
#staffList .tool-card .danger-btn{
  width:100%;
  margin-top:12px;
  border-radius:999px;
  padding:14px;
}
