/* ==============================
   PORTABLE THEME VARIABLES
   ============================== */

:root {
  /* Core surfaces */
  --ui-primary: #E4EBF1;
  --ui-surface: #E4EBF1;
  --ui-surface-2: #ECF2F7;

  /* Text */
  --ui-text: #2F3A45;
  --ui-muted: #6D7A86;
  --ui-heading: #223241;

  /* Accent */
  --ui-accent: #2C6DA4;

  /* Neumorphic shadows */
  --ui-shadow-light: rgba(255, 255, 255, 0.95);
  --ui-shadow-dark: rgba(163, 177, 198, 0.65);

  /* Lines / borders */
  --ui-border: rgba(110, 127, 141, 0.18);
  --ui-border-soft: rgba(110, 127, 141, 0.12);

  /* Focus glow */
  --ui-focus: rgba(110, 127, 141, 0.25);
}

Theme Name: Hello Elementor Child (Portal)
Description: Child theme for Hello Elementor.
Author: Techurai
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
/* ==========================================================
   NEUMORPHIC UI DESIGN SYSTEM
   Child Theme: Hello Elementor
   ========================================================== */

/* ==============================
   GLOBAL SAFETY
   ============================== */

* {
  box-sizing: border-box;
}

/* Prevent Elementor flex overflow issues */
.elementor .e-con,
.elementor .e-con > *,
.elementor .elementor-element {
  min-width: 0;
}

/* ==============================
   TYPOGRAPHY
   ============================== */

h1, h2, h3, h4, h5, h6 {
  color: var(--ui-heading);
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

p,
li,
input,
label {
  color: var(--ui-text);
  font-family: "Rubik", sans-serif;
}

small,
.text-muted {
  color: var(--ui-muted);
}

/* ==============================
   CARD
   ============================== */

.ui-card {
  background: var(--ui-primary);
  border-radius: 16px;
  padding: 2rem;
  color: var(--ui-text);
  font-family: "Rubik", sans-serif;

  box-shadow:
    -5px -5px 10px var(--ui-shadow-light),
     5px  5px 10px var(--ui-shadow-dark);

  transition: box-shadow 0.3s ease, transform 0.3s ease;
  overflow: visible;
}

/* Round Elementor overlay layers if present */
.elementor .e-con.ui-card > .elementor-background-overlay,
.elementor .e-con.ui-card > .elementor-background-slideshow,
.elementor .e-con.ui-card::before,
.elementor .e-con.ui-card::after {
  border-radius: 16px;
}

/* ==============================
   INPUTS
   ============================== */

.ui-input {
  background: var(--ui-primary);
  color: var(--ui-text);
  border: none;
  border-radius: 16px;
  padding: 0.75rem 1rem;

  font-family: "Rubik", sans-serif;
  font-size: 1rem;

  box-shadow:
    inset -3px -3px 6px var(--ui-shadow-light),
    inset  3px  3px 6px var(--ui-shadow-dark);

  outline: none;
  transition: box-shadow 0.25s ease;
}

.ui-input:focus {
  box-shadow:
    inset -2px -2px 4px var(--ui-shadow-light),
    inset  2px  2px 4px var(--ui-shadow-dark),
    0 0 8px rgba(110, 127, 141, 0.25);
}

/* ==============================
   BADGES (GENERIC)
   ============================== */

.ui-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;

  background: var(--ui-accent);
  color: #fff;

  font-family: "Rubik", sans-serif;
  font-size: 0.875rem;
  font-weight: 500;

  border-radius: 999px;
  padding: 0.25rem 0.75rem;

  box-shadow:
    -2px -2px 4px var(--ui-shadow-light),
     2px  2px 4px var(--ui-shadow-dark);

  transition: filter 0.2s ease, transform 0.2s ease;
}

.ui-badge:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

/* ==============================
   ELEMENTOR BUTTONS (FORCED)
   ============================== */

