/* --- GLOBAL VARIABLES --- */
:root {
    --background-color: #121212;
    --surface-color: #1E1E1E;
    --primary-accent: #6A5ACD; /* Purple */
    --secondary-accent: #007BFF; /* Blue */
    --text-color: #EAEAEA;
    --text-color-secondary: #B3B3B3;
    --border-color: #2D2D2D;
}

/* --- BASE STYLES --- */
body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    line-height: 1.6;
    padding-bottom: 110px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
p a {
    color: #ffff00; /* Yellow */
    text-decoration: none;
}
p a:hover {
    text-decoration: none;
} 

/* --- HEADER & NAVIGATION --- */
.site-header {
    background-color: var(--surface-color);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo-image {
    max-height: 40px;
    width: auto;
    display: block;
}
.logo-text {
    font-size: 1.8em;
    font-weight: 700;
}
.main-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}
.main-nav a {
    padding: 6px 10px;
    border-radius: 6px;
    color: var(--text-color-secondary);
    text-decoration: none;   /* <<< underline weghalen */
    transition: color 0.2s ease, background-color 0.2s ease;
}

.main-nav a:hover {
    color: #ffc107;          /* geel */
    background-color: transparent;
    text-decoration: none;   /* zekerheidshalve ook hier */
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}
.welcome-user {
    font-weight: 600;
    color: var(--text-color-secondary);
}

/* --- BUTTONS --- */
.button {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}
.button:hover {
    transform: translateY(-2px);
}
.login-button {
    background-color: var(--primary-accent);
    color: white;
}
.login-button:hover {
    background-color: #7B68EE;
}

.logout-button {
    background-color: #dc3545; /* rood, bekend als "danger" */
    color: white;
}
.logout-button:hover {
    background-color: #c82333; /* donkerder rood */
}


.import-button {
    background-color: var(--secondary-accent);
    color: white;
    text-align: center;
    margin-top: auto;
}
.import-button-large {
    display: block;
    width: 100%;
    text-align: center;
    padding: 15px 20px;
    font-size: 1.2em;
    background: linear-gradient(90deg, var(--primary-accent), var(--secondary-accent));
    color: white;
}
.import-button-large:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}
.publish-button {
    background-color: var(--primary-accent);
    color: white;
}
.publish-button:hover {
    background-color: #7B68EE;
}
.back-button-wrapper {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* --- WIDGET GALLERY & CARDS --- */
.widget-gallery {
    padding: 40px 0;
}
.widget-gallery h1, .widget-gallery h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
}
.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 50px;
}
a.widget-card-link {
    text-decoration: none;
    color: inherit;
}
.widget-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Zorgt dat kaarten even hoog zijn */
}
.widget-card h3 {
    margin: 0 0 10px 0;
    font-size: 1.4em;
}
.widget-card p {
    color: var(--text-color-secondary);
    margin: 0 0 20px 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}
.widget-preview {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-bottom: 20px;
}
.widget-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- GENERIC PAGE STYLES (About, Dashboard, etc.) --- */
.page-container {
    padding-top: 40px;
    padding-bottom: 40px;
}
.page-container h1 {
    text-align: center;
    font-size: 2.8em;
    margin-bottom: 20px;
}
.page-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    font-size: 1.2em;
    color: var(--text-color-secondary);
}
.section-divider {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
}

/* --- FORMS & INPUTS --- */
.publish-form {
    background-color: var(--surface-color);
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
}
.form-group {
    margin-bottom: 25px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color-secondary);
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
    box-sizing: border-box;
}
.form-group textarea {
    resize: vertical;
}
.code-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-top: 30px;
}
.file-upload-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}
.file-upload-wrapper input[type="file"] {
    opacity: 0;
    position: absolute;
    z-index: -1;
    width: 0.1px;
    height: 0.1px;
}
#file-name-display {
    color: var(--text-color-secondary);
    font-style: italic;
}

