/* spc.css - gallery grid, card, vote button */
.spc-gallery{ display:grid; grid-template-columns: repeat(1,1fr); gap:18px; padding:18px; box-sizing:border-box; }
@media(min-width:640px){ .spc-gallery{ grid-template-columns: repeat(2,1fr); } }
@media(min-width:980px){ .spc-gallery{ grid-template-columns: repeat(3,1fr); } }
@media(min-width:1280px){ .spc-gallery{ grid-template-columns: repeat(4,1fr); } }

.spc-entry{
  background:#fff;
  border:1px solid #eee;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 18px rgba(16,24,40,.06);
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
  align-items:stretch;
}
.spc-entry:hover{ transform:translateY(-6px); box-shadow:0 12px 30px rgba(16,24,40,.08); }

.spc-entry .spc-thumb{ width:100%; display:block; object-fit:cover; height:220px; background:#f6f6f6; }
.spc-entry .spc-meta{ padding:12px 14px; flex:1 1 auto; display:flex; flex-direction:column; gap:8px; }
.spc-entry h4{ margin:0; font-size:16px; color:#0f1724; font-weight:600; }
.spc-entry p{ margin:0; font-size:13px; color:#475569; }

.spc-footer{ display:flex; align-items:center; justify-content:space-between; padding:10px 14px; border-top:1px solid #f1f5f9; background:transparent; }
.spc-votes{ font-size:14px; color:#0f1724; font-weight:600; display:flex; gap:8px; align-items:center; }
.spc-count{ background:#f1f5f9; padding:6px 8px; border-radius:8px; font-weight:700; }

.spc-vote-button{
  background:linear-gradient(90deg,#06b6d4,#7c3aed);
  border:none;
  color:#fff;
  padding:8px 12px;
  border-radius:10px;
  cursor:pointer;
  font-weight:700;
  font-size:14px;
  box-shadow:0 6px 16px rgba(124,58,237,.12);
  transition:transform .12s ease, opacity .12s ease;
}
.spc-vote-button:hover{ transform:translateY(-2px); }
.spc-vote-button[disabled], .spc-vote-button.disabled{
  opacity:.55; cursor:not-allowed; transform:none; box-shadow:none;
}
.spc-vote-button .spinner{ display:inline-block; width:14px; height:14px; border:2px solid rgba(255,255,255,.25); border-top-color:#fff; border-radius:50%; animation: spc-spin .8s linear infinite; margin-right:6px; vertical-align:-2px; }
@keyframes spc-spin{ to{ transform:rotate(360deg); } }

@media (max-width:420px){ .spc-entry .spc-thumb{ height:160px; } .spc-gallery{ gap:12px; padding:12px; } }

/* ---------- FORM DESIGN (NO BG IMAGE) ---------- */
/* wrapper: no background here — page/section background should be set by WP section */
.spc-wrapper{
  padding: 80px 0;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:100vh;
  box-sizing:border-box;
}

/* translucent centered box */
.spc-form-container{
  width: 92%;
  max-width: 520px;
  background: rgba(200, 200, 200, 0.3); /* translucent panel */
  padding: 36px 30px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  color: #f8fafc;
  box-shadow: 0 12px 30px rgba(2,6,23,0.45);
  border: 1px solid rgba(255,255,255,0.04);
  box-sizing:border-box;
}

/* title */
.spc-title{
  text-align:center;
  font-size:28px;
  font-weight:700;
  margin-bottom:20px;
  letter-spacing:1px;
  color:#ffffff;
}

/* labels and inputs */
.spc-form-container label{
  display:block;
  margin-top:12px;
  font-size:15px;
  color: rgba(0,0,0,1);
}
.spc-form-container input,
.spc-form-container select,
.spc-form-container textarea{
  width:92%;
  padding:10px 12px;
  margin-top:6px;
  border-radius:6px;
  border:none;
  background: rgba(255,255,255,1.5);
  color: #000;
  font-size:14px;
  box-sizing:border-box;
}
.spc-form-container input::placeholder,
.spc-form-container textarea::placeholder{
  color: rgba(255,255,255,0.6);
}

/* submit */
.spc-submit{
  width:100%;
  background: linear-gradient(90deg,#ff2958,#ff0044);
  color:#fff;
  padding:12px;
  border:none;
  margin-top:20px;
  border-radius:6px;
  font-size:15px;
  cursor:pointer;
  font-weight:700;
  box-shadow: 0 8px 20px rgba(255,0,68,0.12);
}
.spc-submit:hover{ opacity:0.95; transform:translateY(-1px); }

/* small note */
.spc-form-container .spc-note{
  margin-top:12px;
  font-size:12px;
  color: rgba(255,255,255,0.7);
  text-align:center;
}

/* responsive tweaks */
@media (max-width:480px){
  .spc-form-container{ padding:22px; border-radius:8px; }
  .spc-title{ font-size:20px; margin-bottom:14px; }
  .spc-wrapper{ padding:40px 0; min-height:auto; }
}
