body {
  font-family: 'Poppins', sans-serif;
  background: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

section {
  padding: 40px 20px;
  max-width: 900px;
  margin: auto;
}

h1, h2 {
  color: #80bb01;
}

.btn {
  background: #80bb01;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  margin: 10px 5px;
  display: inline-block;
}

ul, ol {
  margin-left: 20px;
}

.profiles {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.profile {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
  flex: 1;
}

/* Container styling */
.soil-guardian-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px;
  background: #f5faeb;
  border: 1px solid #e7e7e7;
  border-radius: 12px;
}

/* Field wrapper spacing */
.soil-guardian-form .form-field {
  margin-bottom: 20px;
}

/* Labels */
.soil-guardian-form label {
  display: block;
  font-weight: 600;
  color: #2d2d2d;
  margin-bottom: 6px;
  font-size: 16px;
}

/* Inputs, selects, textareas */
.soil-guardian-form input[type=text],
.soil-guardian-form input[type=email],
.soil-guardian-form input[type=tel],
.soil-guardian-form select,
.soil-guardian-form textarea {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Submit button */
.soil-guardian-form input[type=submit],
.soil-guardian-form button[type=submit] {
  width: 100%;
  background: #80bb01;
  color: #fff;
  padding: 14px 0;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  transition: background .2s ease;
}

.soil-guardian-form input[type=submit]:hover,
.soil-guardian-form button[type=submit]:hover {
  background: #6ca000;
}
/* Two-column row */
.soil-guardian-form .form-row.two-col {
  display: flex;
  gap: 20px;
}
.soil-guardian-form .form-row.two-col .form-field {
  flex: 1;
}
/* Guardian Form Container */
.cf-guardian-form {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;
  font-family: "Segoe UI", sans-serif;
}

/* Header strip */
.cf-guardian-form .form-header {
  background: linear-gradient(90deg, #80bb01, #6ca000);
  padding: 24px;
  text-align: center;
  color: #fff;
}
.cf-guardian-form .form-header h2 {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
}
.cf-guardian-form .form-header .form-intro {
  margin-top: 8px;
  font-size: 15px;
  color: #f0f0f0;
}

/* Inner content */
.cf-guardian-form .form-row,
.cf-guardian-form .form-field,
.cf-guardian-form h4,
.cf-guardian-form p {
  padding-left: 32px;
  padding-right: 32px;
}

/* Two-column layout */
.cf-guardian-form .form-row.two-col {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 20px;
}
.cf-guardian-form .form-row.two-col .form-field {
  flex: 1;
  min-width: 250px;
}
@media (max-width: 600px) {
  .cf-guardian-form .form-row.two-col {
    flex-direction: column;
    gap: 16px;
  }
}

/* Labels & Inputs */
.cf-guardian-form label {
  font-weight: 600;
  color: #444;
  margin-bottom: 6px;
  display: block;
}
.cf-guardian-form input[type=text],
.cf-guardian-form input[type=number],
.cf-guardian-form input[type=url],
.cf-guardian-form input[type=file],
.cf-guardian-form select,
.cf-guardian-form textarea {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 15px;
  width: 100%;
  transition: border-color .2s, background .2s;
}
.cf-guardian-form input:focus,
.cf-guardian-form select:focus,
.cf-guardian-form textarea:focus {
  border-color: #80bb01;
  background: #fff;
  outline: none;
}

/* Section headings */
.cf-guardian-form h4 {
  margin: 24px 0 12px;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 6px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
/* Prevent breaking words like "Vegetables" */
.cf-guardian-form .veg-list-box h3 {
  white-space: normal;        /* allow wrapping */
  word-break: keep-all;       /* don't break words mid-way */
  overflow-wrap: normal;      /* modern property */
  hyphens: none;              /* disable auto-hyphenation */
}
/* Checkbox fields */
.cf-guardian-form .checkbox-field {
  background: #f9f9f9;
  padding: 12px 32px;
  border-radius: 6px;
  border: 1px solid #eee;
  margin: 16px 32px;
}
.cf-guardian-form input[type=checkbox] {
  margin-right: 8px;
  transform: scale(1.2);
}

/* Vegetable list box */
.cf-guardian-form .veg-list-box {
  background: #f9fdf4;
  border: 1px solid #dceec7;
  padding: 20px 32px;
  border-radius: 10px;
  margin: 24px 32px;
  animation: fadeIn 0.4s ease;
}
.cf-guardian-form #veg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 12px 0;
  padding-left: 0;
  list-style: none;
}
.cf-guardian-form #veg-list li {
  background: #fff;
  border: 1px solid #e2e2e2;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 14px;
}
.cf-guardian-form .veg-list-box .consent {
  display: block;
  margin-top: 16px;
  font-size: 14px;
  color: #444;
}

/* Submit button */
.cf-guardian-form .form-actions {
  text-align: center;
  margin: 24px 0 32px;
}
.cf-guardian-form button[type=submit] {
  background: linear-gradient(90deg, #80bb01, #6ca000);
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 18px;
  color: #fff;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.cf-guardian-form button[type=submit]:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(128,187,1,0.3);
}
@media (max-width: 480px) {
  .cf-guardian-form .veg-list-box h3 {
    font-size: 18px;
  }
}
/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (max-width: 768px) {
  .cf-guardian-dashboard table,
  .cf-guardian-dashboard thead,
  .cf-guardian-dashboard tbody,
  .cf-guardian-dashboard th,
  .cf-guardian-dashboard td,
  .cf-guardian-dashboard tr {
    display: block;
    width: 100%;
  }

  .cf-guardian-dashboard thead {
    display: none; /* hide table header */
  }

  .cf-guardian-dashboard tr {
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    background: #fafafa;
  }

  .cf-guardian-dashboard td {
    border: none;
    padding: 6px 0;
  }

  .cf-guardian-dashboard td:before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
    color: #333;
  }
}
/* General card styling */
.cf-dashboard-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  margin-bottom: 20px;
  line-height: 1.6; /* ✅ Adjusted line spacing */
}

/* Headings */
.cf-dashboard-card h4 {
  color: #2E7D32;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Stats rows */
.cf-dashboard-card .stat {
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

/* Dropdowns */
.cf-dropdown {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px; /* ✅ Extra spacing between dropdowns */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

/* Buttons */
.cf-button-primary {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #43A047, #66BB6A);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.cf-button-secondary {
  display: inline-block;
  background: #fff;
  border: 1px solid #e53935;
  color: #e53935;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
}

/* Empty state */
.cf-empty-state {
  margin-top: 12px;
  color: #777;
  font-size: 13px;
  text-align: center;
}
.cf-dropdown {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px; /* ✅ extra spacing between farm & crop dropdowns */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}
/* General card styling */
.cf-dashboard-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 16px;
  margin-bottom: 20px;
  line-height: 1.6; /* ✅ Adjusted line spacing */
}

/* Headings */
.cf-dashboard-card h4 {
  color: #2E7D32;
  margin-bottom: 12px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Stats rows */
.cf-dashboard-card .stat {
  margin-bottom: 8px;
  color: #444;
  font-size: 14px;
}

/* Dropdowns */
.cf-dropdown {
  width: 100%;
  padding: 10px;
  margin-bottom: 16px; /* ✅ Extra spacing between dropdowns */
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
}

/* Buttons */
.cf-button-primary {
  display: block;
  width: 100%;
  background: linear-gradient(90deg, #43A047, #66BB6A);
  color: #fff;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.cf-button-secondary {
  display: inline-block;
  background: #fff;
  border: 1px solid #e53935;
  color: #e53935;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  text-decoration: none;
}

/* Empty state */
.cf-empty-state {
  margin-top: 12px;
  color: #777;
  font-size: 13px;
  text-align: center;
}
/* Card container */
.cf-card {
  background: #ffffff;
  border: 2px solid #4CAF50; /* brand green */
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Title */
.cf-card-title {
  margin: 0 0 10px;
  font-size: 1.2em;
  color: #2e7d32; /* darker green */
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 6px;
}

/* Body text */
.cf-card-body p {
  margin: 6px 0;
  font-size: 0.95em;
  color: #333;
}

/* Actions */
.cf-card-actions {
  margin-top: 12px;
}

/* Buttons */
.cf-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  border: none;
}

.cf-btn-primary {
  background: #4CAF50;
  color: #fff;
}

.cf-btn-secondary {
  background: #f1f8e9;
  color: #2e7d32;
  border: 1px solid #4CAF50;
}

.cf-btn:hover {
  opacity: 0.9;
}

/* Responsive: stack cards */
@media (max-width: 768px) {
  .cf-card {
    padding: 12px;
  }
  .cf-card-title {
    font-size: 1em;
  }
}
/* ============================
   Customer Dashboard Styling
   ============================ */

/* Wrapper */
.cf-dashboard {
  background: #fdfdfd;
  padding: 20px;
  border-radius: 8px;
}

/* Card-style table rows */
.cf-table-wrapper table {
  border-collapse: separate;
  border-spacing: 0 12px;
  width: 100%;
}

.cf-table-wrapper table tr {
  background: #ffffff;
  border: 2px solid #4CAF50; /* brand green */
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cf-table-wrapper table td {
  padding: 12px;
  vertical-align: middle;
}

.cf-table-wrapper table td:first-child {
  font-weight: bold;
  color: #2e7d32; /* darker green */
}

/* Buttons */
.cf-table-wrapper .button {
  border-radius: 4px;
  padding: 6px 12px;
  font-size: 0.9em;
}

.cf-table-wrapper .button-primary {
  background: #4CAF50;
  border: none;
  color: #fff;
}

.cf-table-wrapper .button:hover {
  opacity: 0.9;
}

/* Responsive: collapse into cards on mobile */
@media (max-width: 600px) {
  .cf-table-wrapper table thead {
    display: none;
  }
  .cf-table-wrapper table tr {
    display: block;
    margin-bottom: 15px;
    padding: 10px;
  }
  .cf-table-wrapper table td {
    display: block;
    text-align: right;
    border: none;
    border-bottom: 1px solid #eee;
  }
  .cf-table-wrapper table td:last-child {
    border-bottom: none;
  }
  .cf-table-wrapper table td::before {
    content: attr(data-label);
    float: left;
    font-weight: bold;
    color: #333;
  }
}
.cf-card {
  background: #fff;
  border: 2px solid #4CAF50;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cf-card-title {
  margin: 0 0 8px;
  font-size: 1.1em;
  color: #2e7d32;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.cf-btn {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.9em;
  cursor: pointer;
  text-decoration: none;
}

.cf-btn-secondary {
  background: #f1f8e9;
  color: #2e7d32;
  border: 1px solid #4CAF50;
}
/* Guardian Dashboard Styling */
.cf-card {
  background: #fff;
  border: 2px solid #4CAF50;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.cf-card-title {
  margin: 0 0 10px;
  font-size: 1.1em;
  color: #2e7d32;
  border-bottom: 1px solid #eee;
  padding-bottom: 4px;
}

.cf-filter label {
  display: inline-block;
  margin-right: 20px;
  font-weight: bold;
}

.cf-btn-primary {
  background: #4CAF50;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  text-decoration: none;
}

.cf-btn-primary:hover {
  background: #388e3c;
}
/* Base button */
.cf-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Primary (green filled) */
.cf-btn-primary {
  background: #4CAF50;
  color: #fff;
  border: 2px solid #4CAF50;
}
.cf-btn-primary:hover {
  background: #388e3c;
  border-color: #388e3c;
}

/* Outline (green border only) */
.cf-btn-outline {
  background: #fff;
  color: #2e7d32;
  border: 2px solid #4CAF50;
}
.cf-btn-outline:hover {
  background: #f1f8e9;
}

/* Align buttons nicely */
.cf-dashboard form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
/* Action form container */
.cf-action-form {
  display: flex;
  gap: 12px;              /* more breathing space */
  flex-wrap: wrap;        /* stack on mobile */
  justify-content: center;
  margin: 6px 0;          /* vertical spacing inside table cell */
}

/* Buttons */
.cf-btn {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 0.9em;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

/* Primary (Accept Delivery) */
.cf-btn-primary {
  background: #80bb01;
  color: #fff;
  border: 2px solid #4CAF50;
}
.cf-btn-primary:hover {
  background: #388e3c;
  border-color: #388e3c;
}

/* Outline (Send to Pool) */
.cf-btn-outline {
  background: #80bb01;
  color: #fff;          /* brand green text */
  border: 2px solid #80bb01;
}

.cf-btn-outline:hover {
  background: #f6fdf0;     /* subtle greenish hover background */
  color: #80bb01;
  border-color: #80bb01;
}
.cf-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 10px;
}

.cf-filter label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  font-size: 0.95em;
  color: #333;
}

.cf-filter select {
  margin-top: 4px;
  padding: 6px 10px;
  border: 2px solid #80bb01;
  border-radius: 6px;
  font-size: 0.95em;
  min-width: 180px;
}
.cf-filter select {
  margin: 6px 12px 6px 0;
  padding: 6px 10px;
  border: 2px solid #80bb01;
  border-radius: 6px;
  min-width: 160px;
}
/* ===========================
   Farm Selection – Global Styles
   =========================== */

/* Info Box */
.cf-info-box {
  background: #f0f9f0;
  border: 1px solid #cce5cc;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 8px;
}
.cf-info-box h3 {
  margin-top: 0;
  color: #2e7d32;
}

/* Veg Grid Layout */
.veg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 15px;
}

/* Veg Card */
.veg-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  transition: box-shadow 0.2s;
  cursor: pointer;
}
.veg-card:hover {
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.veg-card input[type="checkbox"] {
  margin-bottom: 8px;
}
.veg-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  margin-bottom: 6px;
}
.veg-card .veg-name {
  font-size: 14px;
  font-weight: 500;
  text-align: center;
}

/* Button Styling */
.cf-selection-form .button-primary {
  background: #2e7d32;
  border-color: #2e7d32;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 6px;
}
.cf-selection-form .button-primary:hover {
  background: #256628;
}
/* === Block 1 & 2: WPBakery rows with icons/images === */
.steps-center .wpb_column > .vc_column-inner,
.icons-flow .wpb_column > .vc_column-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  gap: 8px;
}

/* Headings + text rhythm */
.steps-center h4,
.icons-flow h4 {
  font-size: 20px;
  font-weight: 600;
  color: #80bb01;
  margin: 10px 0 8px;
}
.steps-center p,
.icons-flow p {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  margin: 0;
}

/* Icon containment fix (Block 2) */
.icons-flow .vc_icon_element {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background-color: #f0f7e6;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 2px #80bb01;
}
.icons-flow .vc_icon_element .vc_icon_element-icon {
  font-size: 36px;
  line-height: 1;
  color: #80bb01;
}

/* === Block 3: Custom two-column section === */
.cf-no-flex {
  display: flex;
  flex-wrap: wrap;
  background-color: #f5faeb;
  text-align: left;
}
.cf-no-flex > div {
  flex: 1;
  min-width: 300px;
  padding: 40px;
}
.cf-no-flex > div:first-child {
  border-right: 2px solid #e0e0e0;
}

/* Headings centered, lists left */
.cf-no-flex h3 {
  font-size: 24px;
  font-weight: 700;
  color: #80bb01;
  margin-bottom: 16px;
  text-align: center;
}
.cf-no-flex ul {
  padding-left: 20px;
  margin: 0 0 12px;
}
.cf-no-flex ul li {
  font-size: 18px;
  line-height: 1.6;
  color: #2d2d2d;
}

/* Buttons */
.cf-no-flex a {
  display: block;
  width: 100%;
  padding: 14px 0;
  background-color: #80bb01;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s ease;
}
.cf-no-flex a:hover {
  background-color: #6ca000;
}

/* Responsive stacking for Block 3 */
@media (max-width: 768px) {
  .cf-no-flex {
    flex-direction: column;
  }
  .cf-no-flex > div {
    border-right: none !important;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }
  .cf-no-flex > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
}
/* ShopApni – Farm & Crop Filter (Card + Farm theme) */

/* Card container (keep if you need the overall look) */
.cf-card {
  background: #fff;
  border: 2px solid #80bb01;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(128, 187, 1, 0.15);
  /* Consider removing overflow hidden if dropdowns clip */
  /* overflow: hidden; */
  margin: 24px 0;
}

.cf-card .cf-card-title {
  margin: 0;
  padding: 16px 20px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #80bb01 0%, #6aa300 100%);
  border-bottom: 1px solid #6aa300;
}

.cf-card .cf-filter {
  padding: 20px;
}

/* Filter container with texture + overlay */
.cf-card .cf-filter #cf-farm-crop-filter {
  position: relative;
  background: url('https://shopapni.com/wp-content/uploads/2025/10/farm-texture-bg.jpg') no-repeat center center, #f8fff0;
  background-size: cover;
  border: 2px dashed #80bb01;
  border-radius: 12px;
  padding: 22px;
  overflow: visible; /* ensure dropdown not clipped */
  display: flex;     /* layout */
  gap: 20px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.cf-card .cf-filter #cf-farm-crop-filter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.65);
  border-radius: 10px;
  z-index: 0; /* overlay behind */
}

/* Make everything inside sit above overlay */
.cf-card .cf-filter #cf-farm-crop-filter > * {
  position: relative;
  z-index: 1;
}