/* --- WIDGET DETAIL PAGE --- */
.widget-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 50px;
}
.widget-preview-large {
    width: 100%;
    aspect-ratio: 16 / 9; /* Flexibele hoogte gebaseerd op breedte */
    background-color: #1a1a1a;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}
.widget-preview-large img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.widget-info h1 {
    font-size: 2.8em;
    margin-top: 0;
    margin-bottom: 10px;
}
.widget-creator {
    font-size: 1.1em;
    color: var(--text-color-secondary);
    margin-bottom: 20px;
}
.widget-short-desc {
    font-size: 1.2em;
    line-height: 1.7;
}
.widget-stats {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    color: var(--text-color-secondary);
    font-weight: 600;
}
.widget-full-description {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.widget-full-description h2 {
    margin-top: 0;
}
.widget-full-description ul {
    list-style-type: '✅ ';
    padding-left: 20px;
}

/* --- ADMIN PAGES --- */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.dashboard-table-container {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    overflow-x: auto;
}
.dashboard-table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}
.dashboard-table th, .dashboard-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}
.dashboard-table thead th {
    font-size: 0.9em;
    text-transform: uppercase;
    color: var(--text-color-secondary);
}
.dashboard-table tbody tr:last-child td {
    border-bottom: none;
}
.status-live {
    color: #28a745; /* Green */
    font-weight: bold;
}
.status-draft {
    color: #ffc107; /* Yellow */
    font-weight: bold;
}
.action-button {
    display: inline-block;
    font-size: 0.9em;
    padding: 5px 10px;
    border-radius: 5px;
    text-decoration: none;
    color: white;
    font-weight: 500;
}
.action-button.edit {
    background-color: var(--secondary-accent);
}
.action-button.delete {
    background-color: #dc3545; /* Red */
}
.action-button.approve {
    background-color: #28a745; /* Green */
}
.widget-count {
    font-weight: 600;
    color: var(--text-color-secondary);
}
.widget-review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.code-review-grid {
    margin-top: 20px;
}
.code-display {
    width: 100%;
    height: 300px;
    padding: 12px;
    background-color: #000;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #00FF00;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.9em;
    resize: vertical;
    box-sizing: border-box;
}
.admin-preview-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: flex-start;
    margin-top: 20px;
    margin-bottom: 30px;
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 900px) {
    .widget-detail-layout,
    .how-it-works-grid,
    .admin-preview-section {
        grid-template-columns: 1fr;
    }
}

/* --- FOOTER --- */
.site-footer {
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    color: var(--text-color-secondary);
    border-top: 1px solid var(--border-color);
}
.demo-status {
    font-size: 0.9em;
}
.disclaimer-text {
    font-size: 0.8em;
    max-width: 800px;
    margin: 15px auto 10px auto;
    opacity: 0.7;
}

/* --- Styling for Form Hint Text --- */
.form-hint {
    font-size: 0.85em;
    color: var(--text-color-secondary);
    margin-top: 10px;
    margin-bottom: 0;
    font-style: italic;
}

/* --- New Status Colors --- */
.status-pending {
    color: #ffc107; /* Yellow */
    font-weight: bold;
}

.status-rejected {
    color: #dc3545; /* Red */
    font-weight: bold;
}

.status-message-box {
    background-color: var(--surface-color);
    border: 1px solid #ffc107; /* Gele rand */
    color: #ffc107; /* Gele tekst */
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
}

/* --- Styling for Code Display on Detail Page --- */
.code-container {
    margin-top: 40px;
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}
.code-container h2 {
    margin-top: 0;
}
.instructions {
    padding-left: 20px;
    margin-bottom: 30px;
}
.instructions li {
    margin-bottom: 10px;
    text-decoration: none;
}
.instructions li a:hover {
    text-decoration: none;   /* geen underline ook bij hover */
}
.copy-button {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    background-color: var(--secondary-accent);
    color: white;
}
.copy-button:hover {
    background-color: #0056b3;
}

/* --- Styling for Asset List --- */
.asset-container {
    margin-top: 40px;
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #ffc107; /* Yellow border to draw attention */
}
.asset-container h2 {
    margin-top: 0;
    color: #ffc107;
}
.asset-list {
    list-style-type: '🔗 ';
    padding-left: 20px;
}
.asset-list li {
    margin-bottom: 10px;
}
.asset-list a {
    color: var(--text-color);
    font-weight: 600;
}

.admin-note {
    font-size: 0.8em;
    font-style: italic;
    color: var(--text-color-secondary);
    margin-top: 5px;
    background-color: rgba(255, 193, 7, 0.1); /* Light yellow background */
    border-left: 3px solid #ffc107; /* Yellow */
    padding: 5px 8px;
    border-radius: 3px;
}

/* --- Styling for Form Action Buttons --- */
.form-actions {
    display: flex;
    justify-content: flex-end; /* Align buttons to the right */
    gap: 15px;
    margin-top: 20px;
}

.button-secondary {
    background-color: var(--secondary-accent); /* Blue */
    color: white;
    border: 1px solid var(--secondary-accent);
}

.button-secondary:hover {
    background-color: #0056b3; /* Darker Blue */
    border-color: #0056b3;
}

