/* =======================================================
   OWFR LEP Resources - Stylesheet
   Plugin: owfr-lep-resources
   ======================================================= */

/* â”€â”€ Reset Divi defaults â”€â”€ */
.owfr-lep *,
.owfr-lep *::before,
.owfr-lep *::after { box-sizing: border-box; }
.owfr-lep h1,.owfr-lep h2,.owfr-lep h3,.owfr-lep h4,.owfr-lep h5,.owfr-lep h6 {
  font-size: inherit !important; font-weight: inherit !important;
  line-height: inherit !important; margin: 0 !important; padding: 0 !important;
  letter-spacing: normal !important; text-transform: none !important; color: inherit !important;
}
.owfr-lep { font-family: inherit; margin: 0 auto; max-width: 100%; padding: 0; }
.owfr-lep a { text-decoration: none; }
.owfr-lep-inner { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }

/* â”€â”€ Instructions â”€â”€ */
.owfr-lep-intro {
  background: #f0f7f3; border-bottom: 1px solid rgba(0,107,63,0.12);
  padding: 1.5rem 0; margin-bottom: 0;
}
.owfr-lep-intro-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1rem;
  display: flex; align-items: flex-start; gap: 1rem;
}
.owfr-lep-intro-icon {
  flex-shrink: 0; width: 40px; height: 40px; background: rgba(0,107,63,0.1);
  border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-top: 2px;
}
.owfr-lep-intro-icon svg { width: 22px; height: 22px; color: #006B3F; }
.owfr-lep-intro h3 { font-size: 1rem !important; font-weight: 700 !important; color: #006B3F !important; margin: 0 0 0.35rem 0 !important; }
.owfr-lep-intro p { font-size: 0.9rem !important; line-height: 1.55 !important; color: #444 !important; margin: 0 !important; }

/* â”€â”€ Tab Navigation â”€â”€ */
.owfr-lep-tabs-wrap {
  background: #fff; border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06); position: sticky; top: 0; z-index: 100;
  margin-bottom: 2rem;
}
.owfr-lep-tabs {
  display: flex; align-items: center; justify-content: center; gap: 0; margin: 0 auto; padding: 0; list-style: none;
  max-width: 1200px; overflow-x: auto;
  -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.owfr-lep-tabs li { list-style: none; margin: 0; padding: 0; }
.owfr-lep-tabs::-webkit-scrollbar { display: none; }
.owfr-lep-tab {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1rem 1.4rem; flex: 1; min-width: 0;
  font-size: 0.88rem; font-weight: 600; color: #555; white-space: nowrap;
  border: none; border-bottom: 3px solid transparent; background: none;
  font-family: inherit; cursor: pointer; transition: all 0.15s ease;
  text-align: center;
}
.owfr-lep-tab:hover { color: #006B3F; background: rgba(0,107,63,0.04); }
.owfr-lep-tab.active { color: #006B3F; border-bottom-color: #006B3F; background: rgba(0,107,63,0.05); }
.owfr-lep-tab svg { width: 22px; height: 22px; flex-shrink: 0; opacity: 0.6; }
.owfr-lep-tab.active svg { opacity: 1; }

/* â”€â”€ Tab Panels â”€â”€ */
.owfr-lep-panel { display: none; animation: owfrLepFadeIn 0.25s ease; }
.owfr-lep-panel.active { display: block; }
@keyframes owfrLepFadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

/* â”€â”€ Section Header â”€â”€ */
.owfr-lep-section-header {
  display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap;
  margin-bottom: 1.25rem; padding-bottom: 0.85rem;
  border-bottom: 3px solid; border-image: linear-gradient(90deg, #006B3F 0%, rgba(0,107,63,0.08) 100%) 1;
}
.owfr-lep-section-header svg { width: 26px; height: 26px; flex-shrink: 0; color: #006B3F; }
.owfr-lep-section-title {
  font-size: 1.35rem !important; font-weight: 800 !important; color: #006B3F !important;
  line-height: 1.25 !important; letter-spacing: -0.01em !important;
}
.owfr-lep-section-sub { font-size: 0.88rem; color: #555; font-weight: 400; margin-left: 0.15rem; }

/* â”€â”€ Card Grid â”€â”€ */
.owfr-lep-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.25rem;
}

/* â”€â”€ Cards â”€â”€ */
.owfr-lep-card {
  grid-column: span 12; border: 1px solid rgba(0,0,0,0.08); border-radius: 12px;
  overflow: hidden; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex; flex-direction: column; transition: box-shadow 0.2s ease;
}
.owfr-lep-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.owfr-lep-card-content {
  padding: 1.25rem; display: flex; flex-direction: column; flex: 1;
}
.owfr-lep-card-logo {
  width: 100%; height: 80px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem; padding-bottom: 0.85rem; border-bottom: 1px solid rgba(0,0,0,0.06);
}
.owfr-lep-card-logo img { max-width: 160px; max-height: 80px; width: auto; height: auto; object-fit: contain; }
.owfr-lep-card-header { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.owfr-lep-card h3 { font-size: 0.95rem !important; font-weight: 700 !important; line-height: 1.3 !important; color: #006B3F !important; }
.owfr-lep-tagline { margin: 0.2rem 0 0 0; font-size: 0.85rem; line-height: 1.4; color: #444; }
.owfr-lep-card-body { flex: 1; margin-bottom: 0.75rem; }
.owfr-lep-small { font-size: 0.85rem; line-height: 1.5; margin: 0.35rem 0 0 0; color: #333; }
.owfr-lep-meta {
  margin: 0.5rem 0 0 0; padding: 0.65rem 0.75rem; border-radius: 8px;
  background: rgba(0,107,63,0.04); border-left: 3px solid #006B3F;
}
.owfr-lep-meta strong { display: inline-block; margin-right: 0.25rem; }
.owfr-lep-instructions {
  margin: 0.5rem 0 0 0; padding: 0.75rem 0.85rem; border-radius: 8px;
  background: rgba(0,107,63,0.03); border-left: 3px solid rgba(0,107,63,0.25);
  font-size: 0.85rem; line-height: 1.5;
}
.owfr-lep-instructions h4 { font-size: 0.85rem !important; color: #006B3F !important; font-weight: 700 !important; line-height: 1.3 !important; margin: 0 0 0.25rem 0 !important; }
.owfr-lep-instructions ol, .owfr-lep-instructions ul { margin: 0.2rem 0 0.4rem 1.1rem; padding: 0; }
.owfr-lep-instructions li { margin-bottom: 0.15rem; font-size: 0.85rem; }

/* â”€â”€ Buttons â”€â”€ */
.owfr-lep-actions {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: auto; align-items: stretch; width: 100%;
}
.owfr-lep-btn {
  display: flex; align-items: center; justify-content: center; gap: 0.4rem;
  padding: 0.6rem 1.25rem; border-radius: 6px; border: 1px solid rgba(0,0,0,0.18);
  text-decoration: none !important; font-weight: 600; font-family: inherit;
  font-size: 0.85rem; line-height: 1; text-align: center; cursor: pointer; transition: all 0.15s ease;
}
.owfr-lep-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.owfr-lep-btn-primary { background: #006B3F; color: #fff !important; border-color: #006B3F; }
.owfr-lep-btn-primary:hover { background: #005a34; }
.owfr-lep-btn-secondary { background: #fff; color: #006B3F !important; border-color: #006B3F; }
.owfr-lep-btn-secondary:hover { background: #edf7f2; }

.owfr-lep-link-green { color: #006B3F; font-weight: 600; text-decoration: underline; }
.owfr-lep-email-link { color: #006B3F; font-weight: 600; }
.owfr-lep-divider { height: 1px; background: rgba(0,0,0,0.08); margin: 1rem 0; }

/* â”€â”€ Layout variants (3 sizes: standard Â· half Â· full) â”€â”€ */
.owfr-lep-card-wide { grid-column: span 12; }
.owfr-lep-card-half { grid-column: span 12; }

/* â”€â”€ Responsive â”€â”€ */
@media (min-width: 640px) {
  .owfr-lep-card-half { grid-column: span 6; }
}
@media (min-width: 860px) {
  .owfr-lep-card { grid-column: span 4; }
  .owfr-lep-card-wide { grid-column: span 12; }
  .owfr-lep-card-half { grid-column: span 6; }
}
@media (max-width: 639px) {
  .owfr-lep-tab { padding: 0.7rem 0.6rem; font-size: 0.72rem; }
  .owfr-lep-tab svg { width: 18px; height: 18px; }
  .owfr-lep-section-title { font-size: 1.15rem !important; }
  .owfr-lep-intro-inner { flex-direction: column; gap: 0.6rem; }
}

/* â”€â”€ Admin edit button â”€â”€ */
.owfr-lep-admin-edit-btn {
  position: absolute; top: 10px; right: 10px; z-index: 10;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: #006B3F; color: #fff;
  border: 2px solid #fff; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-family: inherit; line-height: 1.3;
}
.owfr-lep-card:hover .owfr-lep-admin-edit-btn,
.owfr-lep-admin-edit-btn:focus { opacity: 1; }
/* Banner edit button */
.owfr-lep-admin-edit-banner {
  top: 12px; right: 12px; border-color: rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.35); backdrop-filter: blur(4px);
}
.owfr-lep-welcome-banner:hover .owfr-lep-admin-edit-banner,
.owfr-lep-admin-edit-banner:focus { opacity: 1; }

/* Section header edit button */
.owfr-lep-admin-edit-header {
  position: relative; top: auto; right: auto;
  margin-left: auto; opacity: 0;
  padding: 4px 10px; font-size: 12px;
  background: #006B3F; color: #fff;
  border: 1px solid rgba(0,107,63,0.3); border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.owfr-lep-section-header:hover .owfr-lep-admin-edit-header,
.owfr-lep-admin-edit-header:focus { opacity: 1; }

/* Section header hide button */
.owfr-lep-admin-hide-section {
  position: relative; top: auto; right: auto;
  margin-left: 0.35rem; opacity: 0;
  padding: 4px 10px; font-size: 12px;
  background: #c00; color: #fff;
  border: 1px solid rgba(200,0,0,0.3); border-radius: 5px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}
.owfr-lep-section-header:hover .owfr-lep-admin-hide-section,
.owfr-lep-admin-hide-section:focus { opacity: 1; }

/* -- Restore Hidden button + menu -- */
.owfr-lep-restore-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 99999;
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.65rem 1.25rem; border-radius: 10px; border: none;
  background: #e67e00; color: #fff; font-size: 0.88rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(230,126,0,0.4);
  transition: all 0.2s ease;
}
.owfr-lep-restore-btn:hover { background: #cc6e00; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(230,126,0,0.5); }
.owfr-lep-restore-btn svg { width: 18px; height: 18px; }

.owfr-lep-restore-menu {
  position: fixed; z-index: 99999;
  background: #fff; border-radius: 10px; border: 1px solid #ddd;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  min-width: 220px; max-width: 340px; max-height: 50vh; overflow-y: auto;
  padding: 0.5rem;
}
.owfr-lep-restore-group { padding: 0.35rem 0; }
.owfr-lep-restore-group + .owfr-lep-restore-group { border-top: 1px solid #eee; }
.owfr-lep-restore-group strong {
  display: block; font-size: 0.78rem; color: #888; text-transform: uppercase;
  letter-spacing: 0.04em; padding: 0.25rem 0.5rem; margin-bottom: 0.15rem;
}
.owfr-lep-restore-item {
  display: flex; align-items: center; gap: 0.4rem; width: 100%;
  padding: 0.5rem 0.6rem; border: none; background: none; font-family: inherit;
  font-size: 0.85rem; font-weight: 500; color: #333; cursor: pointer;
  border-radius: 6px; text-align: left; transition: background 0.15s;
}
.owfr-lep-restore-item:hover { background: rgba(0,107,63,0.08); color: #006B3F; }
.owfr-lep-restore-item svg { color: #006B3F; flex-shrink: 0; }.owfr-lep-admin-delete-btn {
  position: absolute; top: 10px; right: 80px; z-index: 10;
  display: flex; align-items: center; gap: 5px;
  padding: 6px 14px; background: #c00; color: #fff;
  border: 2px solid #fff; border-radius: 6px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25); font-family: inherit; line-height: 1.3;
}
.owfr-lep-card:hover .owfr-lep-admin-delete-btn,
.owfr-lep-admin-delete-btn:focus { opacity: 1; }

/* â”€â”€ Add Card Button â”€â”€ */
.owfr-lep-admin-add-card {
  grid-column: span 12; border: 2px dashed rgba(0,107,63,0.3); border-radius: 12px;
  background: rgba(0,107,63,0.03); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  padding: 2rem 1rem; cursor: pointer; transition: all 0.2s ease;
  min-height: 140px; font-family: inherit;
}
.owfr-lep-admin-add-card:hover {
  border-color: #006B3F; background: rgba(0,107,63,0.07);
  box-shadow: 0 2px 12px rgba(0,107,63,0.12);
}
.owfr-lep-admin-add-card svg { width: 32px; height: 32px; color: #006B3F; opacity: 0.6; }
.owfr-lep-admin-add-card:hover svg { opacity: 1; }
.owfr-lep-admin-add-card span {
  font-size: 0.9rem; font-weight: 600; color: #006B3F; opacity: 0.7;
}
.owfr-lep-admin-add-card:hover span { opacity: 1; }

/* â”€â”€ Layout selector in modal â”€â”€ */
.owfr-lep-layout-picker { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.3rem; }
.owfr-lep-layout-opt {
  padding: 0.4rem 0.8rem; border: 2px solid #ddd; border-radius: 6px;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; background: #fff;
  font-family: inherit; transition: all 0.15s; color: #555;
}
.owfr-lep-layout-opt:hover { border-color: #006B3F; color: #006B3F; }
.owfr-lep-layout-opt.selected { border-color: #006B3F; background: rgba(0,107,63,0.08); color: #006B3F; }

/* â”€â”€ Tab Management (admin add/delete tabs) â”€â”€ */
.owfr-lep-add-tab-li { display: flex; align-items: center; }
.owfr-lep-admin-add-tab {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; border: 2px dashed rgba(0,107,63,0.4);
  background: transparent; color: #006B3F; cursor: pointer;
  transition: all 0.2s; margin: 0 0.5rem; flex-shrink: 0;
}
.owfr-lep-admin-add-tab:hover { border-color: #006B3F; background: rgba(0,107,63,0.08); }
.owfr-lep-admin-add-tab svg { width: 18px; height: 18px; }
.owfr-lep-tab-custom { position: relative; padding-right: 22px !important; }
.owfr-lep-tab-custom img { width: 18px; height: 18px; object-fit: contain; vertical-align: middle; margin-right: 2px; }
.owfr-lep-admin-delete-tab {
  position: absolute; top: 4px; right: 4px; width: 18px; height: 18px;
  display: none; align-items: center; justify-content: center;
  background: #c00; color: #fff; border-radius: 50%; font-size: 13px; line-height: 1;
  cursor: pointer; z-index: 5;
}
.owfr-lep-tab-custom:hover .owfr-lep-admin-delete-tab { display: flex; }
.owfr-lep-icon-grid { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.3rem; }
.owfr-lep-icon-opt {
  width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
  border: 2px solid #ddd; border-radius: 8px; background: #fff; cursor: pointer;
  transition: all 0.15s; padding: 6px;
}
.owfr-lep-icon-opt svg { width: 22px; height: 22px; color: #555; }
.owfr-lep-icon-opt:hover { border-color: #006B3F; }
.owfr-lep-icon-opt:hover svg { color: #006B3F; }
.owfr-lep-icon-opt.selected { border-color: #006B3F; background: rgba(0,107,63,0.08); }
.owfr-lep-icon-opt.selected svg { color: #006B3F; }

/* â”€â”€ Drag-and-Drop Reorder (admin only) â”€â”€ */
.owfr-lep-drag-handle {
  position: absolute; top: 10px; left: 10px; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 6px;
  background: rgba(0,107,63,0.9); color: #fff;
  border: 2px solid #fff; cursor: grab;
  opacity: 0; transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}
.owfr-lep-drag-handle:active { cursor: grabbing; }
.owfr-lep-card:hover .owfr-lep-drag-handle,
.owfr-lep-drag-handle:focus { opacity: 1; }
.owfr-lep-drag-handle svg { width: 18px; height: 18px; pointer-events: none; }

/* Card being dragged */
.owfr-lep-card.owfr-lep-dragging {
  opacity: 0.35; transform: scale(0.97);
  box-shadow: 0 0 0 2px #006B3F; border-style: dashed;
}
/* Drop placeholder */
.owfr-lep-drop-indicator {
  grid-column: span 12; min-height: 80px; border: 2px dashed #006B3F;
  border-radius: 12px; background: rgba(0,107,63,0.06);
  transition: all 0.15s ease; pointer-events: none;
}
.owfr-lep-card-wide.owfr-lep-drop-indicator { grid-column: span 12; }
.owfr-lep-card-half.owfr-lep-drop-indicator { grid-column: span 6; }
@media (max-width: 859px) {
  .owfr-lep-drop-indicator { grid-column: span 12 !important; }
}
/* Drag-over highlight for the grid */
.owfr-lep-grid.owfr-lep-drag-active {
  outline: 2px dashed rgba(0,107,63,0.3); outline-offset: 6px;
  border-radius: 12px;
}
/* "Save Order" floating button */
.owfr-lep-save-order-btn {
  position: fixed; bottom: 24px; right: 24px; z-index: 99999;
  display: none; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem; border-radius: 10px; border: none;
  background: #006B3F; color: #fff; font-size: 0.95rem; font-weight: 700;
  cursor: pointer; font-family: inherit;
  box-shadow: 0 4px 20px rgba(0,107,63,0.4);
  transition: all 0.2s ease;
}
.owfr-lep-save-order-btn:hover { background: #005a34; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(0,107,63,0.5); }
.owfr-lep-save-order-btn.visible { display: flex; }
.owfr-lep-save-order-btn svg { width: 18px; height: 18px; }

/* â”€â”€ Add / Remove button controls in modal â”€â”€ */
.owfr-lep-add-btn-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  background: none; border: 1px dashed rgba(0,107,63,0.4); border-radius: 6px;
  padding: 0.45rem 0.8rem; font-size: 0.82rem; font-weight: 600; color: #006B3F;
  cursor: pointer; font-family: inherit; transition: all 0.15s; margin-top: 0.25rem;
}
.owfr-lep-add-btn-link:hover { border-color: #006B3F; background: rgba(0,107,63,0.06); }
.owfr-lep-remove-btn-link {
  background: none; border: none; color: #c00; font-size: 0.78rem; font-weight: 600;
  cursor: pointer; font-family: inherit; padding: 0.2rem 0; margin-top: 0.1rem;
  text-decoration: underline;
}
.owfr-lep-remove-btn-link:hover { color: #900; }

/* â”€â”€ Edit Modal â”€â”€ */
#owfr-lep-edit-modal {
  position: fixed; inset: 0; z-index: 999999;
  display: flex; align-items: center; justify-content: center;
}
.owfr-lep-edit-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.5); }
.owfr-lep-edit-panel {
  position: relative; background: #fff; border-radius: 12px;
  width: 92%; max-width: 620px; max-height: 88vh; overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.owfr-lep-edit-panel-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 1.1rem 1.5rem; border-bottom: 1px solid #e0e0e0;
  position: sticky; top: 0; background: #fff; border-radius: 12px 12px 0 0; z-index: 1;
}
.owfr-lep-edit-panel-header h3 { margin: 0 !important; font-size: 1.05rem !important; color: #333 !important; font-weight: 700 !important; }
.owfr-lep-edit-close { background: none; border: none; font-size: 1.5rem; cursor: pointer; padding: 0 4px; line-height: 1; color: #666; }
.owfr-lep-edit-form { padding: 1.25rem 1.5rem; }
.owfr-lep-edit-field { margin-bottom: 0.9rem; }
.owfr-lep-edit-field label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 0.3rem; color: #333; }
.owfr-lep-edit-field input, .owfr-lep-edit-field textarea {
  width: 100%; padding: 0.55rem 0.7rem; border: 1px solid #ccc; border-radius: 6px;
  font-size: 0.92rem; font-family: inherit; box-sizing: border-box;
}
.owfr-lep-edit-field input:focus, .owfr-lep-edit-field textarea:focus {
  border-color: #006B3F; outline: none; box-shadow: 0 0 0 2px rgba(0,107,63,0.15);
}
.owfr-lep-edit-btn-group {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; margin-bottom: 0.6rem;
  padding: 0.65rem; background: #f7f7f7; border-radius: 8px;
}
.owfr-lep-edit-btn-group .owfr-lep-edit-field { margin-bottom: 0; }
.owfr-lep-edit-actions {
  display: flex; gap: 0.65rem; flex-wrap: wrap; margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid #e0e0e0;
}
.owfr-lep-edit-status { width: 100%; margin-top: 0.65rem; font-size: 0.88rem; min-height: 1.2em; }
.media-modal { z-index: 9999999 !important; }
.media-modal-backdrop { z-index: 9999998 !important; }

/* â”€â”€ Welcome hero banner â”€â”€ */
.owfr-lep-welcome-banner {
  background: linear-gradient(135deg, #006B3F 0%, #1a8f5c 50%, #3aad7a 100%);
  border-radius: 12px; padding: 2rem 2.25rem; margin-bottom: 1.5rem;
  color: #fff; position: relative; overflow: hidden;
}
.owfr-lep-welcome-banner::after {
  content: ''; position: absolute; top: -40%; right: -10%;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,0.06); pointer-events: none;
}
.owfr-lep-welcome-banner h3 {
  font-size: 1.4rem !important; font-weight: 800 !important;
  color: #fff !important; margin: 0 0 0.65rem 0 !important;
}
.owfr-lep-welcome-banner p {
  font-size: 0.92rem !important; line-height: 1.6 !important;
  color: rgba(255,255,255,0.92) !important; margin: 0 0 0.5rem 0 !important;
  max-width: 800px;
}

/* â”€â”€ Password note badge â”€â”€ */
.owfr-lep-password-badge {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 6px; padding: 0.4rem 0.75rem; font-size: 0.82rem; font-weight: 600;
  color: #fff; margin-top: 0.5rem;
}
.owfr-lep-password-badge svg { width: 16px; height: 16px; }

/* -- Resource list (v2 single-page layout) -- */
.owfr-lep-resource-list {
  list-style: none; margin: 1.5rem 0 0 0; padding: 0;
  display: flex; flex-direction: column; gap: 0;
}
.owfr-lep-resource-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(0,0,0,0.07);
  background: #fff; transition: background 0.15s ease;
}
.owfr-lep-resource-item:first-child { border-top: 1px solid rgba(0,0,0,0.07); border-radius: 10px 10px 0 0; }
.owfr-lep-resource-item:last-child { border-radius: 0 0 10px 10px; }
.owfr-lep-resource-item:hover { background: #f7fbf9; }

.owfr-lep-resource-icon {
  flex-shrink: 0; width: 42px; height: 42px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.owfr-lep-icon-pdf { background: rgba(0,107,63,0.1); color: #006B3F; }
.owfr-lep-icon-link { background: rgba(0,107,63,0.08); color: #006B3F; }
.owfr-lep-resource-icon svg { width: 20px; height: 20px; }

.owfr-lep-resource-body {
  flex: 1; min-width: 0;
}
.owfr-lep-resource-body h3 {
  font-size: 0.95rem !important; font-weight: 700 !important;
  color: #1a1a1a !important; margin: 0 0 0.2rem 0 !important; line-height: 1.3 !important;
}
.owfr-lep-resource-body p {
  font-size: 0.85rem !important; line-height: 1.5 !important;
  color: #555 !important; margin: 0 !important;
}

.owfr-lep-resource-action { flex-shrink: 0; }
.owfr-lep-resource-coming-soon {
  display: inline-block; padding: 0.35rem 0.85rem; border-radius: 20px;
  background: #f0f0f0; color: #888; font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.02em; white-space: nowrap;
}

@media (max-width: 580px) {
  .owfr-lep-resource-item { flex-wrap: wrap; gap: 0.75rem; }
  .owfr-lep-resource-action { width: 100%; }
  .owfr-lep-resource-action .owfr-lep-btn { width: 100%; }
}

/* -- CTA bar -- */
.owfr-lep-cta-bar {
  display: flex; align-items: center; flex-wrap: wrap; gap: 1rem;
  margin-top: 2rem; padding: 1.25rem 1.5rem;
  background: #f0f7f3; border: 1px solid rgba(0,107,63,0.18);
  border-radius: 12px;
}
.owfr-lep-cta-text {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.owfr-lep-cta-text strong { font-size: 0.95rem; color: #006B3F; }
.owfr-lep-cta-text span { font-size: 0.85rem; color: #555; }
.owfr-lep-cta-actions {
  display: flex; gap: 0.6rem; flex-wrap: wrap; align-items: center;
}
@media (max-width: 580px) {
  .owfr-lep-cta-bar { flex-direction: column; align-items: stretch; }
  .owfr-lep-cta-actions { flex-direction: column; }
  .owfr-lep-cta-actions .owfr-lep-btn { width: 100%; }
}

/* -- Welcome banner now at top level (no padding needed from inner) -- */
.owfr-lep-welcome-banner { margin: 0 0 0 0; border-radius: 0; }

/* -- Resource item edit button (admin hover) -- */
.owfr-lep-resource-edit-btn {
  position: absolute; top: 6px; right: 6px; z-index: 10;
}
.owfr-lep-resource-item:hover .owfr-lep-resource-edit-btn,
.owfr-lep-cta-bar:hover .owfr-lep-resource-edit-btn,
.owfr-lep-resource-edit-btn:focus { opacity: 1; }
/* Shift the action area slightly left to avoid overlap on narrow screens */
.owfr-lep-resource-item { padding-right: 2.5rem; }
