/* ======================================================
   SMARTACADEMY BLOCK STYLES
   Checklist • Bullets • Arrows • Simple Bullets
   ====================================================== */

ul[class^="is-style-smartacademy"],
ul[class*=" is-style-smartacademy"] {
  list-style: none !important;
  margin: 0;
  padding: 0;
}

/* ======================================================
   ✅ CHECKLIST STYLE
   ====================================================== */
.is-style-smartacademy-checklist li {
  position: relative;
  padding-left: 36px;
  margin: 12px 0;
  line-height: 1.6;
  font-size: 1.05em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.is-style-smartacademy-checklist li:last-child { border-bottom: none; }
.is-style-smartacademy-checklist li:hover {
  background: rgba(88,142,255,0.08);
  box-shadow: 0 0 12px rgba(88,142,255,0.25);
  transform: translateX(4px);
}
.is-style-smartacademy-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.3em;
  width: 22px; height: 22px;
  background: #00e0a1;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19l11.6-11.6-1.4-1.4z'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M9 16.2 4.8 12l-1.4 1.4L9 19l11.6-11.6-1.4-1.4z'/></svg>") center/contain no-repeat;
  opacity: 0.9;
  transition: background 0.3s ease;
}
.is-style-smartacademy-checklist li:hover::before { background: #58a0ff; }

/* ======================================================
   🔹 BULLET STYLE
   ====================================================== */
.is-style-smartacademy-bullets li {
  display: flex;
  align-items: center;
  position: relative;
  line-height: 1.7;
  font-size: 1.05em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: all 0.25s ease;
  padding: 14px 12px;
  border-radius: 8px;
}
.is-style-smartacademy-bullets li:last-child { border-bottom: none; }
.is-style-smartacademy-bullets li::before {
  content: "";
  flex-shrink: 0;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #58a0ff;
  box-shadow: 0 0 6px rgba(88,142,255,0.7);
  transition: transform 0.2s ease, background 0.2s ease;
  margin-right: 14px;
}
.is-style-smartacademy-bullets li:hover::before {
  background: #00e0a1;
  transform: scale(1.3);
  box-shadow: 0 0 10px rgba(0,224,161,0.8);
}
.is-style-smartacademy-bullets li:hover {
  color: #e4f2ff;
  background: rgba(88,142,255,0.04);
  border-color: rgba(0,224,161,0.25);
}

/* ======================================================
   ➡️ ARROWS STYLE (echte pijl)
   ====================================================== */
.is-style-smartacademy-arrows li {
  display: flex;
  align-items: center;
  line-height: 1.7;
  font-size: 1.05em;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  padding: 14px 12px;
  border-radius: 8px;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.is-style-smartacademy-arrows li:last-child { border-bottom: none; }
.is-style-smartacademy-arrows li::before {
  content: "";
  display: inline-block;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-right: 14px;
  background-color: #58a0ff;
  box-shadow: 0 0 8px rgba(88,142,255,.6);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h12' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M13.5 7.5L19 12l-5.5 4.5' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h12' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M13.5 7.5L19 12l-5.5 4.5' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: .95;
  transition: transform .25s, background-color .25s, box-shadow .25s;
}
.is-style-smartacademy-arrows li:hover::before {
  background-color: #00e0a1;
  transform: translateX(5px);
  box-shadow: 0 0 12px rgba(0,224,161,.8);
}
.is-style-smartacademy-arrows li:hover {
  color: #e4f2ff;
  background: rgba(88,142,255,.04);
  border-color: rgba(0,224,161,.25);
}

/* ======================================================
   ⚫ SIMPLE BULLETS (minimalistische versie)
   ====================================================== */
.is-style-smartacademy-simplebullets li {
  display: flex;
  align-items: center;
  line-height: 1.7;
  font-size: 1.05em;
  border-bottom: 1px solid rgb(255 255 255 / 8%);
  padding: 1em 0em 1em 0em;
  transition: background .25s ease, color .25s ease;
}
.is-style-smartacademy-simplebullets li:last-child { border-bottom: none; }
.is-style-smartacademy-simplebullets li::before {
  content: "";
  flex-shrink: 0;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(0, 17, 255, 0.575);
  margin-right: 10px;
  transition: background .25s ease;
}
.is-style-smartacademy-simplebullets li:hover::before { background: rgba(88,142,255,0.8); }
.is-style-smartacademy-simplebullets li:hover {
  background: rgba(255,255,255,0.03);
  color: #f4f6ff;
}

/* ======================================================
   📊 SMARTACADEMY TABLE — UNIFORM + RESPONSIVE CONTAINER
   ====================================================== */

.wp-block-table.is-style-smartacademy-table table,
.wp-block-table.is-style-smartacademy-table th,
.wp-block-table.is-style-smartacademy-table td {
  all: unset;
  display: table-cell;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Wrapper */
.wp-block-table.is-style-smartacademy-table {
  display: block;
  margin: 3em auto;
  border-radius: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: 0 0 28px rgba(0,0,0,0.3);
  width: 100%;
  max-width: 1200px; /* ✅ maximale breedte */
  background: rgba(14,17,25,0.9);
}

/* Table */
.wp-block-table.is-style-smartacademy-table table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid rgba(255,255,255,0.07);
  color: #eaf2ff;
  font-size: 0.95rem;
  border-radius: 14px;
  table-layout: fixed;
}

/* Headers */
.wp-block-table.is-style-smartacademy-table thead th {
  background: linear-gradient(180deg, rgba(88,142,255,0.25), rgba(88,142,255,0.1));
  color: #ffffff;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  text-align: left;
  padding: 1em 1.3em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.7em;
  white-space: normal;
  word-break: break-word;
  line-height: 1.4;
  vertical-align: middle;
}

/* Cellen */
.wp-block-table.is-style-smartacademy-table td {
  padding: 1.1em 1.4em;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  border-right: 1px solid rgba(255,255,255,0.05);
  line-height: 1.6;
  font-size: 0.8em;
  overflow-wrap: break-word;
  white-space: normal;
  text-align: left;
  vertical-align: middle;
  background: linear-gradient(90deg, rgba(255,255,255,0.015) 0%, rgba(88,142,255,0.03) 100%);
  transition: background 0.25s ease;
}

/* Hover glow */
.wp-block-table.is-style-smartacademy-table tbody tr:hover td {
  background: rgb(6, 6, 53);
}

/* Even breedte voor alle kolommen */
.wp-block-table.is-style-smartacademy-table th,
.wp-block-table.is-style-smartacademy-table td {
  width: 16.6%;
}

/* Sticky eerste kolom */
.wp-block-table.is-style-smartacademy-table th:first-child,
.wp-block-table.is-style-smartacademy-table td:first-child {
  position: sticky;
  left: 0;
  z-index: 2;
  background: rgba(20, 25, 35, 0.98);
  border-right: 2px solid rgba(88,142,255,0.25);
  font-weight: 600;
  color: #ffffff;
  text-shadow: 0 0 6px rgba(88,142,255,0.15);
}

/* Even rijen iets donkerder */
.wp-block-table.is-style-smartacademy-table tbody tr:nth-child(even) td {
  background: rgb(0, 0, 27)
}

/* Scrollbar */
.wp-block-table.is-style-smartacademy-table::-webkit-scrollbar {
  height: 10px;
}
.wp-block-table.is-style-smartacademy-table::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.03);
}
.wp-block-table.is-style-smartacademy-table::-webkit-scrollbar-thumb {
  background: rgba(88, 142, 255, 0.4);
  border-radius: 6px;
}
.wp-block-table.is-style-smartacademy-table::-webkit-scrollbar-thumb:hover {
  background: rgba(88, 142, 255, 0.7);
}

