body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-nav {
    background-color: #fff; box-shadow: 0 2px 4px rgba(0,0,0,0.1); padding: 0 1rem;
    position: fixed; top: 0; left: 0; width: 100%; height: 60px;
    display: flex; align-items: center; justify-content: flex-end; z-index: 1000; box-sizing: border-box;
}
.nav-links {
    display: flex; align-items: center; gap: 1.5rem;
}
.main-nav a { color: #333; text-decoration: none; font-weight: 600; padding: 0.5rem; }
.hamburger-menu { display: none; }
.notification-badge {
    background-color: #d9534f;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    vertical-align: top;
    margin-left: 4px;
}
.content-wrapper { padding-top: 80px; max-width: 1400px; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; box-sizing: border-box; flex: 1;}
.container {
    background-color: white; padding: 2rem; border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08); width: 100%;
    max-width: 800px; margin: 2rem auto; box-sizing: border-box;
}

/* Wanted Pagina Layout */
.wanted-container { display: flex; flex-direction: row; gap: 2rem; align-items: flex-start; }
.main-content { flex: 3; }
.sidebar { flex: 1; min-width: 300px; position: sticky; top: 80px; }
.sidebar-widget { background: #fff; padding: 1.5rem; border-radius: 12px; box-shadow: 0 6px 20px rgba(0,0,0,0.08); margin-bottom: 2rem; }
.sidebar-widget h3 { margin-top: 0; border-bottom: 2px solid #eee; padding-bottom: 0.5rem; }

/* Formulieren, Knoppen, etc. */
.form-group { margin-bottom: 1.5rem; text-align: left; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; }
.form-group small { color: #6c757d; font-size: 0.8rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem; border: 1px solid #ccc; border-radius: 8px; box-sizing: border-box; font-size: 1rem;
}
.btn {
    background-color: #007bff; color: white !important; padding: 0.75rem 0; border: none;
    border-radius: 8px; font-size: 1rem; font-weight: 600; cursor: pointer; width: 100%;
    transition: background-color 0.2s; text-decoration: none; display: inline-block; text-align: center; margin-top: 0;
}
.wizard-nav .btn, .inventory-item .btn, .admin-table .btn, .gps-header .btn, .page-actions .btn { width: auto; padding: 0.5rem 1rem; }
.btn:hover { background-color: #0056b3; }
.btn:disabled { background-color: #999; cursor: not-allowed; }
.btn.btn-secondary { background-color: #6c757d; }
.btn.btn-danger { background-color: #d9534f; }
.btn.btn-success { background-color: #28a745; }
.btn.btn-warning { background-color: #ffc107; color: #212529 !important; }
.btn.btn-sm { padding: 0.25rem 0.75rem; font-size: 0.8rem; }
.btn.btn-login { padding: 0.5rem 1rem; }
hr { border: 0; height: 1px; background-color: #eee; margin: 2rem 0; }
.danger-zone { background-color: #f8d7da; border: 1px solid #f5c6cb; border-radius: 8px; padding: 1.5rem; margin-top: 1rem;}
.danger-zone h2 { color: #721c24; margin-top: 0; }
.message.info { background-color: #d1ecf1; color: #0c5460; border: 1px solid #bee5eb; padding: 1rem; border-radius: 8px; text-align: center; }

/* Admin Specifiek */
.admin-category { margin-bottom: 2.5rem; }
.admin-category h2 { border-bottom: 2px solid #007bff; padding-bottom: 0.5rem; color: #007bff; }
.admin-menu { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.admin-table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.admin-table th, .admin-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #dee2e6; }
.admin-table td.actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.status-banned { color: #d9534f; font-weight: bold; }
.status-active { color: #28a745; font-weight: bold; }
.status-inactive { color: #6c757d; }
.season-status { text-align: center; margin-bottom: 2rem; }
.season-status.active p { color: #28a745; font-size: 1.5rem; font-weight: bold; }
.season-status.inactive p { color: #d9534f; font-size: 1.5rem; font-weight: bold; }

/* Modal / Lightbox */
.modal-overlay { display: none; position: fixed; z-index: 2000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.6); align-items: center; justify-content: center; }
.modal-content { background-color: #fff; margin: auto; padding: 2rem; border-radius: 12px; text-align: center; max-width: 90%; width: 400px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); animation: modal-appear 0.3s ease-out; }
@keyframes modal-appear { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon { width: 60px; height: 60px; margin: 0 auto 1rem; }
.modal-icon svg { width: 100%; height: 100%; }
.modal-content.success .modal-icon { color: #28a745; }
.modal-content.error .modal-icon { color: #d9534f; }
.modal-content p { font-size: 1.2rem; margin: 0 0 1.5rem; }

/* Mobile Specific Tweaks */
@media (max-width: 992px) {
    .wanted-container { flex-direction: column; }
    .sidebar { position: static; width: 100%; order: 1; }
    .main-nav { justify-content: space-between; }
    .nav-links {
        display: none; position: absolute; top: 60px; left: 0; width: 100%;
        background-color: #fff; flex-direction: column; padding: 1rem 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    }
    .nav-links.active { display: flex; }
    .hamburger-menu {
        display: flex; flex-direction: column; justify-content: space-around;
        width: 30px; height: 30px; background: transparent; border: none; cursor: pointer; padding: 0;
    }
    .hamburger-menu span {
        width: 30px; height: 3px; background-color: #333; border-radius: 10px;
        transition: all 0.3s linear; position: relative; transform-origin: 1px;
    }
    .hamburger-menu.active span:nth-child(1) { transform: rotate(45deg); }
    .hamburger-menu.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .hamburger-menu.active span:nth-child(3) { transform: rotate(-45deg); }

    .profile-lists { grid-template-columns: 1fr; }
    .profile-stats { grid-template-columns: 1fr 1fr; }
    .admin-edit-container { grid-template-columns: 1fr; }
    .ar-panel { grid-template-columns: 1fr; }
    .container { padding: 1.5rem; }
}

/* Switch (Toggle) */
.switch { position: relative; display: inline-block; width: 60px; height: 34px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #ccc; transition: .4s; }
.slider:before { position: absolute; content: ""; height: 26px; width: 26px; left: 4px; bottom: 4px; background-color: white; transition: .4s; }
input:checked + .slider { background-color: #28a745; }
input:checked + .slider:before { transform: translateX(26px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

/* Countdown Timer */
#countdown-timer { display: flex; justify-content: space-around; text-align: center; }
.timer-box { background: #f0f2f5; padding: 0.5rem; border-radius: 4px; }
.timer-box span { font-size: 1.5rem; font-weight: bold; display: block; }

/* Hide Wizard */
.hide-wizard-container { max-width: 600px; margin: auto; }
.step-indicator { display: flex; justify-content: space-between; margin-bottom: 2rem; border-bottom: 2px solid #eee; padding-bottom: 1rem; }
.step-dot { color: #aaa; font-weight: bold; }
.step-dot.active { color: #007bff; }
.hide-step { display: none; }
.hide-step.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.wizard-nav { display: flex; justify-content: space-between; margin-top: 2rem; }
.wizard-nav .btn { width: auto; }
.form-text.text-muted {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: -1rem;
    margin-bottom: 1rem;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
}

/* Camera / AR Interface */
#camera-container { position: relative; width: 100%; max-width: 500px; margin: auto; background-color: #000; border-radius: 8px; overflow: hidden; }
#photo-canvas { width: 100%; height: auto; display: block; cursor: grab; }
#avatar-overlay, #camera-video { display: none; }
.camera-controls { margin-top: 1rem; }
#preview-view img { max-width: 100%; border-radius: 8px; border: 2px solid #ddd; margin-bottom: 1rem; }
.ar-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: center; background: #f8f9fa; padding: 0.3rem; border-radius: 8px; margin-top: 0.5rem; }
.ar-sliders { display: flex; flex-direction: column; gap: 1rem; }
.ar-sliders > div { display: flex; flex-direction: column; align-items: flex-start; font-size: 0.8rem; }
.ar-sliders input[type="range"] { width: 100%; }
.position-controls { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; max-width: 150px; margin: auto; }
.pos-btn { background-color: #e9ecef; border: 1px solid #ced4da; color: #495057; font-size: 1.1rem; line-height: 1; padding: 0.2rem; cursor: pointer; transition: background-color 0.2s; width: auto; }
.pos-btn:hover { background-color: #dbe1e5; }

/* Wanted Muur */
.wanted-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.wanted-poster { background: #fff; position: relative; border: 1px solid #ddd; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 8px rgba(0,0,0,0.05); display: flex; flex-direction: column; }
.clue-photo { width: 100%; height: 200px; object-fit: cover; background-color: #eee; }
.poster-info { padding: 1rem; text-align: center; flex-grow: 1; display: flex; flex-direction: column; }
.hider-info { font-size: 0.85rem; color: #666; margin-top: 0; }
.hider-info a { color: #333; font-weight: bold; text-decoration: none; }
.hider-info a:hover { text-decoration: underline; }
.text-clue { font-style: italic; color: #555; flex-grow: 1; margin: 0.5rem 0 1rem; }
.points { font-size: 1.2rem; font-weight: bold; color: #d9534f; margin-bottom: 1rem; }

/* Inventaris */
.inventory-list { display: flex; flex-direction: column; gap: 1rem; }
.inventory-item { display: flex; align-items: center; gap: 1rem; background: #f9f9fa; padding: 1rem; border-radius: 8px; border: 1px solid #eee; margin-bottom: 1rem; }
.inventory-item img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; }
.inventory-item .item-info { flex-grow: 1; }
.inventory-item .countdown { font-weight: bold; }
.inventory-item .btn { width: auto; padding: 0.5rem 1rem; }

/* Admin Overview */
.overview-container { display: grid; grid-template-columns: 2fr 1fr; gap: 2rem; }
.overview-inventories ul { list-style: none; padding: 0; }
.overview-inventories li { padding: 0.5rem; border-bottom: 1px solid #eee; }

/* Profiel Pagina */
.profile-team-info {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    background-color: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
}
.profile-team-info a {
    font-weight: bold;
    color: #007bff;
    text-decoration: none;
}
.profile-team-info a:hover {
    text-decoration: underline;
}
.profile-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1rem; text-align: center; margin-bottom: 2rem; }
.stat-card { background: #f8f9fa; padding: 1rem; border-radius: 8px; }
.stat-card h3 { margin: 0 0 0.5rem; font-size: 1rem; color: #6c757d; }
.stat-card p { margin: 0; font-size: 2rem; font-weight: bold; }
.profile-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.history-list h2 { border-bottom: 2px solid #eee; padding-bottom: 0.5rem; }
.history-list ul { list-style: none; padding: 0; }
.history-list li { background: #f9f9f9; padding: 0.75rem; border-radius: 4px; margin-bottom: 0.5rem; font-size: 0.9rem; }
.history-list a { color: #007bff; font-weight: bold; text-decoration: none; }
.history-list a:hover { text-decoration: underline; }

/* Scoreboard Pagina */
.scoreboard-table { width: 100%; border-collapse: collapse; }
.scoreboard-table th, .scoreboard-table td { padding: 0.75rem; text-align: left; border-bottom: 1px solid #eee; }
.scoreboard-table th { background-color: #f8f9fa; }
.scoreboard-table td:first-child { font-weight: bold; }
.scoreboard-table a { color: #007bff; font-weight: bold; text-decoration: none; }
.scoreboard-table a:hover { text-decoration: underline; }

/* Activity Log */
.activity-log { list-style: none; padding: 0; }
.activity-log li { display: flex; align-items: flex-start; gap: 0.75rem; margin-bottom: 1rem; }
.log-icon { font-size: 1.5rem; line-height: 1.2; }
.log-text { display: flex; flex-direction: column; font-size: 0.9rem; }
.log-main-line { display: flex; flex-wrap: wrap; gap: 0.25rem; align-items: baseline; }
.log-text a { color: #333; font-weight: bold; text-decoration: none; }
.log-text a:hover { text-decoration: underline; }
.log-time { font-size: 0.8rem; color: #6c757d; }
.date-separator {
    font-weight: bold;
    color: #6c757d;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 0.25rem;
}

/* Footer */
.main-footer {
    background-color: #343a40; /* Donkergrijs */
    color: #f8f9fa; /* Gebroken wit */
    padding: 1rem;
    margin-top: 2rem;
}
.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-logo img {
    height: 150px;
    width: auto;
    display: block;
}
.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.2s;
}
.footer-links a:hover {
    color: var(--accent-color, #ffc107);
    text-decoration: underline;
}
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    .footer-links a {
        margin: 0 0.5rem;
    }
}

/* Tab Navigatie */
.tab-nav {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 1rem 1.5rem;
    border: none;
    background-color: transparent;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #6c757d;
    position: relative;
    bottom: -2px;
}
.tab-btn.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* Team Pagina's */
.team-actions {
    background-color: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}
.team-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}
.team-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.team-card h3 a {
    text-decoration: none;
    color: #007bff;
}
.team-card p {
    margin: 0.5rem 0;
    color: #6c757d;
}
.team-card .btn {
    margin-top: 1rem;
    width: 100%;
}

/* Team Dashboard */
.team-management {
    background-color: #fffbe6;
    border: 1px solid #ffeeba;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
}
.team-management h2, .team-management h3 {
    margin-top: 0;
    color: #856404;
}
.request-list {
    list-style: none;
    padding: 0;
}
.request-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
}
.request-list li:last-child {
    border-bottom: none;
}
.request-list .actions {
    display: flex;
    gap: 0.5rem;
}

/* Hunt Pagina */
.hunt-container { text-align: center; max-width: 100%; }
.hunt-clue img { max-width: 100%; border-radius: 8px; margin-bottom: 1rem; cursor: pointer; }
.hunt-clue .text-clue {
    font-style: italic;
    font-size: 1.2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-left: 5px solid #007bff;
    margin: 0 0 2rem 0;
    text-align: left;
}
.hunt-map-container { margin-top: 2rem; }
#find-button { margin-top: 1rem; }
#gps-status { font-weight: bold; color: #555; }
.report-link {
    display: inline-block;
    margin-top: 1.5rem;
    font-size: 0.8rem;
    color: #6c757d;
    text-decoration: underline;
    cursor: pointer;
}

/* Image Preview Modal */
#image-modal { background-color: rgba(0,0,0,0.9); }
.modal-image-content { margin: auto; display: block; max-width: 90%; max-height: 90vh; }
.close-image-modal { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; }
.close-image-modal:hover, .close-image-modal:focus { color: #bbb; text-decoration: none; cursor: pointer; }

/* Admin Rapporten Pagina */
.report-list { display: flex; flex-direction: column; gap: 1.5rem; }
.report-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 1.5rem;
}
.report-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}
.report-header h3 { margin: 0; }
.report-header span { font-size: 0.8rem; color: #6c757d; }
.report-comment blockquote {
    margin: 0.5rem 0 0 0;
    padding: 0.75rem;
    background: #fff;
    border-left: 4px solid #ccc;
    font-style: italic;
}
.report-photo { margin-top: 1rem; }
.report-photo img { max-width: 200px; border-radius: 4px; margin-top: 0.5rem; }
.report-actions { margin-top: 1.5rem; display: flex; justify-content: flex-end; gap: 0.5rem; }

/* Hall of Fame */
.hall-of-fame {
    background-color: #fff;
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
    border: 1px solid #ddd;
}
.hall-of-fame h2 {
    text-align: center;
    margin-top: 0;
}

.reported-flag {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 2rem;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
    cursor: help;
}

/* Styling voor de waarschuwing op de hunt-pagina */
.message.warning {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Styling voor Special Items Container */
.special-item-container {
    background-color: #fff;
    border: 2px solid #ffc107; /* Gouden rand */
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 6px 15px rgba(255, 193, 7, 0.3);
    animation: pulse-border 2s infinite;
}

.special-item-container h2 {
    background-color: #ffc107;
    color: #333;
    margin: 0;
    padding: 0.75rem 1.5rem;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    font-size: 1.3em;
    text-align: center;
}

.special-item-card {
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.special-item-card.teaser {
    /* Speciale styling voor teasers */
    filter: grayscale(50%) brightness(0.9);
}

.special-item-image {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    margin-bottom: 1rem;
    border-radius: 8px;
}

.special-item-info {
    text-align: center;
}

.special-item-info h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5em;
}

.special-item-info p {
    margin: 0 0 1rem 0;
    color: #555;
}

.special-item-info .points {
    font-size: 1.2em;
    font-weight: bold;
    color: #28a745;
    margin-bottom: 1rem;
}

.special-countdown {
    font-size: 1.4em;
    font-weight: bold;
    color: #007bff;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 4px;
}

/* Animatie voor de gouden rand */
@keyframes pulse-border {
    0% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    70% { box-shadow: 0 0 10px 15px rgba(255, 193, 7, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0); }
}

/* Styling voor Special Hunt Pagina */
.special-hunt-container .special-item-reward {
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.special-hunt-container .special-item-reward img {
    max-height: 100px;
    object-fit: contain;
}
.special-hunt-container .special-item-reward .points {
    font-size: 1.1em;
    font-weight: bold;
    color: #28a745;
    margin-top: 0.5rem;
}

/* -----------------------------------------------------------------
AANVULLING VOOR MODALS
(Deze regels werken samen met je bestaande .modal-overlay en .modal-content)
-----------------------------------------------------------------
*/

/* Zorg ervoor dat de Flash modal (die we willen zien) wel 'display: flex' heeft */
#flash-modal {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Stijlen voor de transfer-modal (die we verbergen en tonen met JS) */
#transfer-modal {
    display: none; /* Standaard verborgen, JS toont het met 'flex' */
    justify-content: center;
    align-items: center;
}

/* Specifieke stijlen voor de *inhoud* van de transfer-modal */
/* Let op: .modal-content styling staat al in je eigen CSS, dus we voegen alleen toe wat mist */
.modal-content h2 {
    margin-top: 0;
}

.modal-close {
    color: #aaa;
    position: absolute;
    right: 1.5rem;
    top: 1rem;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
}

.modal-close:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-actions {
    margin-top: 1.5rem;
    display: flex;
    justify-content: flex-end; /* Knoppen rechts uitlijnen */
    gap: 0.5rem;
}

/* -----------------------------------------------------------------
AANVULLING VOOR NETTE ADMIN KNOPPEN (GECORRIGEERD MET HOGERE SPECIFICITEIT)
-----------------------------------------------------------------
*/
.admin-action-buttons {
    display: flex;
    flex-wrap: nowrap; /* Zorgt dat knoppen netjes 'wrappen' op kleine schermen */
    gap: 0.5rem; /* Ruimte tussen de knoppen */
    align-items: center; /* Lijn knoppen netjes uit */
}

/* DEZE REGEL IS NU SPECIFIEKER:
Het richt zich op een <form> binnen een .admin-action-buttons div, 
die zich in een <td> met de class .actions bevindt. 
Dit zou elke algemene 'form { display: block; }' regel moeten overschrijven.
*/
.admin-table td.actions .admin-action-buttons form {
    margin: 0; /* Haal eventuele standaard marges weg */
    display: inline-block; /* Zorg dat ze naast elkaar passen */
}

/* We zorgen er ook voor dat .btn elementen (zoals de 'Bewerken' link) zich correct gedragen */
.admin-action-buttons .btn {
    margin: 0;
    display: inline-block;
}


* LOGBOEK STYLING */
.logbook-section {
    margin-top: 2rem;
    background-color: #f9f9f9;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #eee;
}
.logbook-section h2 { margin-top: 0; font-size: 1.2em; border-bottom: 2px solid #ddd; padding-bottom: 0.5rem; }
.logbook-intro { font-size: 0.9em; color: #666; margin-bottom: 1rem; }

.comments-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem 0;
    max-height: 400px;
    overflow-y: auto;
}

.comment-item {
    background: #fff;
    border-radius: 8px;
    padding: 0.8rem;
    margin-bottom: 0.8rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    border-left: 4px solid #ccc; /* Standaard rand */
    position: relative;
}

/* Rollen */
.comment-item.hider { border-left-color: #007bff; background-color: #f0f8ff; } /* Blauw voor verstopper */
.comment-item.finder { border-left-color: #28a745; background-color: #f0fff4; } /* Groen voor vinder */

.comment-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.85em;
    margin-bottom: 0.4rem;
    color: #555;
}
.comment-user { font-weight: bold; }
.comment-body {
    font-size: 1rem;
    color: #333;
    padding-right: 20px; /* Ruimte voor rapport knop */
    word-wrap: break-word;
}

/* Rapport knop */
.report-btn {
    background: none; border: none; cursor: pointer; font-size: 0.8em; opacity: 0.3;
    position: absolute; bottom: 5px; right: 5px; padding: 0;
}
.report-btn:hover { opacity: 1; }
.report-flag { position: absolute; bottom: 5px; right: 5px; font-size: 0.9em; }

/* Input formulier */
.comment-form { margin-top: 1rem; border-top: 1px solid #ddd; padding-top: 1rem; }
.comment-input-group { display: flex; gap: 0.5rem; }
.comment-input-group input { flex-grow: 1; padding: 0.5rem; border: 1px solid #ccc; border-radius: 4px; }
#char-count { font-size: 0.8em; color: #888; float: right; margin-top: 2px; }
.no-comments { text-align: center; color: #999; font-style: italic; padding: 1rem; }

/* LOGBOEK STYLING (Update) */
.comment-actions {
    position: absolute;
    bottom: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    gap: 10px; /* Ruimte tussen de icoontjes */
    background-color: rgba(255, 255, 255, 0.9); /* Achtergrondje voor leesbaarheid */
    padding: 2px 8px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.report-btn, .delete-btn {
    background: none; 
    border: none; 
    cursor: pointer; 
    font-size: 1.1em; /* Iets groter */
    opacity: 0.6;
    padding: 0;
    transition: opacity 0.2s, transform 0.2s;
    line-height: 1;
    position: static;
}


.report-btn:hover, .delete-btn:hover { 
    opacity: 1; 
    transform: scale(1.1);
}

/* Prullenbakje rood maken bij hover */
.delete-btn:hover {
    filter: drop-shadow(0 0 2px red);
}

.report-flag { 
    font-size: 0.9em; 
    cursor: help;
}


/* Styling voor de comment badge op de wanted poster */
.comment-badge {
    position: absolute;
    top: 10px;
    left: 10px; /* Linksboven, tegenover de vlag */
    background-color: rgba(255, 255, 255, 0.9); /* Witte, iets doorzichtige achtergrond */
    padding: 4px 8px;
    border-radius: 12px; /* Mooie ronde hoeken */
    font-size: 0.85em;
    font-weight: bold;
    color: #333;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2); /* Klein schaduwtje voor diepte */
    z-index: 2; /* Zorg dat het boven de afbeelding ligt */
    display: flex;
    align-items: center;
    gap: 4px; /* Ruimte tussen icoon en getal */
    pointer-events: none; /* Zorgt dat je er doorheen kunt klikken op de foto */
}
