@charset "UTF-8";
.wrap {
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 5px; }

.spacer {
  height: 1em; }

img {
  max-width: 100% !important; }

.row {
  width: 100%;
  display: grid;
  grid-template-columns: 70fr 30fr;
  gap: 20px; }

@media screen and (max-width: 980px) {
  .row {
    grid-template-columns: 1fr; } }
.card {
  background-color: #ffffff;
  padding: 20px;
  border-radius: 5px;
  box-shadow: 0px 2px 10px -6px rgba(0, 0, 0, 0.25);
  border: none;
  margin: 0px; }
  .card details {
    margin-bottom: 1rem;
    border: 1px solid #ccd0d4;
    border-radius: 4px;
    background-color: #f9f9f9;
    padding: 0.5rem;
    transition: all 0.3s ease; }
    .card details::marker {
      display: none; }
    .card details summary {
      cursor: pointer;
      font-weight: bold;
      color: #007cba;
      outline: none;
      display: flex;
      align-items: center;
      justify-content: space-between; }
      .card details summary:hover {
        color: #005a90; }
      .card details summary::after {
        content: "▼";
        font-size: 0.8rem;
        color: #007cba;
        transition: transform 0.3s ease; }
    .card details[open] summary::after {
      transform: rotate(180deg); }
    .card details p, .card details blockquote, .card details ul {
      margin-left: 1rem;
      margin-top: 0.5rem; }
    .card details blockquote {
      border-left: 4px solid #ddd;
      padding-left: 1rem;
      color: #555;
      font-style: italic; }

#ai-buttons-panel {
  position: fixed;
  text-align: center;
  width: 400px;
  height: 50px;
  bottom: 20px;
  right: 20px;
  margin-left: 10px;
  background: #fff;
  border: 1px solid #ccc;
  padding: 12px 4px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  z-index: 999999999999999;
  border-radius: 999px;
  display: flex;
  flex-flow: row;
  justify-content: center;
  align-items: center;
  gap: 3px;
  cursor: grab;
  user-select: none;
  -webkit-user-drag: none; }
  #ai-buttons-panel:hover {
    cursor: grab; }
  @media screen and (max-width: 850px) {
    #ai-buttons-panel {
      right: 10px; } }
  #ai-buttons-panel span.panel-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 3em; }
  #ai-buttons-panel .button {
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Gelijke breedte en hoogte voor vierkante knoppen */
    height: 40px;
    border-radius: 50%;
    /* Ronde knoppen */
    font-size: 18px;
    cursor: pointer; }
    #ai-buttons-panel .button:last-of-type {
      border-radius: 0px 50% 50% 0px;
      /* Ronde knoppen */
      margin-left: -5px; }
    #ai-buttons-panel .button .dashicons {
      margin: 0;
      line-height: 1; }
  #ai-buttons-panel select {
    padding: 4px 24px 6px 5px;
    border-radius: 3px 0px 0px 3px; }

#title-prompt-text {
  position: relative !important;
  margin: 0px 0px 4px 0px !important;
  padding: 0px 0px 8px 0px !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  clip-path: none !important;
  height: auto !important;
  width: auto !important; }

.language-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  list-style: none;
  padding: 0; }
  .language-grid .language-item {
    position: relative;
    display: inline-block;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem;
    font-size: 0.9rem;
    transition: all 0.3s ease; }
    .language-grid .language-item input[type="checkbox"] {
      display: none; }
    .language-grid .language-item label {
      cursor: pointer;
      width: 100% !important;
      Height: 100% !important;
      display: block;
      padding: 10px 0px; }
    .language-grid .language-item .flag {
      display: block;
      margin: 0 auto 0.5rem auto;
      width: 32px;
      height: 24px;
      background-size: cover;
      background-position: center;
      border-radius: 3px; }
    .language-grid .language-item.active {
      border-color: #007cba;
      background-color: #007cba;
      color: #fff; }
      .language-grid .language-item.active .flag {
        border: 2px solid #fff; }
      .language-grid .language-item.active:hover {
        border-color: #007cba;
        background-color: #007cba; }
    .language-grid .language-item:hover {
      border-color: #007cba;
      background-color: #f1f1f1; }

.knowledge-base-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  /* Actieknoppen */ }
  .knowledge-base-table th, .knowledge-base-table td {
    padding: 10px;
    text-align: left;
    vertical-align: top;
    /* Zorg dat velden bovenaan uitlijnen */ }
  .knowledge-base-table th {
    background-color: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
    font-weight: 600;
    font-size: 0.9rem;
    color: #374151; }
  .knowledge-base-table td {
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    /* Voor positionering van de actieknoppen */ }
  .knowledge-base-table input[type="text"], .knowledge-base-table textarea {
    width: 100%;
    padding: 8px 10px;
    font-size: 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: border-color 0.2s, box-shadow 0.2s; }
    .knowledge-base-table input[type="text"]::placeholder, .knowledge-base-table textarea::placeholder {
      color: #9ca3af;
      /* Placeholder kleur */
      font-style: italic; }
    .knowledge-base-table input[type="text"]:focus, .knowledge-base-table textarea:focus {
      border-color: #007cba;
      box-shadow: 0 0 0 3px rgba(0, 123, 186, 0.3);
      outline: none; }
  .knowledge-base-table textarea {
    resize: vertical;
    min-height: 140px; }
  .knowledge-base-table .action-buttons {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    display: flex;
    gap: 8px; }
    .knowledge-base-table .action-buttons button {
      background: none;
      border: none;
      cursor: pointer;
      padding: 0;
      font-size: 1.2rem;
      line-height: 1; }
    .knowledge-base-table .action-buttons .remove-row {
      color: #dc2626; }
      .knowledge-base-table .action-buttons .remove-row:hover {
        color: #b91c1c; }

#add-item-button {
  display: inline-block;
  width: auto;
  margin-top: 14px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-size: 1.125rem;
  color: #16a34a;
  transition: color 0.2s ease; }
  #add-item-button:hover {
    color: #15803d; }
  #add-item-button::before {
    content: "+";
    /* Unicode voor plusje */ }
