body { font-family: 'Gellix', Arial, sans-serif; margin: 0px; font-weight: 400; font-size: 14px; }
label { display: inline-block; }
select, input { font-family: 'Gellix'; font-weight: 400; font-size: 14px; margin-right: 10px; }
table { border-collapse: collapse; width: 100%; margin-top: 1rem; }
th, td { border: 1px solid #ccc; padding: 0.5rem; font-size: 14px; }
th { background: #eee; }
h1 { font-weight: 700; font-size: 34px;}
h2 { font-weight: 700; font-size: 30px; }
a { color: #7F7F7F; }

.lightgreen {
    background-color: #c8e6c9;
}
.orange {
    background-color: #ffecb3;
}
.red {
    background-color: #ffcdd2;
}
.null {
    background-color: #eee;
    color: #999;
}
    .stats-blocks { display: flex; gap: 1rem; margin-top: 1rem; }
    .block { border: 1px solid #ccc; padding: 1rem; flex-grow: 1; background: #f9f9f9; }
	
	.menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 10px; }
    .menu li.active a { font-weight: bold; color: 000; }
	
.row {
	width: 100%;
}

.col-50 {
	width: 49.5%;
	display: inline-block;
}

.col-20 {
	width: 19.5%;
	display: inline-block;
}

@font-face {
    font-family: 'Gellix';
    font-style: normal;
    font-weight: 700;
    src: url("../fonts/Gellix-Bold.woff2") format("woff2");
}

@font-face {
    font-family: 'Gellix';
    font-style: normal;
    font-weight: 400;
    src: url("../fonts/Gellix-Regular.woff2") format("woff2");
}

#header-left {
	display: inline-block;
	width: 200px;
    flex-shrink: 0;
}

#header-right {
	display: inline-block;
	width: calc(100% - 560px);
}

.menu a {
    display: block;
    position: relative;
    padding: 14px 16px 17px;
    border-radius: 22px;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    text-transform: lowercase;
    white-space: nowrap;
	text-decoration: none;
}

.site-wrapper, .header-wrapper {
	width: 100%;
	max-width: 1366px;
    margin: 0 auto;
}

header {
	border-bottom: 1px solid #eaeaea;
}

.brand img {
	position: relative;
    bottom: -10px;
}

section {
	padding-top: 25px;
	padding-bottom: 25px;
}

/* Forms */
form.inline label:last-of-type {
	margin-right: 20px;
}

.form-group {
    margin-bottom: 20px;
}

select,
input[type="url"],
input[type="date"],
input[type="month"],
input[type="text"],
input[type="number"],
input[type="email"],
input[type="password"] {
    width: 80%;
    padding: 12px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

select:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="text"]:focus,
input[type="number"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select::placeholder,
input[type="url"]::placeholder,
input[type="date"]::placeholder,
input[type="month"]::placeholder,
input[type="text"]::placeholder,
input[type="number"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
    color: #999;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 25px 0;
    font-size: 13px;
}

.remember-forgot label {
    margin: 0;
    font-weight: 400;
}

.remember-forgot a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.remember-forgot a:hover {
    color: #764ba2;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

input[type="checkbox"] {
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.alert {
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.alert.show {
    display: block;
}

.alert.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.feature-info {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.feature-info strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
}

.feature-list {
    margin-left: 15px;
}

.feature-list li {
    margin-bottom: 4px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 24px;
    }
}

/* Generieke container + header (wachtwoord / reset e.d.) */

.container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 420px;
    padding: 40px;
	margin-left: auto;
	margin-right: auto;
	margin-top: 10vh;
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.header h1 {
    font-size: 24px;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Reset / e-mail formulieren */

.btn {
    padding: 5px 40px 5px 40px;
	background-color: #ceff69;
    color: #000;
    border: 1px solid #ceff69;
    border-radius: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease-in-out;
	text-transform: lowercase;
	text-decoration: none;
}

.btn:hover, .btn:active {
    border: 1px solid #b9e55f;
    background-color: #b9e55f;
}

.btn-sec {
    padding: 5px 40px 5px 40px;
	background-color: #FFF;
    color: #000;
    border: 1px solid #000;
    border-radius: 22px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s ease-in-out;
	text-transform: lowercase;
	text-decoration: none;
}

.btn-sec:hover, .btn-sec:active {
    background-color: #000;
	color: #FFF;
}


.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #764ba2;
}

.info-box {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 25px;
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

.info-box strong {
    color: #333;
    display: block;
    margin-bottom: 8px;
}

/* Password strength blok */



.password-strength {
    margin-top: 8px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    background: #dc3545;
    width: 0%;
    transition: width 0.3s ease;
}

.password-strength-bar.weak {
    background: #dc3545;
    width: 33%;
}

.password-strength-bar.medium {
    background: #ffc107;
    width: 66%;
}

.password-strength-bar.strong {
    background: #28a745;
    width: 100%;
}

.password-requirements {
    background: #f0f0f0;
    border-radius: 8px;
    padding: 12px;
    margin-top: 12px;
    font-size: 12px;
    color: #666;
}

.requirement {
    margin: 6px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.requirement.met {
    color: #28a745;
}

.requirement .icon {
    font-size: 14px;
}

@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    .header h1 {
        font-size: 20px;
    }
}

/* Site selector */
.site-selector-header {
    display: inline-block;
    align-items: center;
    gap: 12px;
}

.site-selector-header label {
    margin: 0;
    font-weight: 500;
}

.site-selector-header select {
    padding: 6px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    min-width: 250px;
}

.site-selector-header select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

#siteSelector {
	margin-left: 10px;
	max-width: 150px;
}

/* Filtering */

input.shortfilter {
	width: 60px;
}

/* Navboost */
  .stat-box {
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
  }
  .stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
  }
  .stat-label {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
  }
  .text-center {
    text-align: center;
  }
  .text-danger {
    color: #dc3545;
  }
  .text-success {
    color: #28a745;
  }
  .text-info {
    color: #17a2b8;
  }
  .url-cell {
    word-break: break-all;
    font-family: monospace;
    font-size: 12px;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
  }
  table thead th {
    background: #f8f9fa;
    border-bottom: 2px solid #ddd;
    padding: 10px;
    text-align: left;
  }
  table td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
  }
  table tbody tr:hover {
    background: #f8f9fa;
  }
  
 /* pagination */
  .pagination {
    text-align: center;
  }
  .pagination a, .pagination strong {
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #007bff;
  }
  .pagination strong {
    background: #007bff;
    color: white;
  }
  
/* AI knop naast invoerveld */
.input-with-action {
    display: flex;
    gap: 6px;
    align-items: center;
}
.input-with-action input {
    flex: 1;
}
.btn-ai {
    background: #6c47ff;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 6px 10px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s;
}
.btn-ai:hover  { background: #5535d4; }
.btn-ai:disabled { opacity: 0.5; cursor: not-allowed; }

/* Laadindicator */
.ai-loader {
    margin-top: -29px;
	margin-left: 16px;
    font-size: 13px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}
#ai-onderwerp-loader { 	margin-left: 16px; }
#ai-tekst-loader { 	margin-left: 80px; height: 29px; }
.spinner {
    width: 14px; height: 14px;
    border: 2px solid #ccc;
    border-top-color: #6c47ff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Titellijst */
.ai-suggesties {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
	position: absolute;
    z-index: 99;
    background-color: #FFF;
    width: 100%;
    max-width: 627px;
}
.ai-suggesties li {
    padding: 8px 12px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
}
.ai-suggesties li:last-child { border-bottom: none; }
.ai-suggesties li:hover      { background: #f5f0ff; color: #6c47ff; }

/* Inline form-group (checkbox + taal naast elkaar) */
.form-group-inline {
    display: flex;
    align-items: flex-end;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.label-with-action {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

/* Afbeelding upload & weergave */
.afbeelding-huidig {
    display: flex;
    align-items: center;
    gap: var(--space-3, 12px);
    margin-bottom: var(--space-3, 12px);
    flex-wrap: wrap;
}

.afbeelding-naam-link {
    background: none;
    border: none;
    color: var(--color-primary, #01696f);
    cursor: pointer;
    font-size: inherit;
    padding: 0;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.afbeelding-naam-link:hover {
    color: var(--color-primary-hover, #0c4e54);
}

.afbeelding-vervangen-tekst {
    color: var(--color-text-muted, #7a7974);
    font-size: 0.875rem;
}

.form-hint {
    color: var(--color-text-muted, #7a7974);
    font-size: 0.8125rem;
    margin-top: 4px;
}

/* Popover lightbox */
.afbeelding-lightbox {
    background: rgba(0, 0, 0, 0.85);
    border: none;
    border-radius: 0;
    inset: 0;
    margin: 0;
    max-width: 100vw;
    max-height: 100vh;
    padding: var(--space-8, 32px);
    width: 100vw;
    height: 100vh;
}

.afbeelding-lightbox:popover-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.afbeelding-lightbox::backdrop {
    background: transparent; /* backdrop zit al in de popover zelf */
}

.afbeelding-lightbox img {
    max-width: min(90vw, 1280px);
    max-height: 90vh;
    width: auto;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.6);
    object-fit: contain;
}

.afbeelding-lightbox-sluit {
    position: fixed;
    top: var(--space-4, 16px);
    right: var(--space-4, 16px);
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    font-size: 1.25rem;
    height: 40px;
    line-height: 1;
    width: 40px;
    transition: background 0.2s;
}

.afbeelding-lightbox-sluit:hover {
    background: rgba(255, 255, 255, 0.3);
}

.afbeelding-verwijder-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-error, #a12c7b);
    cursor: pointer;
    font-size: 0.875rem;
}

.afbeelding-verwijder-label input[type="checkbox"] {
    accent-color: var(--color-error, #a12c7b);
    cursor: pointer;
}

/* Linkbuilding plaatsingen */
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border-width: 0;
}