body {
  background: #F8F6FF;
font-weight: 400 !important;
}

.ai-scanner-form-wrap {
  max-width: 420px;
  margin: 40px auto 36px auto;
  background: #f8f6ff;
  border-radius: 18px;
  padding: 28px 30px 26px 30px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.ai-scanner-form h2 {
  color: #6f2da8;
  font-weight: 700;
}

.ai-scanner-row {
  margin-bottom: 18px;
}

.ai-scanner-row label {
  font-weight: 400;
  display: block;
  margin-bottom: 6px;
  color: #453171;
}

.ai-scanner-row input[type="text"],
.ai-scanner-row input[type="url"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #e2d5f5;
  border-radius: 11px;
  font-size: 16px;
  box-sizing: border-box;
  background: #fefcff;
}

.ai-scanner-row input:focus {
  border-color: #a585ee;
  outline: none;
}

.ai-scanner-btn {
  background: linear-gradient(90deg, #6f2da8 0%, #b46cf5 100%);
  color: #fff;
  border: none;
  border-radius: 16px;
  padding: 11px 34px;
  font-weight: 400;
  cursor: pointer;
  margin-right: 10px;
  font-size: 17px;
  transition: background .15s;
}

.ai-scanner-btn.ai-scanner-reset {
  background: #e7e2f7;
  color: #6f2da8;
}

.ai-scanner-errors {
  color: #fff;
  background: #e74c3c;
  border-radius: 13px;
  padding: 13px 18px;
  margin: 20px 0;
}

.ai-scanner-result-block,
.ai-scanner-form-wrap {
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  min-width: 0 !important;
  width: 100% !important;
}

.ai-scanner-result-block {
  border-radius: 0px;
  padding: 0 0 26px 0;
  position: relative;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  margin: 24px 0 36px 0 !important;
}

/* SCOREBALK */
.ai-scanner-score-top {
  color: #000000;
  padding: 150px 0px 10px 0px;
  font-size: 1.1rem;
  font-weight: 400 !important;
  display: flex;
  align-items: center;
  min-height: 44px;
  letter-spacing: 0.01em;
  width: 100% !important;
  box-sizing: border-box;
  gap: 30px;
}

.ai-scanner-badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 20px;
  background: #3edc93; /* standaard kleur */
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;
  margin-right: 18px;
  transition: background 0.2s;
}

.badge-goed {
  background: linear-gradient(90deg,#3edc93 60%,#4bdc78 100%);
}
.badge-matig {
  background: linear-gradient(90deg,#ffe483 60%,#ffc15a 100%);
}
.badge-fout {
  background: linear-gradient(90deg,#ff687b 60%,#ea1d45 100%);
}


.ai-eindoordeel {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 12px;
  color: #222;
  font-weight: bold;
  margin-left: 12px;
  font-size: 1.05rem;
}

.badge-goed {
  background: linear-gradient(90deg,#3edc93 60%,#4bdc78 100%);
  color: #fff !important;
}
.badge-matig {
  background: linear-gradient(90deg,#ffe483 60%,#ffc15a 100%);
  color: #6b4c00 !important;
}
.badge-fout {
  background: linear-gradient(90deg,#ff687b 60%,#ea1d45 100%);
  color: #fff !important;
}


/* TABEL */
.ai-scanner-table {
  width: 100% !important;
  table-layout: fixed !important;   /* Kolombreedtes werken nu zoals ingesteld */
  background: none;
  margin-top: 18px;
  margin-bottom: 0;
  border-collapse: separate;
  border-spacing: 0;
}

/* Kolombreedtes en uitlijning */
.ai-scanner-table th:nth-child(1),
.ai-scanner-table td:nth-child(1) {
  width: 200px;
}

.ai-scanner-table th:nth-child(2),
.ai-scanner-table td:nth-child(2) {
  width: 75%;
}

.ai-scanner-table th:nth-child(3),
.ai-scanner-table td:nth-child(3) {
  width: 15%;
  text-align: right;
}

/* Ook de header rechts uitlijnen voor kolom 3 */
.ai-scanner-table th:nth-child(3) {
  text-align: right;
}

.ai-scanner-table th,
.ai-scanner-table td {
  padding: 20px 18px;
  font-size: 1rem;
  word-break: normal !important;
  white-space: normal !important;
  vertical-align: middle;
}

.ai-scanner-table th {
  background: #f0e5ff;
  color: #6f2da8;
  font-weight: 400;
  border-radius: 0px 0px 0 0;
  letter-spacing: .04em;
  border: none;
}

.ai-scanner-table tr {
  border-bottom: 0px solid #efe5fc;
}

.ai-scanner-table tr:last-child {
  border-bottom: none;
}

.ai-scanner-table td {
  border: none;
  background: transparent;
  vertical-align: top;
}

/* Kleuren per status */
.status-goed td {
  background: #ffffff !important;
}
.status-matig td {
  background: #ffffff !important;
}
.status-fout td {
  background: #ffffff !important;
}

.ai-label {
  display: inline-block;
  background: #e5defa;
  color: #6138a6;
  border-radius: 12px;
  padding: 3px 13px;
  font-size: 0.97em;
  font-weight: 500;
  margin-left: 7px;
  margin-right: 0;
  vertical-align: middle;
}

.status-goed .ai-label {
  background: #d3ffe7;
  color: #1e8847;
}
.status-fout .ai-label {
  background: #ffe0ea;
  color: #c14a69;
}
.status-matig .ai-label {
  background: #fff7e6;
  color: #ad7c21;
}

.ai-scanner-tips {
  margin: 70px 0 0 0;
  background: #ffffff;
  padding: 50px 30px 13px 30px;
  border-radius: 0 0 0px 0px;
}

.ai-scanner-tips h4 {
  margin-bottom: 9px;
  font-size: 1.08rem;
  color: #6f2da8;
}

.ai-scanner-tips ul {
  margin: 0 0 0 18px;
}
.ai-scanner-tips li {
  margin-bottom: 7px;
}

/* Mobiel */
@media (max-width: 800px) {
  .ai-scanner-form-wrap {
    max-width: 99vw !important;
    padding: 13px 2vw;
  }
  .ai-scanner-result-block {
    padding: 0 0 8vw 0;
  }
  .ai-scanner-score-top,
  .ai-scanner-tips {
    padding-left: 4vw;
    padding-right: 4vw;
  }
  .ai-scanner-table th,
  .ai-scanner-table td {
    font-size: 15px;
    padding: 8px 4px;
  }
  /* Responsive tabel: kolommen onder elkaar bij smal scherm */
  .ai-scanner-table,
  .ai-scanner-table thead,
  .ai-scanner-table tbody,
  .ai-scanner-table tr {
    display: block;
    width: 100%;
  }
  .ai-scanner-table th,
  .ai-scanner-table td {
    display: block;
    width: 100% !important;
    box-sizing: border-box;
    max-width: 100% !important;
    text-align: left !important;
  }
  .ai-scanner-table th {
    text-align: left !important;
  }
}

.entry-content tr td {
  border-top: 6px solid #F8F6FF !important;
  padding: 20px 24px !important;
}

.button, .button-primary {
    background: #3858e9;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 10px 22px;
    font-size: 16px;
    font-family: inherit;
    cursor: pointer;
    margin-right: 10px;
    box-shadow: 0 2px 8px rgba(60,70,120,.06);
    transition: background .18s;
}
.button-primary:hover {
    background: #233db5;
}

.ai-error {
    color: #c00 !important;
    font-weight: bold;
    background: #fee;
    padding: 2px 6px;
    border-radius: 3px;
}