.widget-version {
    font-size: 0.7em;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 10px;
    background-color: var(--secondary-accent);
    color: white;
    vertical-align: middle;
}

/* --- Styling for Highlighted Nav Link --- */
.nav-highlight {
    color: #ffc107 !important; /* Yellow, same as pending status */
    font-weight: bold;
}

.nav-highlight:hover {
    color: #fff !important; /* Brighter white on hover */
}

/* --- Styling for Action Bar on Detail Page --- */
.action-bar {
    display: flex;
    gap: 15px;
    margin: 20px 0;
}

.action-bar .button-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Style for when a button is 'active' (liked/followed) */
.action-bar .button-secondary.active {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: white;
}

/* --- Styling for Dashboard Grid --- */
.dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (max-width: 900px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Styling for links in info columns --- */
.info-column a {
    color: #ffc107; /* Yellow */
    font-weight: bold;
    text-decoration: none;
}

.info-column a:hover {
    text-decoration: none;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
}
.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.required-scopes { margin-top: 20px; }
.required-scopes ul { list-style: none; padding-left: 0; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.required-scopes li { background-color: var(--surface-color); padding: 5px 10px; border-radius: 5px; font-size: 0.9em; font-weight: 600; }

/* --- Styling for Scopes Title --- */
.required-scopes strong {
    color: #ffc107; /* Yellow */
}

/* --- Styling for Search Form --- */
.search-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}
.search-form input[type="search"] {
    width: 100%;
    max-width: 400px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    color: var(--text-color);
    border-radius: 8px;
    font-size: 1em;
}
.search-form .button {
    background-color: var(--secondary-accent);
    color: white;
}

/* --- Styling for Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;             /* Iets meer ruimte tussen de knoppen zelf */
    margin-top: 80px;      /* Veel meer ruimte BOVEN de knoppen (was 40px) */
    margin-bottom: 60px;   /* Extra ruimte ONDER de knoppen (richting footer) */
    padding-top: 20px;     /* Een beetje 'lucht' binnen het element */
}
.pagination a {
    color: var(--text-color-secondary);
    text-decoration: none;
    padding: 8px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}
.pagination a:hover {
    background-color: var(--surface-color);
    color: var(--text-color);
}
.pagination a.active {
    background-color: var(--secondary-accent);
    border-color: var(--secondary-accent);
    color: white;
    cursor: default;
}

.widget-creator a {
    color: inherit;
    text-decoration: none;
}
.widget-creator a:hover {
    text-decoration: none;
}

/* --- DEFINITIEVE STIJL VOOR ALLE BADGES --- */

/* Algemene layout voor ELKE badge */
.badge {
    display: inline-block;
    padding: 5px 14px;   /* iets meer ruimte binnenin */
    font-size: 0.9em;    /* net wat groter lettertype */
    font-weight: 600;
    border-radius: 6px;  /* hoeken blijven strak */
    line-height: 1.2;
    color: #fff;
    vertical-align: middle;
    margin: 0 6px 6px 0; /* iets meer marge */
    white-space: nowrap;
}