/* Each column (Farm / Crop) */
.cf-card .cf-filter #cf-farm-crop-filter .cf-filter-item {
  flex: 1 1 0;       /* equal split, ignore content width */
  min-width: 240px;  /* avoid too narrow on mobile */
  display: flex;
  flex-direction: column;
}

/* Labels */
.cf-card .cf-filter #cf-farm-crop-filter label {
  margin-top: 12px;
  margin-bottom: 6px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #80bb01;
}

/* Selects — full width inside column */
.cf-card .cf-filter #cf-farm-crop-filter select {
  width: 100%;
  box-sizing: border-box; /* include padding in width */
  padding: 10px 12px;
  border: 1.5px solid #80bb01;
  border-radius: 8px;
  background-color: #f8fff0;
  font-size: 16px;
  color: #333;
}

.cf-card .cf-filter #cf-farm-crop-filter select:focus {
  outline: none;
  border-color: #6aa300;
  box-shadow: 0 0 0 3px rgba(128, 187, 1, 0.25);
}

/* Results heading and table — unchanged, but deduped */
#cf-filter-results h4 {
  margin: 18px 0 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #6aa300;
  display: inline-block;
  border-bottom: 2px solid #80bb01;
  padding-bottom: 4px;
}

#cf-filter-results table.widefat {
  border-collapse: collapse;
  border-spacing: 0;
}

