/* Remove main background color (transparent / theme background will show) */
.wpfot-page{
  background: transparent;
  padding: 0;
}

/* Center wrapper */
.wpfot-wrap{
  display:flex;
  justify-content:center;
  padding: 18px 14px;
}

/* 50% / 50% columns */
.wpfot-shell{
  width: min(1200px, 100%);
  display:grid;
  grid-template-columns: 1fr 1fr; /* ✅ 50/50 */
  gap: 18px;
  align-items: stretch;
}

@media (max-width: 980px){
  .wpfot-shell{ grid-template-columns: 1fr; }
}

/* White cards */
.wpfot-card{
  background: #ffffff;
  color: #0f172a;
  border-radius: 18px;
  padding: 18px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

/* Titles */
.wpfot-title{
  margin:0 0 10px;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: .2px;
  color: #1b2a82;
}

.wpfot-titleSmall{
  font-size: 22px;
  font-weight: 900;
  color: #0f172a;
}

/* Steps */
.wpfot-steps{
  margin: 0;
  padding-left: 20px;
  display:flex;
  flex-direction:column;
  gap: 14px;
  font-size: 16px;
}

.wpfot-steps strong{
  color:#0f172a;
}

.wpfot-miniHint{
  margin-top: 6px;
  font-size: 13px;
  color: rgba(15, 23, 42, 0.75);
}

/* Upload */
.wpfot-upload input{ position:absolute; left:-9999px; }
.wpfot-uploadLabel{
  display:block;
  margin-top: 10px;
  background: #034EA2;
  color:#f3f3f3;
  border-radius:12px;
  padding: 14px 14px;
  font-weight: 900;
  cursor:pointer;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.12);
}
.wpfot-uploadLabel span{
  display:block;
  margin-top:6px;
  font-weight:700;
  opacity:.75;
  font-size: 13px;
}

/* Export buttons */
.wpfot-exportBox{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.wpfot-meta{
  margin-top: 14px;
  font-size: 15px;
  color: rgba(15, 23, 42, 0.8);
}

/* Tip box (light) */
.wpfot-tip{
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  background: #f1f5f9;
  color: rgba(15, 23, 42, 0.85);
  padding: 14px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.06);
}

/* Right preview layout */
.wpfot-previewArea{
  display:flex;
  justify-content:center;
}

.wpfot-previewCard{
  width: 100%;
}

/* Preview header */
.wpfot-previewHeader{
  display:flex;
  justify-content:flex-start;
  align-items:center;
  margin-bottom: 10px;
}

/* Preview stage */
.wpfot-stage{
  border-radius: 16px;
  padding: 12px;
  background: #f3f4f6;
  box-shadow: inset 0 0 0 1px rgba(15,23,42,0.08);
}

.wpfot-stage-light{
  height: 420px;
  display:flex;
  align-items:center;
  justify-content:center;
}

@media (max-width: 980px){
  .wpfot-stage-light{ height: 320px; }
}

#wpfotCanvas{
  width:100%;
  height:100%;
  border-radius: 14px;
  background: rgba(0,0,0,0.03);
  touch-action:none;
}

/* Buttons */
.wpfot-btn{
  border:0;
  border-radius: 999px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 14px;
  cursor:pointer;
  width:100%;
  line-height: 1.1;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
}

.wpfot-bottomBar{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

@media (max-width: 980px){
  .wpfot-bottomBar{ grid-template-columns: repeat(2, 1fr); }
}

/* Green buttons */
.wpfot-btn-green,
.wpfot-btn-download,
.wpfot-btn-share{
  background: #034EA2;
  color: #fbfbfb;
  box-shadow: 0 8px 16px rgba(0,0,0,0.10);
}

.wpfot-btn:disabled{
  opacity:.55;
  cursor:not-allowed;
  box-shadow:none;
  filter: grayscale(0.2);
}