/* Specifieke kleuren per badge */
.badge.featured { background-color: #ffc107; color: #212529; }
.badge.shop     { background-color: #28a745; }
.badge.se       { background-color: #00AEF3; }
.badge.sl       { background-color: #00A969; }
.badge.tw       { background-color: #6441A4; }
.badge.kc       { background-color: #00A969; }
.badge.yt       { background-color: #FF0000; }


/* --- Styling for Header Logo --- */
.logo-link {
    display: flex; /* Zet de afbeelding en tekst naast elkaar */
    align-items: center; /* Lijn ze verticaal in het midden uit */
    gap: 10px; /* Ruimte tussen het logo en de tekst */
    text-decoration: none;
    color: inherit;
}

.update-indicator {
  color: #FFD700; /* Een mooie goud-gele kleur */
  font-weight: bold;
  font-size: 0.9em;
  display: block; /* Zorgt dat het zijn eigen regel pakt */
  margin-top: -10px; /* Een beetje omhoog om de ruimte te verkleinen */
  margin-bottom: 10px; /* Ruimte onder de melding */
}

/* Nieuwe stijl voor de knoppen binnen de admin actie-box */
.asset-container .action-buttons {
    display: flex;
    justify-content: flex-end; /* Lijn knoppen rechts uit */
    gap: 15px;
    margin-top: 20px; /* Ruimte boven de knoppen */
}

.creator-notes-box{
  color: #FFD700; /* Een mooie goud-gele kleur */
}

.widget-version-update {
  font-size: 0.6em;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 12px;
  background-color: var(--primary-accent); /* Paars */
  color: white;
  vertical-align: middle;
  margin-left: 10px;
}

/* --- FIX voor de 'See All' Knop --- */

/* Wrapper voor positionering */
.see-all-button-wrapper {
    clear: both;
    width: 100%;
    text-align: right;
    padding-top: 70px;    /* <-- DEZE REGEL (ruimte boven) */
    padding-bottom: 20px; /* <-- EN DEZE REGEL (ruimte onder) */
}

/* Extra specifieke regel om conflicten te winnen */
.see-all-button-wrapper a.button {
    /* Basis knop-stijl (overgenomen van je eigen .button class) */
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none !important; /* Forceer géén onderlijning */
    font-weight: 600;
    cursor: pointer;
    
    /* Kleur-stijl (overgenomen van je .login-button class) */
    background-color: var(--primary-accent);
    color: white !important; /* Forceer witte tekst */
    
    /* Hover effect */
    transition: transform 0.2s ease;
}

.see-all-button-wrapper a.button:hover {
    transform: translateY(-2px);
    text-decoration: none !important;
}

.radio-group {
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: normal;
}

.discord-button {
  background-color: #5865F2;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.discord-button:hover {
  background-color: #4752C4;
  transform: translateY(-2px);
}

.discord-icon {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

.action-button.promote {
    background-color: #28a745; /* Green */
}

.action-button.promoted {
    background-color: transparent;
    color: #28a745; /* Green text */
    border: 1px solid #28a745;
    cursor: default;
}

/* Styling voor de platform filter knoppen */
.platform-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.platform-filters .button {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color-secondary);
}

.platform-filters .button:hover {
    background-color: var(--border-color);
    color: var(--text-color);
}

/* Stijl voor de ACTIEVE knop */
.platform-filters .button.active {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: white;
}

/* Speciale kleur voor de 'Featured' knop */
.platform-filters .button.promote {
    background-color: #28a745; /* Green */
    border-color: #28a745;
    color: white;
}

.platform-filters .button.promote.active {
    background-color: #218838; /* Darker Green */
    border-color: #1e7e34;
}

/* Verbeterde styling voor de error message box lijst */
.status-message-box.error ul {
    margin-top: 10px;
    margin-bottom: 0;
    padding-left: 20px; /* Zorgt voor een nette, kleine inspringing */
    text-align: left;
}

.status-message-box.error li {
    margin-bottom: 5px; /* Een beetje ruimte tussen elke foutmelding */
}

.status-message-box.error li:last-child {
    margin-bottom: 0;
}

/* ----------------------------------------- */
/* ALGEMENE STIJL VOOR ALLE BADGES     */
/* ----------------------------------------- */
/* oude badge style weggehaald / uitgeschakeld */
/* .badge {
    display: inline-block;
    padding: 5px 12px;
    font-size: 0.85em;
    font-weight: 700;
    border-radius: 15px;
    color: white;
    vertical-align: middle;
    margin-left: 5px;
} */

/* ----------------------------------------- */
/* SPECIFIEKE KLEUREN PER BADGE      */
/* ----------------------------------------- */

/* Kleur voor de 'Featured' badge */
.badge.featured {
    background-color: #ffc107; /* Geel/Goud */
    color: #212529;
}

/* Kleur voor de 'Shop' badge */
.badge.shop {
    background-color: #28a745; /* Groen */
}

/* Maak alle prijzen vetgedrukt */
.price-tag {
    font-weight: bold;
}

/* --- Styling voor de Admin Shop Management Pagina --- */

/* De container rond de tabel voor schaduw en afronding */
.admin-table-container {
    background-color: #1e1e1e; /* Donkere achtergrondkleur */
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow-x: auto; /* Zorgt voor scrollen op kleine schermen */
}

/* De tabel zelf */
.admin-table-container table {
    width: 100%;
    border-collapse: collapse; /* Nette, enkele randen */
    color: var(--text-color);
}

/* Tabelkoppen (Title, Creator, etc.) */
.admin-table-container th {
    text-align: left;
    font-weight: bold;
    padding: 12px 15px;
    border-bottom: 2px solid #444; /* Duidelijke lijn onder de koppen */
    background-color: #2a2a2a;
}

/* Eerste en laatste kop afronden */
.admin-table-container th:first-child {
    border-top-left-radius: 6px;
}
.admin-table-container th:last-child {
    border-top-right-radius: 6px;
}

/* Tabelcellen (de data en invoervelden) */
.admin-table-container td {
    padding: 12px 15px;
    border-bottom: 1px solid #333; /* Lichte lijn tussen de rijen */
    vertical-align: middle; /* Centreert alles verticaal */
}

/* Zebra-strepen voor betere leesbaarheid */
.admin-table-container tbody tr:nth-child(even) {
    background-color: #242424;
}

/* Hover-effect op de rijen */
.admin-table-container tbody tr:hover {
    background-color: #383838;
}

/* Styling voor de invoervelden in de tabel */
.admin-table-container input[type="text"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #444;
    background-color: #1e1e1e;
    color: var(--text-color);
    border-radius: 4px;
}

.admin-table-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Zorg dat de Save-knop er goed uitziet */
.admin-table-container .button {
    padding: 8px 16px;
    width: 100%;
}

/* Login knoppen netjes binnen de form, geen overflow */
.publish-form .form-actions{
  display:flex;
  flex-direction:column;   /* of grid 1fr 1fr bij jouw two-col variant */
  gap:10px;
  margin-top:10px;
}

.publish-form .form-actions .button{
  display:block;
  width:100%;
  padding:14px 20px;
  font-size:1rem;
  text-align:center;

  /* >>> dit voorkomt dat 100% + padding gaat overlopen */
  box-sizing: border-box;
  max-width: 100%;
  min-width: 0;
}

/* --- Footer Navigatie Links --- */
.footer-nav {
    margin-top: 20px;
    margin-bottom: 25px; /* <-- DEZE REGEL IS TOEGEVOEGD */
    display: flex;
    justify-content: center;
    gap: 25px; /* Ruimte tussen de links */
}

.footer-nav a {
    color: var(--text-color-secondary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: #ffc107; /* Dit is de gele 'highlight' kleur */
    text-decoration: none;
}

  /* Kleine, scoped aanvullingen die jouw variabelen gebruiken */
    .policy-hero {
      text-align: center;
      padding: 40px 0 10px 0;
    }
    .policy-hero h1 {
      font-size: 2.6em;
      margin: 0 0 10px 0;
    }
    .policy-updated {
      color: var(--text-color-secondary);
      font-size: 0.95em;
    }
    .policy-card {
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      border-radius: 12px;
      padding: 24px;
      margin: 24px 0;
    }
    .policy-card h2 {
      margin-top: 0;
      margin-bottom: 10px;
      font-size: 1.4em;
    }
    .policy-card p { margin: 0.4em 0 0.9em; }
    .policy-list {
      padding-left: 20px;
      margin: 0.4em 0 0.8em;
    }
    .policy-list li { margin: 6px 0; }
    .policy-inline {
      display: inline-block;
      padding: 10px 14px;
      border-radius: 8px;
      background: var(--surface-color);
      border: 1px solid var(--border-color);
      color: var(--text-color-secondary);
      font-size: 0.95em;
    }
    .policy-footer-note{
      font-size: .9em;
      color: var(--text-color-secondary);
      text-align:center;
      margin-top: 20px;
    }
    
/* Links inside .policy-inline */
.policy-inline a {
  color: #ffc107;
  text-decoration: none;
  border-bottom: none;
}

.policy-inline a:hover,
.policy-inline a:focus {
  color: #ffd24a; /* subtiele hover */
  text-decoration: none;
  outline: none;
}

/* Zorg dat visited niet paars wordt */
.policy-inline a:visited { 
color: #ffc107;
}

/* --- FIX VOOR ADMIN LOGOUT KNOP --- */
.btn-admin-logout {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
    background-color: #dc3545; /* Rood */
    color: white;
}

.btn-admin-logout:hover {
    transform: translateY(-2px);
    background-color: #c82333; /* Donkerder rood */
}

/* --- Styling voor Dropdown Menu in Navigatie --- */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown > a {
    cursor: default; /* Maakt de "Admin" tekst zelf niet klikbaar */
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--surface-color);
    min-width: 180px; /* Iets breder voor de langere link-teksten */
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    z-index: 1;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-top: 5px; /* Kleine ruimte tussen knop en dropdown */
    overflow: hidden; 
}

.dropdown-content a {
    color: var(--text-color-secondary);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.dropdown-content a:hover {
    background-color: var(--primary-accent);
    color: white !important;
}

/* Toon de dropdown bij hover */
.nav-dropdown:hover .dropdown-content {
    display: block;
}

/* --- STYLING VOOR NIEUW ADMIN DASHBOARD --- */
.dashboard-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.dashboard-card h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.5em;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.dashboard-card.full-width {
    grid-column: 1 / -1; /* Zorgt dat deze kaart de volledige breedte pakt */
}

/* Styling voor de statistieken lijst */
.stat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.stat-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}
.stat-list li:last-child {
    border-bottom: none;
}
.stat-list li span {
    color: var(--text-color-secondary);
}
.stat-list li strong {
    font-size: 1.8em;
    color: var(--primary-accent);
}

/* Styling voor de snelle acties */
.action-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.action-link {
    display: block;
    background-color: var(--background-color);
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    color: var(--text-color);
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.action-link:hover {
    background-color: var(--primary-accent);
    border-color: var(--primary-accent);
    color: white;
}

/* --- FIX VOOR CHART.JS HOOGTE --- */
.chart-container {
    position: relative;
    height: 350px; /* Vaste hoogte voor de grafiek */
    width: 100%;
}

/* --- Styling voor de Refresh Knop --- */
.button-refresh {
    background-color: var(--secondary-accent); /* Blauw */
    color: white;
    display: inline-flex; /* Zorgt dat icoon en tekst netjes naast elkaar staan */
    align-items: center;
    gap: 8px; /* Ruimte tussen icoon en tekst */
}

.button-refresh:hover {
    background-color: #0056b3; /* Donkerder blauw */
}

/* Klein beetje magie om het icoon mee te laten draaien bij hover */
.button-refresh:hover .fa-sync-alt {
    transform: rotate(180deg);
}

.button-refresh .fa-sync-alt {
    transition: transform 0.3s ease-in-out;
}

/* --- Styling voor Nieuwe Publish Pagina --- */
.publish-container {
    display: grid;
    grid-template-columns: 280px 1fr; /* Vaste breedte voor nav, rest voor content */
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.publish-nav {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
}

.nav-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.nav-step:not(:last-child) {
    margin-bottom: 10px;
}

.nav-step:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-step.active {
    background-color: var(--background-color);
    border-color: var(--border-color);
    cursor: default;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-step.active .step-number {
    background-color: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.step-info h4 {
    margin: 0 0 4px 0;
    font-size: 1em;
}

.step-info p {
    margin: 0;
    font-size: 0.85em;
    color: var(--text-color-secondary);
}

.publish-content {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.content-step {
    display: none; /* Standaard verborgen */
}

.content-step.active {
    display: block; /* Alleen de actieve stap wordt getoond */
}

/* --- Styling voor Nieuwe Homepage --- */

/* Hero Sectie */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.4em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-color-secondary);
}

/* Hoe het werkt Sectie */
.how-it-works {
    text-align: center;
    padding: 40px 0;
}

.how-it-works h2, .featured-widgets h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.step-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

/* Bekijk alles knop */
.see-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* --- Styling voor Accordion FAQ --- */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Ruimte tussen de vragen */
}

details {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1em;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none; /* Verwijdert de standaard driehoek */
}

/* Plus/min icoontje */
summary::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 400;
    transition: transform 0.2s ease-in-out;
}

details[open] > summary::after {
    content: '−'; /* Min-teken als het open is */
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px 20px 20px;
    color: var(--text-color-secondary);
    line-height: 1.7;
}

/* Hergebruik van bestaande stijlen binnen de accordion */
.accordion-content ol {
    padding-left: 20px;
}
.accordion-content li {
    margin-bottom: 10px;
}
.accordion-content ul {
    list-style-type: '🚀 ';
    padding-left: 20px;
}

/* --- Styling voor Links in Accordion --- */
.accordion-content a,
.accordion-content a:visited {
    color: #ffc107; /* De gele highlight kleur */
    font-weight: bold;
    text-decoration: none; /* Geen underline */
}

.accordion-content a:hover {
    text-decoration: underline; /* Wel een underline bij hover voor de duidelijkheid */
}

/* =================================================================== */
/* NIEUWE FEATURES & FIXES (GEconsolideerde CODE)            */
/* =================================================================== */

/* --- Styling voor Creator Stats op Dashboard --- */
.creator-stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 40px;
}

.stat-box {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
}

.stat-box h3 {
    margin: 0 0 10px 0;
    font-size: 1em;
    color: var(--text-color-secondary);
    text-transform: uppercase;
    font-weight: 600;
}

.stat-box span {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-accent);
}

/* --- Styling voor Nieuwe Publish Pagina --- */
.publish-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.publish-nav {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px;
}

.nav-step {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border: 1px solid transparent;
}

.nav-step:not(:last-child) {
    margin-bottom: 10px;
}

.nav-step:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-step.active {
    background-color: var(--background-color);
    border-color: var(--border-color);
    cursor: default;
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2em;
    border-radius: 50%;
    background-color: var(--background-color);
    border: 1px solid var(--border-color);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-step.active .step-number {
    background-color: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.step-info h4 {
    margin: 0 0 4px 0;
    font-size: 1em;
}

.step-info p {
    margin: 0;
    font-size: 0.85em;
    color: var(--text-color-secondary);
}

.publish-content {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.content-step {
    display: none;
}

.content-step.active {
    display: block;
}

/* --- Styling voor Nieuwe Homepage --- */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('/assets/images/hero-background.jpg') no-repeat center center;
    background-size: cover;
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.4em;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: var(--text-color-secondary);
}

.how-it-works {
    text-align: center;
    padding: 40px 0;
}

.how-it-works h2, .featured-widgets h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    text-align: center;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.step-card {
    background-color: var(--surface-color);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.step-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.see-all-button-wrapper {
    text-align: center;
    margin-top: 40px;
}

/* --- Styling voor Accordion FAQ --- */
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

details {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1.1em;
}

summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
}

summary::after {
    content: '+';
    font-size: 1.5em;
    font-weight: 400;
    transition: transform 0.2s ease-in-out;
}

details[open] > summary::after {
    content: '−';
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 20px 20px 20px;
    color: var(--text-color-secondary);
    line-height: 1.7;
}

.accordion-content ol { padding-left: 20px; }
.accordion-content li { margin-bottom: 10px; }
.accordion-content ul { list-style-type: '🚀 '; padding-left: 20px; }

.accordion-content a,
.accordion-content a:visited {
    color: #ffc107;
    font-weight: bold;
    text-decoration: none;
}

.accordion-content a:hover {
    text-decoration: underline;
}

/* --- Styling voor Announcement Banner (Top) --- */
.announcement-banner {
    position: sticky;
    top: 0;
    z-index: 1000;

    /* --- DEZE REGELS ZIJN NIEUW/AANGEPAST --- */
    max-width: 1200px; /* Dezelfde maximale breedte als je site */
    width: 100%;
    margin: 0 auto; /* Centreert de hele balk */
    border-bottom-left-radius: 12px; /* Nette afgeronde hoekjes onderaan */
    border-bottom-right-radius: 12px;
    /* --- EINDE AANPASSING --- */

    background-color: var(--primary-accent);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 50px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.announcement-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.announcement-icon {
    width: 32px;
    height: 32px;
}

.announcement-content p {
    margin: 0;
    font-weight: 500;
}

.announcement-content .button {
    padding: 6px 12px;
    font-size: 0.9em;
}

.announcement-close {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 0 10px;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.announcement-close:hover {
    opacity: 1;
}

/* --- Styling voor Banner Rotator (Bottom) --- */
#banner-rotator {
    width: 728px;
    max-width: 100%;
    height: 90px;
    margin: 60px auto;
    border: 1px solid var(--border-color);
    background-color: var(--surface-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#banner-rotator img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ad-label {
    position: absolute;
    top: 0;
    left: 10px;
    background-color: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.6);
    padding: 2px 6px;
    font-size: 10px;
    font-weight: 600;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    text-transform: uppercase;
}

/* --- Styling voor Advertise Pagina --- */
.ad-preview-container { text-align: center; }
.ad-preview-box {
    width: 728px;
    max-width: 100%;
    height: 90px;
    background-color: var(--surface-color);
    border: 2px dashed var(--border-color);
    margin: 20px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ad-preview-box img { max-width: 100%; max-height: 100%; }
.pricing-section { text-align: center; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.price-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    display: flex;
    flex-direction: column;
}
.price-card.highlight { border-color: var(--primary-accent); border-width: 2px; }
.price-card h3 { margin: 0; font-size: 1.8em; }
.price-card .price { font-size: 3em; font-weight: 700; margin: 20px 0 5px 0; color: var(--primary-accent); }
.price-card .period { margin: 0 0 30px 0; color: var(--text-color-secondary); font-weight: 600; }
.price-card ul { list-style-type: '✔ '; padding-left: 20px; text-align: left; margin-bottom: 40px; }
.price-card li { margin-bottom: 10px; }
.price-card .button {
    margin-top: auto;
    align-self: center;
    padding: 15px 40px;
    font-size: 1.1em;
}

/* --- Kolombreedtes voor 'Published' tabel op Dashboard --- */
.published-table th:nth-child(1) { width: 35%; }  /* Widget Name */
.published-table th:nth-child(2) { width: 20%; }  /* Status */
.published-table th:nth-child(3) { width: 10%; }  /* Views */
.published-table th:nth-child(4) { width: 10%; }  /* Imports */
.published-table th:nth-child(5) { width: 25%; }  /* Promotion Expires */

/* --- Styling voor Nieuwe Profielpagina --- */
.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr; /* Vaste breedte voor bio, rest voor widgets */
    gap: 50px;
    align-items: flex-start;
}

.bio-card {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: sticky; /* Zorgt dat de kaart meescrolt */
    top: 40px;
}

.avatar-wrapper {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px auto;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary-accent);
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bio-card h1 {
    margin: 0;
    font-size: 2em;
    text-align: center;
}

.member-since {
    color: var(--text-color-secondary);
    font-size: 0.9em;
    margin-bottom: 20px;
}

.bio-text {
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.social-link {
    display: block;
    width: 40px;
    height: 40px;
    background-size: 60%;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    transition: background-color 0.2s ease;
}
.social-link:hover {
    background-color: var(--border-color);
}

/* Icons voor de social links (vereist dat je de iconen in /img/icons/ hebt staan) */
.social-link.twitch { background-image: url('img/icons/twitch.svg'); }
.social-link.twitter { background-image: url('img/icons/twitter.svg'); }
.social-link.youtube { background-image: url('img/icons/youtube.svg'); }
.social-link.discord { background-image: url('img/icons/discord.svg'); }

.follow-button {
    width: 100%;
    padding: 12px;
    font-size: 1.1em;
}

/* Actieve stijl voor 'Unfollow' knop */
.follow-button.active {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-color-secondary);
}
.follow-button.active:hover {
    background-color: #dc3545; /* Rood bij hover */
    border-color: #dc3545;
    color: white;
}

/* Responsive aanpassing */
@media (max-width: 900px) {
    .profile-layout {
        grid-template-columns: 1fr;
    }
    .bio-card {
        position: static; /* Verwijdert sticky op mobiel */
    }
}

/* --- DEFINITIEVE FIX VOOR ADVERTENTIE TABEL LAYOUT (7 kolommen) --- */
.ads-table {
    table-layout: fixed;
    width: 100%;
}
/* Stel de breedte van elke kolomkop in */
.ads-table th:nth-child(1) { width: 10%; } /* Status */
.ads-table th:nth-child(2) { width: 15%; } /* Advertiser */
.ads-table th:nth-child(3) { width: 30%; } /* Ad Preview */
.ads-table th:nth-child(4) { width: 8%; }  /* Clicks */
.ads-table th:nth-child(5) { width: 10%; } /* Impressions */
.ads-table th:nth-child(6) { width: 15%; } /* Schedule */
.ads-table th:nth-child(7) { width: 12%; } /* Actions */

/* Dwing de cellen om hun inhoud af te kappen als die te lang is */
.ads-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Toont '...' voor te lange tekst */
}

/* Een uitzondering voor de afbeelding-cel, zodat de afbeelding zichtbaar is */
.ads-table td:nth-child(3) {
    white-space: normal;
}

/* Dwing de afbeelding om altijd binnen de cel te passen */
.ads-table td:nth-child(3) img {
    max-width: 100%;
    height: auto;
    max-height: 45px;
    display: block;
    border: 1px solid var(--border-color);
}

/* --- Kolombreedtes voor User Management Tabel --- */
.user-management-table {
    table-layout: fixed;
    width: 100%;
}

.user-management-table th:nth-child(1) { width: 20%; } /* Username */
.user-management-table th:nth-child(2) { width: 25%; } /* Email (breder gemaakt) */
.user-management-table th:nth-child(3) { width: 7%; } /* Role */
.user-management-table th:nth-child(4) { width: 7%; } /* Status */
.user-management-table th:nth-child(5) { width: 10%; } /* Registered */
.user-management-table th:nth-child(6) { width: 33%; } /* Actions */

/* Zorg dat lange e-mailadressen worden afgekapt met '...' */
.user-management-table td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Styling voor How-To Gids Pagina --- */
.guide-step ol,
.guide-step ul {
    padding-left: 25px;
}
.guide-step li {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.guide-image {
    display: block;
    max-width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin: 20px 0;
}
.guide-image.small {
    max-width: 150px;
}

.guide-note {
    background-color: rgba(255, 193, 7, 0.1);
    border-left: 4px solid #ffc107;
    padding: 15px;
    color: #ffc107;
    list-style-type: none;
}

.guide-settings-list {
    list-style-type: none;
    padding-left: 10px;
}