/* Import Handlee and apply site-wide to the plugin */
@import url('https://fonts.googleapis.com/css2?family=Handlee&display=swap');

/* Pastel crafty vibe base (minimal spacing, Handlee font) */
.tclf-pf-wrapper {
  --mint: #e7f6ef;
  --pastel-green: #d1f1e1;
  --accent: #7cc6b2;
  --text: #2e3d35;
  --soft: #f9fffb;
  background: linear-gradient(180deg, var(--soft), var(--mint));
  border: 2px dashed var(--accent);
  border-radius: 12px;
  padding: 12px; /* reduced */
  box-shadow: 0 3px 14px rgba(0,0,0,0.04);
  font-family: 'Handlee', cursive;
  font-size: 17px; /* slightly larger */
  color: var(--text);
}

.tclf-pf-form .tclf-pf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 10px; /* slightly reduced */
}
.tclf-pf-field {
  background: white;
  border: 1px solid #cfe7dc;
  border-radius: 10px;
  padding: 8px; /* reduced */
}
.tclf-pf-field label {
  display: block;
  font-size: 0.95rem; /* slightly larger label in Handlee */
  font-weight: 700;
  margin-bottom: 6px;
  color: #315a4c;
}
.tclf-pf-field input[type="text"],
.tclf-pf-field select {
  width: 100%;
  border: 1px solid #bfe3d3;
  border-radius: 8px;
  padding: 7px 9px; /* reduced */
  background: #f7fffb;
  color: var(--text);
  font-family: 'Handlee', cursive;
  font-size: 1rem;
}
.tclf-pf-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px; /* reduced */
}
.tclf-pf-btn {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px; /* reduced */
  background: var(--accent);
  color: white;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Handlee', cursive;
}
.tclf-pf-secondary {
  background: #a4dacf;
  color: #1d3b33;
}

.tclf-pf-status {
  margin-top: 8px; /* reduced */
  font-size: 1rem;
  color: #2b584a;
}

/* Results grid (classic look) */
.tclf-pf-results {
  margin-top: 10px; /* reduced */
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 8px; /* reduced */
}
.tclf-pf-card {
  background: #ffffff;
  border: 1px solid #cfe7dc;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .12s ease, box-shadow .12s ease;
}
.tclf-pf-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.tclf-pf-thumb {
  aspect-ratio: 1/1;
  width: 100%;
  object-fit: cover;
  display: block;
  background: #f1faf6;
}
.tclf-pf-title-sm {
  padding: 7px; /* reduced */
  font-size: 1.02rem; /* slightly larger for handwritten legibility */
  font-weight: 700;
  line-height: 1.2;
  color: #2c4f43;
  font-family: 'Handlee', cursive;
}

@media (max-width: 980px) {
  .tclf-pf-results { grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 640px) {
  .tclf-pf-form .tclf-pf-grid { grid-template-columns: 1fr; }
  .tclf-pf-results { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

/* Pagination — uniform numbers, no highlight/hover */
.tclf-pf-pagination{
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 10px; /* reduced */
  align-items: center;
  justify-content: center;
}
.tclf-pf-page, .tclf-pf-next, .tclf-pf-prev{
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid #bfe3d3;
  background: #f7fffb;
  color: #2e3d35;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  font-family: 'Handlee', cursive;
}
/* Remove all visual distinction for active/hover states */
.tclf-pf-page[aria-current="page"]{ background: #f7fffb; color: #2e3d35; border-color: #bfe3d3; font-weight: 700; }
.tclf-pf-page:hover, .tclf-pf-next:hover, .tclf-pf-prev:hover { background: #f7fffb; }
.tclf-pf-disabled{ opacity: .4; pointer-events: none; }