/* Mobiel */
@media (max-width: 768px) {
  .wp-block-table.is-style-smartacademy-table {
    max-width: 100%;
  }

  .wp-block-table.is-style-smartacademy-table table,
  .wp-block-table.is-style-smartacademy-table tbody,
  .wp-block-table.is-style-smartacademy-table tr,
  .wp-block-table.is-style-smartacademy-table td {
    display: block;
    width: 100%;
  }

  .wp-block-table.is-style-smartacademy-table thead { display: none; }

  .wp-block-table.is-style-smartacademy-table td {
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 0.9em 1em;
    vertical-align: middle;
    background: rgba(20,25,35,0.95);
  }

  .wp-block-table.is-style-smartacademy-table td::before {
    content: attr(data-label);
    display: block;
    font-weight: 600;
    color: #58a0ff;
    margin-bottom: 0.4em;
  }

  .wp-block-table.is-style-smartacademy-table td:first-child {
    position: relative;
    box-shadow: none;
    border-right: none;
  }
}





/* Scope: alleen Gutenberg editor */
.block-editor-page .editor-styles-wrapper {

  /* Checklist */
  .is-style-smartacademy-checklist li:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: inherit !important;
    border-color: rgba(255,255,255,0.07) !important;
  }
  .is-style-smartacademy-checklist li:hover::before {
    background: #00e0a1 !important; /* default kleur behouden */
    box-shadow: none !important;
    transform: none !important;
  }

  /* Bullets */
  .is-style-smartacademy-bullets li:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: inherit !important;
    border-color: rgba(255,255,255,0.07) !important;
  }
  .is-style-smartacademy-bullets li:hover::before {
    background: #58a0ff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Arrows */
  .is-style-smartacademy-arrows li:hover {
    background: none !important;
    box-shadow: none !important;
    transform: none !important;
    color: inherit !important;
    border-color: rgba(255,255,255,0.07) !important;
  }
  .is-style-smartacademy-arrows li:hover::before {
    background-color: #58a0ff !important;
    box-shadow: none !important;
    transform: none !important;
  }

  /* Simple Bullets */
  .is-style-smartacademy-simplebullets li:hover {
    background: none !important;
    color: inherit !important;
  }
  .is-style-smartacademy-simplebullets li:hover::before {
    background: rgba(255,255,255,0.5) !important;
  }

  /* Optioneel: transitions uit in editor */
  .is-style-smartacademy-checklist li,
  .is-style-smartacademy-bullets li,
  .is-style-smartacademy-arrows  li,
  .is-style-smartacademy-simplebullets li,
  .is-style-smartacademy-checklist li::before,
  .is-style-smartacademy-bullets li::before,
  .is-style-smartacademy-arrows  li::before,
  .is-style-smartacademy-simplebullets li::before {
    transition: none !important;
  }
}