.elementor a.elementor-button,
.elementor button.elementor-button,
.elementor .elementor-button-link.elementor-button {
  border-style: solid !important;
  border-width: 1px !important;
  border-color: rgba(110, 127, 141, 0.28) !important;

  box-shadow:
    -5px -5px 10px var(--ui-shadow-light),
     5px  5px 10px var(--ui-shadow-dark) !important;

  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease,
    background 0.25s ease,
    filter 0.25s ease;
}

.elementor a.elementor-button:hover,
.elementor button.elementor-button:hover {
  box-shadow:
    -8px -8px 16px var(--ui-shadow-light),
     8px  8px 16px var(--ui-shadow-dark) !important;
  transform: translateY(-2px);
}

.elementor a.elementor-button:active,
.elementor button.elementor-button:active {
  box-shadow:
    inset -4px -4px 8px var(--ui-shadow-light),
    inset  4px  4px 8px var(--ui-shadow-dark) !important;
  transform: translateY(1px);
}

/* ==============================
   PMPRO BADGES / LOOKUP
   ============================== */

.pmpro-badge-wrap,
.pmpro-certifications-badges,
.pmpro-skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  width: 100%;
}

.pmpro-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  line-height: 1.2;

  background: color-mix(in srgb, var(--ui-primary) 96%, white);
  color: var(--ui-text);
  border: 1px solid rgba(110, 127, 141, 0.22);

  box-shadow:
    -2px -2px 4px var(--ui-shadow-light),
     2px  2px 4px var(--ui-shadow-dark);

  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* ==============================
   SMALL SCREEN
   ============================== */

@media (max-width: 480px) {
  .ui-card {
    padding: 1.25rem;
  }

  .ea-advanced-data-table thead th,
  .ea-advanced-data-table tbody td {
    padding: 0.75rem 0.85rem;
  }
}

/* ==========================================================
   EA BETTERDOCS CATEGORY GRID (match Neumorphic UI)
   ========================================================== */

/* Card surface */
.elementor .eael-better-docs-category-grid-post .eael-bd-cg-inner {
  background: var(--ui-primary) !important;
  border-radius: 16px !important;
  padding: 2rem !important;
  border: 1px solid rgba(110, 127, 141, 0.18) !important;

  box-shadow:
    -5px -5px 10px var(--ui-shadow-light),
     5px  5px 10px var(--ui-shadow-dark) !important;

  transition: box-shadow 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

/* Subtle hover lift like your cards/buttons */
.elementor .eael-better-docs-category-grid-post:hover .eael-bd-cg-inner {
  box-shadow:
    -8px -8px 16px var(--ui-shadow-light),
     8px  8px 16px var(--ui-shadow-dark) !important;
  transform: translateY(-2px);
}

/* Header typography alignment */
.elementor .eael-bd-cg-header .eael-docs-cat-title {
  color: var(--ui-heading) !important;
  font-family: "Poppins", sans-serif !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

/* Count pill to match badge vibe */
.elementor .eael-bd-cg-header .eael-docs-item-count {
  background: color-mix(in srgb, var(--ui-primary) 92%, white) !important;
  color: var(--ui-text) !important;
  border: 1px solid rgba(110, 127, 141, 0.22) !important;
  border-radius: 999px !important;
  padding: 0.2rem 0.6rem !important;

  box-shadow:
    -2px -2px 4px var(--ui-shadow-light),
     2px  2px 4px var(--ui-shadow-dark) !important;
}

/* List reset + spacing */
.elementor .eael-bd-cg-body ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 1rem 0 0 !important;
}

.elementor .eael-bd-cg-body ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.55rem 0 !important;
  border-bottom: 1px solid rgba(110, 127, 141, 0.10);
}

.elementor .eael-bd-cg-body ul li:last-child {
  border-bottom: 0;
}

/* Icons */
.elementor .eael-bd-cg-body .eael-bd-cg-post-list-icon {
  color: var(--ui-heading) !important;
  opacity: 0.65;
  margin-top: 0.15rem;
}