#cf-filter-results table.widefat thead th {
  background: #80bb01;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-align: center;
  padding: 10px 8px;
}

#cf-filter-results table.widefat tbody td {
  text-align: center;
  padding: 10px 8px;
  border-top: 1px solid #eef5e6;
  font-size: 15px;
}

#cf-filter-results .harvest-status {
  width: 100%;
  max-width: 180px;
  padding: 8px 10px;
  border: 1.5px solid #80bb01;
  border-radius: 8px;
  background: #f8fff0;
}

#cf-filter-results .weight-input {
  width: 100px;
  padding: 6px 8px;
  border: 1.5px solid #80bb01;
  border-radius: 6px;
  background: #fff;
}

#cf-filter-results .weight-placeholder {
  color: #9aa08f;
  font-style: italic;
}

/* Primary button */
.button.button-primary {
  background: #80bb01;
  border: none;
  padding: 10px 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  color: #fff;
  border-radius: 8px;
  margin-top: 16px;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.05s ease-in-out;
}

.button.button-primary:hover {
  background: #6aa300;
}

.button.button-primary:active {
  transform: translateY(1px);
}

/* Subtle card divider to separate filter from table (optional) */
.cf-card .cf-filter #cf-farm-crop-filter + #cf-filter-results {
  margin-top: 14px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cf-card {
    border-radius: 12px;
    margin: 18px 0;
  }

  .cf-card .cf-card-title {
    font-size: 18px;
    padding: 14px 16px;
  }

  .cf-card .cf-filter {
    padding: 16px;
  }

  .cf-card .cf-filter #cf-farm-crop-filter {
    padding: 16px;
  }

  #cf-filter-results thead th,
  #cf-filter-results tbody td {
    font-size: 14px;
    padding: 8px 6px;
  }

  #cf-filter-results .harvest-status {
    max-width: 160px;
    font-size: 14px;
    padding: 7px 9px;
  }

  #cf-filter-results .weight-input {
    width: 90px;
    font-size: 14px;
  }
}