/* ===== Verbeterde mobiele uitlijning mét zichtbare bullets ===== */
@media (max-width: 768px) {

  .is-style-smartacademy-bullets li,
  .is-style-smartacademy-checklist li,
  .is-style-smartacademy-arrows li,
  .is-style-smartacademy-simplebullets li {
    display: flex;
    align-items: flex-start;         /* bullets bovenaan uitlijnen bij meerdere regels */
    gap: 10px;                       /* ruimte tussen bullet en tekst */
    padding: 10px 4px;
  }

  .is-style-smartacademy-arrows li {
  display: flex;
  align-items: center; /* pijltjes verticaal centreren */
  gap: 10px;
  padding: 0.5em 1em;
}

  .is-style-smartacademy-bullets li::before,
  .is-style-smartacademy-checklist li::before,
  .is-style-smartacademy-arrows li::before,
  .is-style-smartacademy-simplebullets li::before {
    flex-shrink: 0;
    margin-top: 5px;                 /* bullet optisch centreren */
    position: relative;
    left: auto;
    top: auto;
    transform: none;
  }

  /* eventueel iets kleinere bullets op smalle schermen */
  .is-style-smartacademy-bullets li::before,
  .is-style-smartacademy-simplebullets li::before {
    width: 8px;
    height: 8px;
  }
}