/* Links */
.elementor .eael-bd-cg-body a {
  color: var(--ui-text) !important;
  font-family: "Rubik", sans-serif !important;
  text-decoration: none !important;
  outline: none;
}

.elementor .eael-bd-cg-body a:hover {
  color: var(--ui-heading) !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Optional: make the icon in the header slightly subdued */
.elementor .eael-bd-cg-header .eael-docs-cat-icon img {
  opacity: 0.85;
}

/* Small screens: match your global scale */
@media (max-width: 480px) {
  .elementor .eael-better-docs-category-grid-post .eael-bd-cg-inner {
    padding: 1.25rem !important;
  }
}

.pmpro_form_field-checkbox_grouped{

padding-bottom: 50px;
}

.pmpro_form_label{
	font-size:1.25em !important;
}

.pmpro_clickable{
	font-size:1em !important;
}

/* ==========================================================
   EA ADVANCED DATA TABLE — FINAL UNIFIED SYSTEM
   ========================================================== */

/* ----------------------------------------------------------
   1) HARD RESET — EA WRAPPER MUST BE NEUTRAL
   ---------------------------------------------------------- */

.ea-advanced-data-table-wrap,
.ea-advanced-data-table-wrap-inner {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* Horizontal scrolling handled here, not by visual styles */
.ea-advanced-data-table-wrap-inner {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ----------------------------------------------------------
   2) BASE TABLE (NO SURFACE)
   ---------------------------------------------------------- */

.ea-advanced-data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: auto;

  background: transparent !important;
  border-radius: 0 !important;

  font-family: "Rubik", sans-serif;
  color: var(--ui-text);
}

/* Prevent stacked letters */
.ea-advanced-data-table th,
.ea-advanced-data-table td {
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
  vertical-align: top;
  background: transparent !important;
}

/* ----------------------------------------------------------
   3) OPT-IN TABLE THEME (USE THIS)
   Apply class: table-out-of-work
   ---------------------------------------------------------- */

.table-out-of-work .ea-advanced-data-table {
  min-width: 900px; /* Journeyman table safe width */
}

/* Header */
.table-out-of-work .ea-advanced-data-table thead th {
  background: color-mix(in srgb, var(--ui-primary) 95%, white) !important;
  color: var(--ui-heading);
  font-weight: 600;
  font-size: 0.95rem;

  padding: 1rem 1.15rem;
  text-align: left;

  border-bottom: 1px solid rgba(110,127,141,.20);

  box-shadow:
    inset -2px -2px 4px var(--ui-shadow-light),
    inset  2px  2px 4px var(--ui-shadow-dark);
}

/* Body cells */
.table-out-of-work .ea-advanced-data-table tbody td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid rgba(110,127,141,.10);
}

/* Zebra striping */
.table-out-of-work .ea-advanced-data-table tbody tr:nth-child(even) td {
  background: rgba(255,255,255,0.08) !important;
}

/* Hover */
.table-out-of-work .ea-advanced-data-table tbody tr:hover td {
  background: rgba(93,107,120,0.07) !important;
}

/* ----------------------------------------------------------
   4) LINKS (Job Title column)
   ---------------------------------------------------------- */

.table-out-of-work .ea-advanced-data-table a {
  color: var(--ui-heading) !important;
  font-weight: 600 !important;
  text-decoration: none;
}

.table-out-of-work .ea-advanced-data-table a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ----------------------------------------------------------
   5) SEARCH BAR (DATABASE MODE)
   ---------------------------------------------------------- */

