/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: May 21 2026 | 06:32:29 */
/* === Webinar Cards – Gravity Forms Checkboxes === */
.gfield--type-checkbox.webinar-cards .gfield_checkbox {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
  /* Undgå flash: skjul til JS er klar */
  opacity: 0;
  transition: opacity 0.15s ease;
}

.gfield--type-checkbox.webinar-cards .gfield_checkbox.wc-ready {
  opacity: 1;
}

.gfield--type-checkbox.webinar-cards .gchoice {
  position: relative;
}

/* Skjul native checkbox – bevar tilgængelighed */
.gfield--type-checkbox.webinar-cards input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 1px;
  height: 1px;
}

/* Card */
.gfield--type-checkbox.webinar-cards .gchoice label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
  position: relative;
  box-sizing: border-box;
  height: 100%;
}

.gfield--type-checkbox.webinar-cards .gchoice label:hover {
  border-color: #86efac;
  box-shadow: 0 4px 14px rgba(34,197,94,0.12);
}

/* Valgt: grøn outline + svag grøn baggrund */
.gfield--type-checkbox.webinar-cards input[type="checkbox"]:checked + label {
  border-color: #22c55e;
  background: #f0fdf4;
  box-shadow: 0 4px 14px rgba(34,197,94,0.15);
}

/* Cirkel-checkmark øverst til højre */
.gfield--type-checkbox.webinar-cards .gchoice label::after {
  content: '';
  position: absolute;
  top: 14px;
  right: 14px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: #fff;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.gfield--type-checkbox.webinar-cards input[type="checkbox"]:checked + label::after {
  border-color: #16a34a;
  background: #16a34a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") no-repeat center / 13px;
}

/* Dato-linje */
.gfield--type-checkbox.webinar-cards .wc-date {
  font-size: 0.8rem;
  font-weight: 500;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  padding-right: 30px;
}

.gfield--type-checkbox.webinar-cards .wc-date::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Titel */
.gfield--type-checkbox.webinar-cards .wc-title {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.35;
  padding-right: 10px;
}

/* Beskrivelse */
.gfield--type-checkbox.webinar-cards .wc-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.55;
  margin-top: 0px;
}

@media (max-width: 640px) {
  .gfield--type-checkbox.webinar-cards .gfield_checkbox {
    grid-template-columns: 1fr;
  }
}