.table-out-of-work .ea-advanced-data-table-search-wrap {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.table-out-of-work .ea-advanced-data-table-search {
  width: min(360px, 100%);
  background: var(--ui-primary) !important;
  color: var(--ui-text);

  border: none !important;
  border-radius: 16px;
  padding: 0.75rem 1rem;

  font-family: "Rubik", sans-serif;

  box-shadow:
    inset -2px -2px 4px var(--ui-shadow-light),
    inset  2px  2px 4px var(--ui-shadow-dark);
}

.table-out-of-work .ea-advanced-data-table-search:focus {
  outline: none;
  box-shadow:
    inset -2px -2px 4px var(--ui-shadow-light),
    inset  2px  2px 4px var(--ui-shadow-dark),
    0 0 10px rgba(110,127,141,.25);
}

/* ----------------------------------------------------------
   6) SMALL SCREENS
   ---------------------------------------------------------- */

@media (max-width: 768px) {
  .table-out-of-work .ea-advanced-data-table {
    min-width: 780px;
  }

  .table-out-of-work .ea-advanced-data-table th,
  .table-out-of-work .ea-advanced-data-table td {
    padding: 0.75rem 0.85rem;
  }
}

/* 2) Make tbody rows inherit the same surface (kills the remaining white) */
.table-out-of-work .ea-advanced-data-table tbody td {
  background: transparent !important; /* base */
}
.table-out-of-work .ea-advanced-data-table tbody tr td {
  background: var(--ui-primary) !important;
}

/* Light zebra without turning “white” */
.table-out-of-work .ea-advanced-data-table tbody tr:nth-child(even) td {
  background: color-mix(in srgb, var(--ui-primary) 92%, white) !important;
}

/* 3) Normalize borders so both tables grid the same */
.table-out-of-work .ea-advanced-data-table thead th,
.table-out-of-work .ea-advanced-data-table tbody td {
  border-right: 1px solid rgba(110, 127, 141, 0.14) !important;
}
.table-out-of-work .ea-advanced-data-table thead th:last-child,
.table-out-of-work .ea-advanced-data-table tbody td:last-child {
  border-right: 0 !important;
}

/* 4) Make the search box match your neumorphic inputs */
.table-out-of-work .ea-advanced-data-table-search-wrap {
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
}

.table-out-of-work .ea-advanced-data-table-search {
  background: var(--ui-primary) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 0.75rem 1rem !important;
  box-shadow:
    inset -2px -2px 4px var(--ui-shadow-light),
    inset  2px  2px 4px var(--ui-shadow-dark) !important;
}

/* 5) Optional: align overall table “density” */
.table-out-of-work .ea-advanced-data-table thead th {
  padding: 0.95rem 1.1rem !important;
}
.table-out-of-work .ea-advanced-data-table tbody td {
  padding: 0.9rem 1.1rem !important;
}

.table-out-of-work .ea-advanced-data-table a {
  color: var(--ui-heading);
  font-weight: 600;
  text-decoration: none;
}

.table-out-of-work .ea-advanced-data-table a:hover,
.table-out-of-work .ea-advanced-data-table a:focus-visible {
  text-decoration: underline !important;
}

/* Optional: make the “primary link column” a touch stronger */
.table-out-of-work .ea-advanced-data-table tbody td:first-child a {
  font-weight: 600 !important;
}
/* ==========================================================
   EA ADVANCED DATA TABLE — SOLID OUTLINE (TABLE ONLY)
   Applies to the SCROLL WRAP, not the search bar
   ========================================================== */

.table-out-of-work .ea-advanced-data-table-wrap-inner {
  border: 1px solid rgba(110, 127, 141, 0.28) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;

  /* keep scrolling behavior */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* Prevent a “double line” at the perimeter:
   - kill the outside-most cell borders that touch the container border */
.table-out-of-work .ea-advanced-data-table thead th:first-child,
.table-out-of-work .ea-advanced-data-table tbody td:first-child {
  border-left: 0 !important;
}

.table-out-of-work .ea-advanced-data-table thead th:last-child,
.table-out-of-work .ea-advanced-data-table tbody td:last-child {
  border-right: 0 !important;
}

.table-out-of-work .ea-advanced-data-table thead th {
  border-top: 0 !important;
}

.table-out-of-work .ea-advanced-data-table tbody tr:last-child td {
  border-bottom: 0 !important;
}
