/* ============================================================
   YUNO2 Huiskamer — app.css
   Single source of truth for all styles
   ============================================================ */

/* ============================================================
   1. DESIGN SYSTEM VARIABLES
   ============================================================ */
:root {
    --primary-color:   #486E60;
    --primary-light:   #FCE883;
    --secondary-color: #1C1C1C;
    --accent-color:    #E6A57E;
    --bg-light:        #FFF8E7;
    --white:           #ffffff;
    --border-radius:   12px;
    --transition:      all 0.3s ease;
    --shadow:          0 5px 15px rgba(0,0,0,0.05);
    --success:         #27ae60;
    --danger:          #e74c3c;
    --info:            #3498db;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--secondary-color);
    line-height: 1.6;
    background-color: var(--bg-light);
}

h1, h2, h3, h4 {
    font-family: 'Nunito', sans-serif;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   3. LAYOUT
   ============================================================ */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 3;}
main { padding-top: 30px; }
main.page, div.page {
    padding-bottom: 50px;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}
main.page::before, div.page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 231, 0.75);
    pointer-events: none;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(72,110,96,0.2);
    font-family: inherit;
}
.btn-large {
    padding: 16px 40px;
    font-size: 1.15rem;
    min-height: 56px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.btn-accent {
    background-color: var(--accent-color);
    color: var(--white);
    box-shadow: 0 4px 6px rgba(230,165,126,0.3);
}
.btn-ghost {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    font-family: inherit;
}
.btn-nav {
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.7);
    color: #fff;
    background: transparent;
}
.nav-divider {
    display: inline-block;
    width: 1px;
    height: 24px;
    background: rgba(255,255,255,0.35);
    margin: 0 6px;
    align-self: center;
}
.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
}
.btn-outline.btn-error {
    color:#e53935;
    border-color:#e53935;
}
.btn-card {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 6px rgba(72,110,96,0.2);
}
.btn-card.accent {
    background: var(--accent-color);
    box-shadow: 0 4px 6px rgba(230,165,126,0.3);
}
.btn-card.gradient {
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 4px 6px rgba(150,130,110,0.25);
}

/* ============================================================
   5. HEADER & NAV
   ============================================================ */
header {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}
header.centered { justify-content: center; }

nav { display: flex; justify-content: space-between; align-items: center; width: 100%; }

.logo.img::after { display: none; }
.logo img { float: left; width: auto; height: 66px; margin: 7px 0; }

/* dashboard/profiel layout wrapper (used instead of .container in some pages) */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-user { color: rgba(255,255,255,0.9); font-size: 0.9rem; margin-right: 4px; }
.nav-user strong { color: var(--white); }

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
    width: 44px;
    height: 44px;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
    font-family: inherit;
}

/* ============================================================
   6. FORMS
   ============================================================ */
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 700; margin-bottom: 5px; color: #555; }

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.97rem;
    transition: 0.2s;
    background: #fafafa;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(72,110,96,0.1);
}
textarea.form-control { resize: vertical; }

/* ============================================================
   7. ALERTS
   ============================================================ */
.alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 0.9rem; text-align: left; }
.alert-error   { background: #fff0f0; border: 1px solid #f5c6c6; color: #c0392b; }
.alert-success { background: #f0fff4; border: 1px solid #b2dfdb; color: #1b5e20; }
.alert-info    { background: #e8f4fd; border: 1px solid #bee3f8; color: #1a5276; }
.alert-warning { background: #fffbea; border: 1px solid #ffe082; color: #856404; }
.alert-error ul { margin: 6px 0 0 16px; padding: 0; }
.alert-error ul li { list-style: disc; margin-bottom: 2px; }

/* ============================================================
   8. BADGES
   ============================================================ */
.badge { font-size: 0.7rem; padding: 2px 10px; border-radius: 10px; font-weight: 700; text-transform: uppercase; }
.badge-locked { background: rgba(200,0,0,0.08); color: #c00; }
.badge-pinned { background: rgba(72,110,96,0.1); color: var(--primary-color); }

/* ============================================================
   9. PAGINATION
   ============================================================ */
/* Standard (topic.php) */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 24px 0; flex-wrap: wrap; align-items: center; padding: 32px 0; }
.pagination a,
.pagination span { display: inline-block; padding: 8px 14px; border-radius: 8px; font-size: 0.9rem; font-weight: 600; transition: 0.2s; }
.pagination a { background: var(--white); color: var(--primary-color); box-shadow: var(--shadow); }
.pagination a:hover { background: var(--primary-color); color: var(--white); }
.pagination span.current { background: var(--primary-color); color: var(--white); }
.pagination span.dots { background: transparent; color: #ccc; box-shadow: none; }

/* Circle buttons (subforum.php) */
.page-btn {
    min-width: 50px; min-height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem; font-weight: 600;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    background: var(--white);
    color: #555;
    transition: var(--transition);
    font-family: inherit;
    text-decoration: none;
}
.page-btn.active { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }
.page-btn.nav-arrow { font-size: 1.2rem; border-radius: 30px; padding: 0 20px; min-width: auto; }
.page-btn.disabled { opacity: 0.35; pointer-events: none; }
.page-dots { color: #ccc; font-size: 1rem; padding: 0 4px; }

/* ============================================================
   10. BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.95rem;
    color: #999;
    margin-bottom: 20px;
}
.breadcrumb a {
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
    padding: 4px 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.75rem; color: #ccc; }
.breadcrumb .separator { color: #ccc; font-size: 0.8rem; }
.breadcrumb .current { color: #888; }

/* ============================================================
   11. HELP FLOAT
   ============================================================ */
.help-float { position: fixed; bottom: 24px; right: 24px; z-index: 999; }
.help-float-btn {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(72,110,96,0.4);
    transition: var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.help-tooltip {
    display: none;
    position: absolute; bottom: 76px; right: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 24px;
    width: 300px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    border: 2px solid var(--primary-light);
}
.help-tooltip.visible { display: block; animation: slideUp 0.3s ease; }
.help-tooltip h4 { text-transform: none; color: var(--primary-color); margin-bottom: 10px; font-size: 1.1rem; }
.help-tooltip p { font-size: 0.95rem; color: #555; line-height: 1.5; margin-bottom: 8px; }
.help-tooltip-close {
    position: absolute; top: 10px; right: 14px;
    background: none; border: none;
    font-size: 1.2rem; color: #999; cursor: pointer;
    min-width: 44px; min-height: 44px;
    display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   12. SKIP LINK + FOCUS
   ============================================================ */
.skip-link {
    position: absolute; top: -100px; left: 0;
    background: var(--primary-color); color: var(--white);
    padding: 12px 20px; z-index: 10000; font-size: 1rem;
    border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }
*:focus-visible { outline: 3px solid var(--primary-color); outline-offset: 2px; }

/* ============================================================
   13. KEYFRAMES
   ============================================================ */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.6; transform: scale(1.2); }
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   14. AUTH PAGES (index, register, forgot-password, reset-password, activate)
   ============================================================ */
.login-wrapper {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-size: cover;
    background-position: center;
    position: relative;
}
.login-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 231, 0.75);
}
.login-card {
    position: relative;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    padding: 36px 32px;
    width: 100%;
    max-width: 420px;
    text-align: center;
}
.login-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-bottom: 22px;
    text-transform: none;
    line-height: 1.3;
}
.login-card .form-group { text-align: left; }

.divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: #bbb; font-size: 0.85rem; }
.divider::before,
.divider::after { content: ''; flex: 1; height: 1px; background: #e0e0e0; }

.links { font-size: 0.88rem; color: #888; }
.links a { color: var(--primary-color); font-weight: 600; }
.links a:hover { text-decoration: underline; }

.label-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.label-row label { margin-bottom: 0; }
.label-row a { font-size: 0.8rem; color: #888; text-decoration: none; }
.label-row a:hover { text-decoration: underline; }

.hint { font-size: 0.78rem; color: #999; margin-top: 4px; text-align: left; }

.username-status { font-size: 0.82rem; margin-top: 5px; min-height: 1.2em; text-align: left; }
.username-status.checking  { color: #aaa; }
.username-status.available { color: #27ae60; font-weight: 600; }
.username-status.taken     { color: #c0392b; font-weight: 600; }

.dev-notice {
    background: #fffde7; border: 1px solid #ffe082;
    border-radius: 8px; padding: 12px 14px;
    font-size: 0.82rem; margin-top: 14px; color: #555;
    text-align: left; word-break: break-all;
}
.dev-notice strong { display: block; margin-bottom: 4px; color: #333; }
.dev-notice a { color: var(--primary-color); }

.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
.icon-big { font-size: 3rem; margin-bottom: 16px; }

/* ============================================================
   15. DASHBOARD
   ============================================================ */
.page-content {
    min-height: calc(100dvh - 80px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-image: url('../img/livingroom-day.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-content::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 231, 0.80);
}
.welcome-text { position: relative; text-align: center; margin-bottom: 40px; }
.welcome-text h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 6px;
    text-transform: none;
}
.welcome-text p { color: #777; font-size: 1rem; margin: 0; }

.choice-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 960px;
}
.choice-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    padding: 36px 28px;
    text-align: center;
    border: 2px solid transparent;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: var(--transition);
}
.card-accent { height: 5px; border-radius: 4px; margin: 0 auto 24px; width: 50px; }
.card-icon {
    width: 72px; height: 72px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 18px; font-size: 1.8rem;
}
.choice-card h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem; font-weight: 700;
    color: var(--secondary-color); margin: 0 0 10px;
    text-transform: none;
}
.choice-card p { color: #888; font-size: 0.88rem; line-height: 1.6; margin: 0 0 22px; }

/* ============================================================
   16. FORUM OVERVIEW
   ============================================================ */
.page-header {
    background: linear-gradient(135deg, var(--primary-light), #e3f2fd);
    padding: 30px 0 20px;
    border-bottom: 1px solid #eee;
}
.page-header h1 { margin-bottom: 0.25rem; margin-top: 0.5rem; font-size: 2rem; text-transform: none; }
.page-header p { font-size: 1.1rem; color: #555; max-width: 600px; margin-bottom: 0; }

.forum-toolbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 24px 0; }
.forum-toolbar-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.forum-search { position: relative; flex: 1; max-width: 420px; min-width: 240px; }
.forum-search input {
    width: 100%;
    padding: 14px 20px 14px 50px;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 1.05rem;
    font-family: inherit;
    background: var(--white);
    transition: var(--transition);
    min-height: 52px;
}
.forum-search input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(72,110,96,0.15); }
.forum-search .search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); color: #999; font-size: 1.1rem; }

.online-indicator { display: flex; align-items: center; gap: 8px; background: var(--white); padding: 10px 18px; border-radius: 30px; font-size: 0.95rem; color: #555; box-shadow: var(--shadow); }
.online-indicator .online-dot { width: 12px; height: 12px; background-color: var(--success); border-radius: 50%; animation: pulse-dot 2s infinite; }

.welcome-banner { background: var(--white); border-radius: var(--border-radius); padding: 28px 32px; margin-bottom: 32px; box-shadow: var(--shadow); border-left: 5px solid var(--primary-color); display: flex; align-items: center; gap: 20px; }
.welcome-banner .welcome-icon { font-size: 2.5rem; flex-shrink: 0; }
.welcome-banner h2 { text-transform: none; font-size: 1.3rem; margin-bottom: 4px; color: var(--primary-color); }
.welcome-banner p { font-size: 1.05rem; color: #555; margin: 0; }

.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; margin-bottom: 40px; }
.category-card {
    background: var(--white); border-radius: var(--border-radius); padding: 28px;
    box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
    display: flex; gap: 20px; align-items: flex-start;
    border: 2px solid transparent; text-decoration: none; color: inherit; min-height: 140px;
}
.category-card:focus { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.category-icon { width: 64px; height: 64px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; flex-shrink: 0; }
.category-icon.friendship { background-color: #e8f5e9; color: #2e7d32; }
.category-icon.love       { background-color: #fce4ec; color: #c62828; }
.category-icon.activities { background-color: #fff3e0; color: #e65100; }
.category-icon.health     { background-color: #e3f2fd; color: #1565c0; }
.category-icon.help       { background-color: #f3e5f5; color: #6a1b9a; }
.category-icon.hobbies    { background-color: #fce883; color: #f57f17; }
.category-info { flex: 1; min-width: 0; }
.category-info h3 { text-transform: none; font-size: 1.2rem; margin-bottom: 6px; color: #2c3e50; display: flex; align-items: center; gap: 6px; }
.category-info p { font-size: 0.95rem; color: #666; margin-bottom: 12px; line-height: 1.5; }
.category-meta { display: flex; gap: 16px; font-size: 0.85rem; color: #999; flex-wrap: wrap; }
.category-meta span { display: flex; align-items: center; gap: 5px; }
.category-meta i { font-size: 0.8rem; }
.last-activity { font-size: 0.82rem; color: #aaa; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.last-activity i { font-size: 0.75rem; }

.search-results-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.search-results-header h2 { font-size: 1.15rem; text-transform: none; margin: 0; color: #2c3e50; }
.search-results-header .result-count { font-size: 0.9rem; color: #999; }
.search-clear { font-size: 0.88rem; color: var(--primary-color); font-weight: 600; text-decoration: none; }
.search-clear:hover { text-decoration: underline; }
.search-result-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 36px; }
.search-result-card { background: var(--white); border-radius: var(--border-radius); padding: 16px 20px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 16px; border: 2px solid transparent; transition: var(--transition); text-decoration: none; color: inherit; }
.src-cat-badge { padding: 4px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700; background: #e8f5e9; color: #2e7d32; white-space: nowrap; flex-shrink: 0; }
.src-body { flex: 1; min-width: 0; }
.src-title { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem; color: #2c3e50; margin-bottom: 3px; }
.src-title mark { background: var(--primary-light); border-radius: 3px; padding: 0 2px; }
.src-meta { font-size: 0.83rem; color: #aaa; }
.src-meta .author { color: var(--primary-color); font-weight: 600; }
.src-stat { font-size: 0.85rem; color: #999; text-align: center; flex-shrink: 0; min-width: 48px; }
.src-stat strong { display: block; font-size: 1rem; font-weight: 700; color: #555; }
.search-no-results { background: var(--white); border-radius: var(--border-radius); padding: 48px 20px; text-align: center; box-shadow: var(--shadow); margin-bottom: 36px; }
.search-no-results i { font-size: 2.5rem; color: #ddd; display: block; margin-bottom: 14px; }
.search-no-results p { color: #aaa; font-size: 0.95rem; }

.forum-stats-bar { background: var(--white); border-radius: var(--border-radius); padding: 24px 28px; box-shadow: var(--shadow); text-align: center; margin-bottom: 60px; }
.forum-stats-bar p { font-size: 1rem; color: #777; margin: 0; }

/* ============================================================
   17. SUBFORUM
   ============================================================ */
.subforum-header { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; }
.subforum-icon {
    width: 56px; height: 56px;
    border-radius: 16px;
    background-color: #e8f5e9; color: #2e7d32;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0;
}

.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 20px 0; border-bottom: 2px solid #eee; margin-bottom: 24px; }
.filter-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.filter-tab {
    padding: 10px 22px; border-radius: 30px; font-size: 1rem; font-weight: 600;
    cursor: pointer; border: 2px solid #e0e0e0; background: var(--white); color: #666;
    transition: var(--transition); min-height: 44px;
    display: inline-flex; align-items: center; gap: 6px;
    font-family: inherit; text-decoration: none;
}
.filter-tab.active { background-color: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.pinned-header { display: flex; align-items: center; gap: 8px; padding: 12px 0; font-size: 0.9rem; font-weight: 700; color: var(--primary-color); text-transform: uppercase; letter-spacing: 0.5px; }
.pinned-header i { font-size: 0.85rem; }

.topic-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.topic-card {
    background: var(--white); border-radius: var(--border-radius); padding: 20px 24px;
    box-shadow: var(--shadow); transition: var(--transition);
    display: flex; align-items: center; gap: 16px;
    border: 2px solid transparent; text-decoration: none; color: inherit; min-height: 80px;
}
.topic-card.pinned { border-left: 4px solid var(--primary-color); background: linear-gradient(90deg, rgba(72,110,96,0.03), var(--white)); }
.topic-card.locked { opacity: 0.85; }

.topic-avatar {
    width: 50px; height: 50px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem; color: var(--white);
    font-family: 'Nunito', sans-serif;
}
.topic-content { flex: 1; min-width: 0; }
.topic-title-text {
    font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1.08rem;
    color: #2c3e50; margin-bottom: 4px; text-transform: none;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.topic-title-text .pin-icon  { color: var(--primary-color); font-size: 0.8rem; }
.topic-title-text .lock-icon { color: #999; font-size: 0.8rem; }
.topic-meta { display: flex; align-items: center; gap: 12px; font-size: 0.88rem; color: #999; flex-wrap: wrap; }
.topic-meta .author { color: var(--primary-color); font-weight: 600; }
.topic-stats { display: flex; gap: 20px; flex-shrink: 0; align-items: center; }
.stat-box { text-align: center; min-width: 60px; }
.stat-number { font-size: 1.1rem; font-weight: 700; color: #2c3e50; display: block; }
.stat-label  { font-size: 0.72rem; color: #aaa; text-transform: uppercase; letter-spacing: 0.3px; }

.reply-indicator { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; font-weight: 700; font-size: 1rem; flex-shrink: 0; }
.reply-indicator.hot    { background-color: #fce4ec; color: #c62828; }
.reply-indicator.warm   { background-color: #fff3e0; color: #e65100; }
.reply-indicator.normal { background-color: #e8f5e9; color: #2e7d32; }
.reply-indicator.cold   { background-color: #f5f5f5; color: #999; }

.section-divider { display: flex; align-items: center; gap: 10px; margin: 32px 0 16px; font-size: 0.9rem; font-weight: 700; color: #888; text-transform: uppercase; letter-spacing: 0.5px; }
.section-divider::after { content: ''; flex: 1; height: 2px; background: #eee; }

.empty-state { text-align: center; padding: 60px 20px; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); }
.empty-state i { font-size: 3rem; color: #ddd; display: block; margin-bottom: 16px; }
.empty-state p { color: #aaa; font-size: 0.95rem; }

.new-topic-section { background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; margin-bottom: 60px; scroll-margin-top: 100px; }
.new-topic-header { background: var(--primary-light); padding: 16px 24px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; user-select: none; }
.new-topic-header h3 { text-transform: none; font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--secondary-color); margin: 0; }
.new-topic-body { padding: 24px; display: none; }
.new-topic-body.open { display: block; }

/* ============================================================
   18. TOPIC
   ============================================================ */

/* Breadcrumb strip */
.topic-page-header {
    background: linear-gradient(135deg, var(--primary-light), #e3f2fd);
    padding: 28px 0 24px;
    border-bottom: 1px solid #eee;
}

/* Topic header */
.topic-header { padding: 28px 0 20px; }
.topic-header h1 { text-transform: none; font-size: 1.7rem; margin-bottom: 8px; line-height: 1.3; }
.topic-header-meta { display: flex; align-items: center; gap: 16px; font-size: 0.92rem; color: #888; flex-wrap: wrap; }
.topic-header-meta .tag { display: inline-block; padding: 3px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 600; }
.tag-orange { background-color: #fff3e0; color: #e65100; }
.tag-green  { background-color: #e8f5e9; color: #2e7d32; }

/* Posts container */
.posts-container { display: flex; flex-direction: column; gap: 20px; margin-bottom: 40px; }

.post-card { background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; transition: var(--transition); }
.post-card.original-post { border: 2px solid var(--primary-light); }
.post-card-inner { display: flex; }

/* Author sidebar */
.post-author-sidebar { width: 180px; padding: 24px 16px; background: #fafafa; border-right: 1px solid #f0f0f0; text-align: center; flex-shrink: 0; }
.post-avatar { width: 72px; height: 72px; border-radius: 50%; overflow: hidden; margin: 0 auto 10px; border: 3px solid var(--primary-light); }
.post-avatar-initials { display: flex; align-items: center; justify-content: center; color: var(--white); font-weight: 700; font-size: 1.6rem; font-family: 'Nunito', sans-serif; }
.post-author-name { font-family: 'Nunito', sans-serif; font-weight: 700; font-size: 1rem; color: #2c3e50; margin-bottom: 4px; }
.post-author-role { display: inline-block; padding: 3px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.role-lid       { background-color: #e8f5e9; color: #2e7d32; }
.role-member    { background-color: #e8f5e9; color: #2e7d32; }
.role-vip       { background-color: #fff8e1; color: #f57f17; }
.role-moderator { background-color: #e3f2fd; color: #1565c0; }
.role-admin     { background-color: #fce4ec; color: #c62828; }

/* Moderator inline action buttons */
.mod-actions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; padding-top: 10px; border-top: 1px dashed #f0d0d0; }
.mod-btn {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 5px 12px; border-radius: 20px; font-size: 0.78rem; font-weight: 700;
    border: 1.5px solid transparent; cursor: pointer; font-family: inherit;
    background: #fff3f3; color: #c62828; border-color: #facccc; transition: var(--transition);
}
.mod-btn.mod-pin   { background: #e8f5e9; color: #2e7d32; border-color: #a5d6a7; }
.mod-btn.mod-lock  { background: #fff8e1; color: #f57f17; border-color: #ffe082; }
.mod-btn.mod-del   { background: #fce4ec; color: #c62828; border-color: #f48fb1; }

/* Beheer panel */
.beheer-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.beheer-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; }
.beheer-table table { width: 100%; }
.beheer-table thead th { background: #f5f5f5; padding: 14px 18px; text-align: left; font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: #888; border-bottom: 2px solid #eee; }
.beheer-table tbody tr { border-bottom: 1px solid #f5f5f5; transition: var(--transition); }
.beheer-table tbody td { padding: 14px 18px; font-size: 0.92rem; color: var(--secondary-color); vertical-align: middle; }
.beheer-table .user-inactive { opacity: 0.45; }
.role-select { padding: 6px 10px; border: 2px solid #e0e0e0; border-radius: 8px; font-family: inherit; font-size: 0.85rem; background: #fff; cursor: pointer; }
.btn-sm { padding: 6px 14px; font-size: 0.82rem; border-radius: 20px; }
.post-author-stats { font-size: 0.8rem; color: #aaa; margin-top: 4px; line-height: 22px; }

/* ── Beheer panel — extended ─────────────────────────────────── */

/* Stats bar */
.beheer-stats               { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.beheer-stat-card           { padding: 16px 24px; flex: 1; min-width: 140px; }
.beheer-stat-card--primary  { min-width: 180px; }
.beheer-stat-num            { font-size: 2rem; font-weight: 700; color: var(--primary-color); }
.beheer-stat-num--muted     { font-size: 2rem; font-weight: 700; color: var(--secondary-color); }
.beheer-stat-label          { font-size: 0.85rem; color: #aaa; }

/* Tabs */
.beheer-tabs                { display: flex; margin-bottom: 24px; border-bottom: 2px solid #eee; }
.beheer-tab                 { padding: 10px 20px; font-size: 0.9rem; font-weight: 600; text-decoration: none; border-bottom: 3px solid transparent; color: #888; }
.beheer-tab.active          { border-bottom-color: var(--primary-color); color: var(--primary-color); }
.beheer-tab-badge           { background: #e53935; color: #fff; border-radius: 50%; padding: 2px 6px; font-size: 0.72rem; margin-left: 4px; }

/* Search row / count */
.beheer-search-row          { display: flex; gap: 10px; flex: 1; max-width: 420px; }
.beheer-search-row .filter-select { flex: 1; }
.beheer-count               { font-size: 0.88rem; color: #aaa; align-self: center; }

/* Scroll wrappers */
.beheer-scroll              { overflow-x: auto; }
.beheer-scroll--mb          { overflow-x: auto; margin-bottom: 32px; }

/* Empty / intro states */
.beheer-empty               { color: #aaa; font-style: italic; }
.beheer-tab-content--narrow { max-width: 600px; }
.beheer-tab-intro           { color: #666; font-size: 0.9rem; margin-bottom: 20px; }
.beheer-add-row             { display: flex; gap: 10px; margin-bottom: 24px; }
.beheer-add-row .filter-select { flex: 1; }

/* Section headings */
.beheer-section-title       { font-size: 1.1rem; margin-bottom: 14px; color: var(--primary-color); text-transform: none; }
.beheer-section-subtitle    { font-size: 0.85rem; font-weight: 400; color: #aaa; }

/* Table cell helpers */
.beheer-self-tag            { font-size: 0.75rem; color: #aaa; }
.td-meta                    { font-size: 0.85rem; color: #888; }
.td-age                     { font-size: 0.8rem;  color: #aaa; }
.td-center                  { text-align: center; }
.td-actions                 { white-space: nowrap; }
.td-topic-title             { max-width: 260px; }
.td-dash                    { color: #ccc; font-size: 0.8rem; }
.topic-link                 { font-weight: 600; color: var(--primary-color); }

/* Inline form helpers */
.form-inline                { display: inline; }
.form-inline-ml3            { display: inline; margin-left: 3px; }
.form-inline-ml4            { display: inline; margin-left: 4px; }

/* Button variants */
.btn.btn-xs                 { font-size: 0.72rem; padding: 5px 10px; }
.btn.btn-danger             { color: var(--danger); }
.btn.btn-danger:hover       { background: var(--danger); color: #fff; border-color: var(--danger); }

/* Icon indicators */
.icon-pin                   { color: #f5a623; margin-right: 4px; font-size: 0.8rem; }
.icon-lock-sm               { color: #e53935; margin-right: 4px; font-size: 0.8rem; }
.icon-pinned                { color: #f5a623; }

/* Category table inputs (compound selectors override filter-select width:100%) */
.filter-select.input-emoji  { width: 52px; text-align: center; }
.filter-select.input-order  { width: 60px; }
.input-cat-name             { min-width: 140px; }
.input-cat-desc             { min-width: 200px; }
.input-cat-icon             { min-width: 120px; }
.input-wide                 { width: 100%; max-width: 700px; }
textarea.input-wide         { resize: vertical; }
.tr-add-row                 { background: #f9f9f9; }
.cat-inactive               { opacity: 0.45; }

/* Mod-only / toggle button states */
.btn-mod-only               { color: #aaa; }
.btn.btn-mod-only.is-active { color: #e65100; border-color: #e65100; }
.btn-toggle-on              { color: #43a047; }
.btn-toggle-off             { color: #e53935; }
.btn-ml                     { margin-left: 4px; }

/* New topic / collapsible card */
.beheer-card                { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 22px 26px; margin-bottom: 28px; }
.beheer-card-toggle         { display: flex; align-items: center; justify-content: space-between; cursor: pointer; user-select: none; }
.beheer-card-title          { font-size: 1rem; margin: 0; color: var(--primary-color); text-transform: none; }
.beheer-card-body           { margin-top: 18px; }
.beheer-chevron             { color: #aaa; font-size: 0.85rem; }
.beheer-label--checkbox     { font-size: 0.88rem; font-weight: 600; color: #555; display: flex; align-items: center; gap: 8px; cursor: pointer; }

/* Alert icon spacing */
.alert i                    { margin-right: 6px; }

/* Badge size variant */
.badge-topic                { font-size: 0.7rem; }

/* Pagination compact (beheer) */
.beheer-pagination          { margin-top: 20px; padding: 16px 0; }

/* Post body */
.post-body { flex: 1; padding: 24px; min-width: 0; }
.post-date { font-size: 0.85rem; color: #aaa; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.post-content { font-size: 1.05rem; line-height: 1.7; color: var(--secondary-color); margin-bottom: 20px; }
.post-content p { margin-bottom: 14px; }
.post-content p:last-child { margin-bottom: 0; }

/* Quote block */
.quote-block { background-color: var(--bg-light); border-left: 4px solid var(--primary-color); padding: 16px 20px; border-radius: 0 8px 8px 0; margin-bottom: 14px; font-style: italic; color: #555; }
.quote-block .quote-author { font-weight: 700; font-style: normal; color: var(--primary-color); font-size: 0.88rem; margin-bottom: 6px; }

/* Post actions */
.post-actions { display: flex; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #f0f0f0; flex-wrap: wrap; }
.post-action-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 30px; font-size: 0.9rem; font-weight: 600; cursor: pointer; border: 2px solid transparent; background: #f5f5f5; color: #666; transition: var(--transition); min-height: 44px; font-family: inherit; }
.like-btn { color: #c62828; background: #fce4ec; border-color: #fce4ec; }
.like-btn.liked { background: #c62828; color: var(--white); border-color: #c62828; }
.like-btn i { transition: transform 0.3s ease; }
.like-btn:hover i, .like-btn.liked i { transform: scale(1.2); }
.quote-btn { color: var(--primary-color); background: #e8f5e9; }
.report-btn { color: #999; background: #f5f5f5; margin-left: auto; }
.like-count { font-size: 0.85rem; color: #c62828; font-weight: 600; }

/* Reply section */
.reply-section { background: var(--white); border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 32px; margin-bottom: 40px; scroll-margin-top: 100px; }
.reply-section h3 { text-transform: none; font-size: 1.3rem; margin-bottom: 20px; color: var(--primary-color); }

/* Reply toolbar */
.reply-toolbar { width: 100%; display: flex; gap: 6px; padding: 10px 14px; background: #fafafa; border: 2px solid #e0e0e0; border-bottom: none; border-radius: var(--border-radius) var(--border-radius) 0 0; flex-wrap: wrap; }
.toolbar-btn { width: 44px; height: 44px; border: none; background: transparent; cursor: pointer; border-radius: 8px; font-size: 1.1rem; color: #555; transition: var(--transition); display: flex; align-items: center; justify-content: center; font-family: inherit; }
.toolbar-divider { width: 1px; height: 28px; background: #ddd; align-self: center; margin: 0 4px; }

.reply-textarea { width: 100%; min-height: 160px; padding: 18px 20px; border: 2px solid #e0e0e0; border-top: none; border-radius: 0 0 var(--border-radius) var(--border-radius); font-family: inherit; font-size: 1.05rem; line-height: 1.6; resize: vertical; transition: var(--transition); color: var(--secondary-color); display: block; }
.reply-textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 3px rgba(72,110,96,0.15); }
.reply-textarea::placeholder { color: #bbb; }
.reply-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; flex-wrap: wrap; gap: 12px; }
.reply-hint { font-size: 0.88rem; color: #aaa; display: flex; align-items: center; gap: 6px; }

/* Emoji picker */
.emoji-hint { position: relative; display: inline-block; }
.emoji-grid { display: none; position: absolute; bottom: 52px; left: 0; background: var(--white); border: 2px solid #e0e0e0; border-radius: var(--border-radius); padding: 12px; box-shadow: 0 8px 30px rgba(0,0,0,0.12); z-index: 100; width: 280px; }
.emoji-grid.visible { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; animation: slideUp 0.2s ease; }
.emoji-grid button { width: 36px; height: 36px; border: none; background: transparent; font-size: 1.4rem; cursor: pointer; border-radius: 6px; transition: 0.15s; display: flex; align-items: center; justify-content: center; padding: 0; }

/* Scroll-to-reply button */
.scroll-to-reply { position: fixed; bottom: 100px; right: 24px; z-index: 998; opacity: 0; transform: translateY(10px); transition: var(--transition); pointer-events: none; }
.scroll-to-reply.visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.scroll-to-reply-btn { width: 56px; height: 56px; border-radius: 50%; background: var(--accent-color); color: var(--white); border: none; font-size: 1.2rem; cursor: pointer; box-shadow: 0 4px 12px rgba(230,165,126,0.4); display: flex; align-items: center; justify-content: center; transition: var(--transition); }

/* Locked notice */
.locked-notice { background: #fff8f8; border: 1px solid #ffd5d5; border-radius: 8px; padding: 20px 24px; color: #c00; font-size: 0.95rem; text-align: center; margin-bottom: 32px; }
.locked-notice i { margin-right: 6px; }

/* ============================================================
   19. PROFILE
   ============================================================ */
.profile-grid { display: grid; grid-template-columns: 300px 1fr; gap: 24px; align-items: start; }
.profile-card { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.profile-img-container { height: 280px; background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 5rem; }
.profile-actions { padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.profile-content { background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 32px; }
.profile-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.user-name { font-family: 'Poppins', sans-serif; font-size: 1.7rem; font-weight: 700; color: var(--secondary-color); margin: 0 0 4px; text-transform: none; }
.user-meta { color: #999; font-size: 0.88rem; }
.online-badge { display: inline-flex; align-items: center; gap: 6px; background: #f0fff4; color: #27ae60; border: 1px solid #b2dfdb; border-radius: 30px; padding: 4px 12px; font-size: 0.8rem; font-weight: 600; }
.online-badge .online-dot { width: 8px; height: 8px; border-radius: 50%; background: #27ae60; }
.content-section-title { font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--secondary-color); margin: 28px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--primary-light); text-transform: none; }
.placeholder-text { color: #ccc; font-size: 0.88rem; font-style: italic; background: #fafafa; border: 1.5px dashed #e8e8e8; border-radius: 8px; padding: 16px; text-align: center; }
.tags-container { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { background: var(--bg-light); border: 1px solid #e0d5c0; color: #777; padding: 4px 14px; border-radius: 20px; font-size: 0.82rem; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-item label { display: block; font-size: 0.75rem; font-weight: 700; color: #bbb; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 3px; }
.info-item span { font-size: 0.9rem; color: var(--secondary-color); }
.notice-banner { background: rgba(252,232,131,0.3); border: 1px solid var(--primary-light); border-radius: 8px; padding: 12px 16px; font-size: 0.88rem; color: #666; margin-bottom: 20px; }
.back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-color); text-decoration: none; font-size: 0.88rem; font-weight: 600; margin-bottom: 24px; }
.back-link:hover { text-decoration: underline; }
.profile-img-container img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Photo manager */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.photo-item { border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #f5f5f5; position: relative; }
.photo-item.is-active { outline: 3px solid var(--primary-color); outline-offset: 2px; }
.photo-thumb { aspect-ratio: 1; overflow: hidden; }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-controls { padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.active-label { display: flex; align-items: center; justify-content: center; gap: 5px; font-size: 0.78rem; font-weight: 700; color: var(--primary-color); padding: 6px 0; }
.btn-photo { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; padding: 8px 10px; border-radius: 8px; font-size: 0.8rem; font-weight: 600; cursor: pointer; transition: var(--transition); font-family: inherit; border: none; }
.btn-photo-primary { background: var(--primary-color); color: var(--white); }
.btn-photo-danger  { background: transparent; color: #e74c3c; border: 1.5px solid #e74c3c; }
.photo-upload-area { display: block; border: 2px dashed #d0cbbf; border-radius: var(--border-radius); padding: 36px 20px; text-align: center; cursor: pointer; transition: var(--transition); background: var(--white); }
.photo-upload-area:hover { border-color: var(--primary-color); background: rgba(72,110,96,0.03); }
.photo-upload-area i { font-size: 2.5rem; color: #ccc; display: block; margin-bottom: 10px; }
.photo-upload-area p { color: #888; font-size: 0.9rem; margin: 0; }

/* ============================================================
   20. HOVER STATES (pointer-capable devices only)
   ============================================================ */
@media (any-hover: hover) {
    .btn:hover         { background-color: var(--primary-light); color: var(--primary-color); transform: translateY(-2px); }
    .btn-outline:hover { background-color: var(--primary-color); color: var(--white); transform: translateY(-2px); }
    .btn-outline.btn-error:hover { background-color:#e53935; color:#fff; }
    .btn-accent:hover  { background-color: #d4915e; color: var(--white); transform: translateY(-2px); }
    .btn-ghost:hover   { background: rgba(255,255,255,0.2); border-color: var(--white); }
    .btn-nav:hover     { background: rgba(255,255,255,0.2); border-color: #fff; }
    .btn-card:hover    { background-color: var(--primary-light); color: var(--primary-color); transform: translateY(-2px); }
    .btn-card.accent:hover { background: var(--primary-light); color: var(--primary-color); }
    .btn-photo-primary:hover { background: #3a5c4f; }
    .btn-photo-danger:hover  { background: #e74c3c; color: var(--white); }
    .category-card:hover      { transform: translateY(-4px); box-shadow: 0 10px 30px rgba(0,0,0,0.1); border-color: var(--primary-light); }
    .choice-card:hover         { transform: translateY(-8px); border-color: var(--primary-light); box-shadow: 0 16px 40px rgba(0,0,0,0.14); }
    .search-result-card:hover  { border-color: var(--primary-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
    .topic-card:hover          { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: var(--primary-light); }
    .filter-tab:not(.active):hover { border-color: var(--primary-color); color: var(--primary-color); }
    .page-btn:not(.active):hover   { border-color: var(--primary-color); color: var(--primary-color); }
    .help-float-btn:hover { transform: scale(1.1); background: #3a5c4f; }
    .toolbar-btn:hover { background: var(--primary-light); color: var(--primary-color); }
    .post-action-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 8px rgba(0,0,0,0.08); }
    .like-btn:hover { background: #f8bbd0; border-color: #f8bbd0; }
    .like-btn.liked:hover { background: #b71c1c; border-color: #b71c1c; }
    .quote-btn:hover { background: #c8e6c9; }
    .report-btn:hover { background: #eee; color: #666; }
    .emoji-grid button:hover { background: var(--primary-light); transform: scale(1.15); }
    .scroll-to-reply-btn:hover { transform: scale(1.1); }
}

/* ============================================================
   21. RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-right {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        flex-direction: column;
        padding: 12px 20px 20px;
        gap: 8px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.2);
        z-index: 999;
        height: calc(100dvh - 80px);
        overflow: auto;
    }
    .nav-right.open { display: flex; }
    .nav-right .btn-ghost,
    .nav-right .btn-nav {
        text-align: center;
        justify-content: center;
        width: 100%;
        padding: 13px 20px;
    }

    .page-header { padding: 32px 0 28px; }
    .page-header h1 { font-size: 1.5rem; }
    .subforum-icon { width: 44px; height: 44px; font-size: 1.2rem; }
    .forum-toolbar { flex-direction: column; align-items: stretch; }
    .forum-search { max-width: 100%; }
    .forum-toolbar-actions { width: 100%; justify-content: space-between; }
    .categories-grid { grid-template-columns: 1fr; }
    .welcome-banner { flex-direction: column; text-align: center; padding: 24px 20px; }
    .category-card { padding: 20px; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-tabs { overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .btn-large { font-size: 1rem; padding: 14px 28px; }
    .topic-card { flex-wrap: wrap; padding: 16px; gap: 12px; }
    .topic-stats { width: 100%; justify-content: flex-start; gap: 16px; padding-top: 8px; border-top: 1px solid #f0f0f0; }
    .stat-box { min-width: auto; text-align: left; display: flex; align-items: center; gap: 6px; }
    .reply-indicator { width: 40px; height: 40px; font-size: 0.9rem; }
    .help-tooltip { width: 260px; right: -4px; }
    .nav-user { display: none; }
}
@media (max-width: 700px) {
    .profile-grid { grid-template-columns: 1fr; }
    .profile-card { position: static !important; }
    .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .post-card-inner { flex-direction: column; }
    .post-author-sidebar { width: 100%; padding: 16px 20px; border-right: none; border-bottom: 1px solid #f0f0f0; display: flex; align-items: center; gap: 14px; text-align: left; }
    .post-avatar { width: 48px; height: 48px; margin: 0; font-size: 1.1rem; }
    .post-author-stats { display: none; }
    .reply-section { padding: 20px; }
    .post-actions { flex-wrap: wrap; }
    .emoji-grid { width: 250px; }
    .topic-header h1 { font-size: 1.3rem; }
    .search-container { grid-template-columns: 1fr; }
    .filter-sidebar { position: static; }
    .profiles-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .member-card-img { height: 180px; }
}
@media (max-width: 600px) {
    .topic-header h1 { font-size: 1.15rem; }
    .choice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .post-body { padding: 18px; }
    .reply-footer { flex-direction: column; align-items: stretch; }
}
@media (max-width: 500px) {
    .info-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .btn-large { width: 100%; justify-content: center; }
    .category-meta { flex-direction: column; gap: 6px; }
}

/* ============================================================
   20. ZOEKEN — member search & browse page
   ============================================================ */
.search-page-header {
    background: linear-gradient(135deg, var(--primary-light), #e8f5e9);
    padding: 28px 0 24px;
    border-bottom: 1px solid #eee;
}
.search-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    padding: 40px 0;
    align-items: start;
}
.filter-sidebar {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}
.filter-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
}
.filter-group { margin-bottom: 22px; }
.filter-group h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}
.filter-select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    background: #fff;
    color: var(--secondary-color);
    transition: var(--transition);
}
.filter-select:focus { border-color: var(--primary-color); outline: none; }
.age-range { display: flex; gap: 8px; align-items: center; }
.age-range span { color: #aaa; font-size: 0.9rem; flex-shrink: 0; }
.btn-filter {
    width: 100%;
    padding: 12px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    margin-top: 4px;
}
.btn-reset {
    width: 100%;
    padding: 10px;
    background: transparent;
    color: #aaa;
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    transition: var(--transition);
    margin-top: 8px;
    text-align: center;
    text-decoration: none;
    display: block;
}
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}
.results-count { font-size: 0.9rem; color: #999; }
.sort-select {
    padding: 7px 14px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.88rem;
    background: #fff;
    color: var(--secondary-color);
    cursor: pointer;
    transition: var(--transition);
}
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 22px;
}
.member-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    display: block;
    border: 2px solid transparent;
}
.member-card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    position: relative;
    overflow: hidden;
}
.member-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.member-card-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(255,255,255,0.9);
    font-family: 'Nunito', sans-serif;
}
.member-card-body { padding: 18px; text-align: center; }
.member-card-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--secondary-color);
    margin-bottom: 4px;
}
.member-card-meta { font-size: 0.83rem; color: #aaa; display: block; margin-bottom: 6px; }
.member-card-looking {
    display: inline-block;
    font-size: 0.78rem;
    background: var(--bg-light);
    border: 1px solid #e0d5c0;
    color: #888;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.badge-nieuw {
    position: absolute;
    top: 12px; left: 12px;
    background: var(--primary-color);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}
.badge-online-card {
    position: absolute;
    top: 12px; right: 12px;
    background: var(--success);
    color: white;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
}
.no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: #aaa;
}
.no-results i { font-size: 3rem; margin-bottom: 16px; display: block; }

/* ============================================================
   21. LID-PROFIEL — viewing another member's profile
   ============================================================ */
.lid-actions {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.btn-bericht {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background 0.2s;
}
.btn-bericht:hover { background: var(--primary-dark, #3a5a4e); color: var(--white); }
.btn-bericht-locked {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

/* ============================================================
   22. BETALEN & ABONNEMENT — payment & subscription pages
   ============================================================ */
.plan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 720px;
    margin: 0 auto 40px;
}
.plan-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 36px 28px;
    text-align: center;
    border: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.plan-card.featured {
    border-color: var(--primary-color);
    position: relative;
}
.plan-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 18px;
    border-radius: 20px;
    white-space: nowrap;
    letter-spacing: 0.04em;
}
.plan-icon { font-size: 2.4rem; margin-bottom: 12px; }
.plan-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}
.plan-price {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 4px;
}
.plan-price sup { font-size: 1.4rem; vertical-align: top; margin-top: 8px; }
.plan-period { font-size: 0.88rem; color: #aaa; margin-bottom: 24px; }
.plan-features {
    list-style: none;
    text-align: left;
    margin-bottom: 28px;
    flex: 1;
}
.plan-features li {
    padding: 7px 0;
    font-size: 0.92rem;
    color: #555;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
    gap: 8px;
}
.plan-features li i { color: var(--primary-color); width: 16px; flex-shrink: 0; }
.plan-reassurance {
    text-align: center;
    font-size: 0.88rem;
    color: #aaa;
    max-width: 500px;
    margin: 0 auto 40px;
    white-space: nowrap;
}
.plan-reassurance i { margin-right: 4px; }

/* Subscription status */
.sub-status-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 32px;
    margin-bottom: 28px;
}
.sub-status-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}
.sub-badge-active {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.sub-badge-cancelled {
    background: #fff8e1;
    color: #f57f17;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
}
.sub-badge-none {
    background: #f5f5f5;
    color: #aaa;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
}
.sub-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}
.sub-detail-item label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 3px;
}
.sub-detail-item span { font-size: 0.95rem; color: var(--secondary-color); font-weight: 600; }
.sub-expiry-bar { height: 8px; background: #eee; border-radius: 4px; margin: 0 0 6px; overflow: hidden; }
.sub-expiry-fill { height: 100%; background: var(--primary-color); border-radius: 4px; }
.sub-expiry-label { font-size: 0.82rem; color: #aaa; }

/* Profile page — subscription block */
.profiel-sub-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: #f9fffe;
    border: 1px solid #c8e6c9;
    border-radius: var(--border-radius);
    padding: 14px 18px;
}
.profiel-sub-left { display: flex; flex-direction: column; gap: 4px; }
.profiel-sub-meta { font-size: 0.85rem; color: #777; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.profiel-sub-dot  { color: #ccc; }

.profiel-vip-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #fff8ee 0%, #fff3e0 100%);
    border: 1px solid #ffe0b2;
    border-radius: var(--border-radius);
    padding: 16px 18px;
}
.profiel-vip-cta-text {
    display: flex;
    align-items: center;
    gap: 12px;
}
.profiel-vip-cta-text strong { display: block; font-size: 0.95rem; margin-bottom: 2px; }
.profiel-vip-cta-text p { font-size: 0.82rem; color: #888; margin: 0; line-height: 1.4; }

/* Success page */
.payment-success {
    text-align: center;
    max-width: 520px;
    margin: 60px auto;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 48px 40px;
}
.payment-success .success-icon { font-size: 4rem; margin-bottom: 20px; }
.payment-success h2 { font-family: 'Poppins', sans-serif; font-size: 1.8rem; margin-bottom: 12px; }

@media (max-width: 600px) {
    .plan-grid { grid-template-columns: 1fr; }
    .payment-success { padding: 32px 20px; margin: 30px auto; }
}

/* ============================================================
   23. BERICHTEN (Inbox & Thread)
   ============================================================ */

/* Like/match buttons on lid.php */
.btn-like {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: 2px solid #e53935;
    background: #fff0f3;
    color: #e53935;
    transition: var(--transition);
    width: 100%;
    justify-content: center;
}
.btn-like:hover  { background: #e53935; color: #fff; }
.btn-like-back   { background: #e53935; color: #fff; }
.btn-like-back:hover { background: #c62828; border-color: #c62828; }
.btn-liked {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 2px solid #f0c0c0;
    background: #fff5f5;
    color: #f0a0a0;
    width: 100%;
    justify-content: center;
    cursor: default;
}
.like-hint {
    font-size: 0.78rem;
    color: #aaa;
    margin: 8px 0 0;
    text-align: center;
    line-height: 1.4;
}

/* Matches page */
.match-section-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 28px 0 14px;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}
.match-flash {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    border-radius: var(--border-radius);
    padding: 16px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #2e7d32;
    font-size: 1rem;
}
.matches-empty {
    text-align: center;
    padding: 40px 20px;
    color: #bbb;
    font-size: 0.9rem;
}
.matches-empty i { font-size: 2.5rem; display: block; margin-bottom: 12px; color: #e0e0e0; }

/* Nav badge */
.nav-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e53935;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    margin-left: 5px;
    line-height: 1;
    vertical-align: middle;
}

/* Inbox layout */
.inbox-wrap {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    min-height: 520px;
    overflow: hidden;
}
.inbox-sidebar {
    border-right: 1px solid #eee;
    overflow-y: auto;
}
.inbox-sidebar-header {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    font-size: 1rem;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 8px;
}
.inbox-list { list-style: none; margin: 0; padding: 0; }
.inbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-bottom: 1px solid #f5f5f5;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
}
.inbox-item:hover { background: #fafafa; }
.inbox-item.active { background: #f0f7f4; }
.inbox-item.unread .inbox-name { font-weight: 800; }
.inbox-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    font-family: 'Nunito', sans-serif;
}
.inbox-avatar img { width: 100%; height: 100%; object-fit: cover; }
.inbox-preview { flex: 1; min-width: 0; }
.inbox-name { font-size: 0.9rem; font-weight: 600; color: var(--secondary-color); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inbox-snippet { font-size: 0.8rem; color: #999; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.inbox-meta { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; flex-shrink: 0; }
.inbox-time { font-size: 0.75rem; color: #bbb; white-space: nowrap; }
.inbox-unread-chip {
    background: var(--primary-color);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    padding: 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inbox-empty {
    padding: 48px 24px;
    text-align: center;
    color: #bbb;
    font-size: 0.9rem;
}
.inbox-empty i { font-size: 2.5rem; margin-bottom: 12px; display: block; color: #ddd; }

/* Thread panel */
.thread-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}
.thread-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    background: #fff;
}
.thread-header-back {
    color: var(--primary-color);
    font-size: 0.85rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
}
.thread-header-name {
    font-weight: 700;
    font-size: 1rem;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.thread-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f9f9f9;
}
.thread-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 0.9rem;
    gap: 8px;
}
.thread-empty i { font-size: 2rem; }

/* Message bubbles */
.msg-bubble-wrap {
    display: flex;
    flex-direction: column;
    max-width: 68%;
}
.msg-bubble-wrap.mine { align-self: flex-end; align-items: flex-end; }
.msg-bubble-wrap.theirs { align-self: flex-start; align-items: flex-start; }

.msg-bubble {
    padding: 10px 14px;
    border-radius: 18px;
    font-size: 0.9rem;
    line-height: 1.5;
    word-break: break-word;
    position: relative;
}
.msg-bubble.mine {
    background: var(--primary-color);
    color: #fff;
    border-bottom-right-radius: 4px;
}
.msg-bubble.theirs {
    background: #fff;
    color: #333;
    border: 1px solid #e8e8e8;
    border-bottom-left-radius: 4px;
}
.msg-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 3px;
    padding: 0 4px;
}
.msg-time { font-size: 0.72rem; color: #bbb; }
.msg-delete-btn {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0;
    line-height: 1;
    opacity: 0;
    transition: opacity 0.15s, color 0.15s;
}
.msg-bubble-wrap:hover .msg-delete-btn { opacity: 1; }
.msg-delete-btn:hover { color: #e53935; }

/* Emoji picker (berichten) */
.emoji-picker-wrap {
    position: relative;
    flex-shrink: 0;
}
.emoji-toggle-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    font-size: 1.3rem;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.15s;
}
.emoji-toggle-btn:hover { background: #f0f0f0; }
.emoji-panel {
    display: none;
    position: absolute;
    bottom: 44px;
    left: 0;
    background: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 200;
    width: 280px;
    max-height: 260px;
    overflow-y: auto;
}
.emoji-panel.open { display: block; }
.emoji-category-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 2px 4px;
}
.emoji-panel .emoji-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    position: static;
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    width: auto;
    animation: none;
}
.emoji-panel .emoji-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    font-size: 1.2rem;
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.1s;
}
.emoji-panel .emoji-btn:hover { background: var(--primary-light); }

/* Reply form */
.reply-area {
    border-top: 1px solid #eee;
    padding: 14px 18px;
    background: #fff;
}
.reply-form {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.reply-form textarea {
    flex: 1;
    resize: none;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 0.9rem;
    font-family: inherit;
    line-height: 1.4;
    max-height: 120px;
    transition: border-color 0.2s;
    outline: none;
}
.reply-form textarea:focus { border-color: var(--primary-color); }
.reply-send-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background 0.2s;
}
.reply-send-btn:hover { background: var(--primary-dark, #3a5a4e); }

.reply-locked {
    background: #fff8ee;
    border: 1px solid #ffe0b2;
    border-radius: var(--border-radius);
    padding: 14px 18px;
    font-size: 0.88rem;
    color: #888;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.reply-locked a { color: var(--primary-color); font-weight: 700; white-space: nowrap; }

/* Standalone thread page (no sidebar) */
.thread-standalone {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: calc(100dvh - 220px);
    min-height: 400px;
}

/* Responsive: stack on mobile */
@media (max-width: 768px) {
    .inbox-wrap { grid-template-columns: 1fr; }
    .inbox-sidebar { border-right: none; border-bottom: 1px solid #eee; max-height: 260px; }
    .thread-panel { min-height: 400px; }
    .msg-bubble-wrap { max-width: 85%; }
}

/* ============================================================
   24. FOOTER
   ============================================================ */
footer {
    background-color: #2c3e50;
    color: #ecf0f1;
    padding: 60px 0 20px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col p { color: #bdc3c7; font-size: 0.9rem; line-height: 1.7; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #bdc3c7; transition: 0.3s; font-size: 0.9rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: #95a5a6;
}
@media (any-hover: hover) {
    .footer-col ul li a:hover { color: var(--primary-light); }
    .member-card:hover { border-color: var(--primary-light); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,0.1); }
    .btn-filter:hover { background: var(--accent-color); }
    .btn-reset:hover { border-color: var(--primary-color); color: var(--primary-color); }
    .filter-select:focus { border-color: var(--primary-color); }
    .sort-select:hover { border-color: var(--primary-color); }
}

/* ─── VIP Badge ─────────────────────────────────────────────────────── */
.badge-vip { color: #f5a623; font-size: 0.85em; margin-left: 4px; }

/* ─── Icebreakers ───────────────────────────────────────────────────── */
.icebreakers { padding: 12px 16px 0; }
.icebreaker-label { font-size: 0.82rem; color: #aaa; display: block; margin-bottom: 8px; }
.icebreaker-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.icebreaker-btn {
    background: #f5f5f5; border: 1.5px solid #e0e0e0; border-radius: 20px;
    padding: 6px 14px; font-size: 0.82rem; color: #555; cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.icebreaker-btn:hover { background: var(--primary-light); border-color: var(--primary-color); color: var(--primary-color); }

/* ─── Message blur overlay ──────────────────────────────────────────── */
.msg-blur-overlay {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 16px; background: rgba(255,255,255,0.85);
    backdrop-filter: blur(6px); border-radius: 10px;
    text-align: center; font-size: 0.85rem; color: #555;
}
.msg-blur-overlay p { margin: 0; font-weight: 600; }
.msg-blur-text { color: #bbb; font-style: italic; font-size: 0.82rem; }

/* ─── Block / Report buttons (lid.php) ──────────────────────────────── */
.btn-safety { border: 1.5px solid #ddd; border-radius: 8px; padding: 6px 12px; font-size: 0.8rem; cursor: pointer; background: #fafafa; color: #666; transition: 0.2s; }
.btn-block:hover  { border-color: #e53935; color: #e53935; background: #fff5f5; }
.btn-unblock:hover { border-color: #43a047; color: #43a047; background: #f1f8f1; }
.btn-report:hover { border-color: #f57c00; color: #f57c00; background: #fff8f0; }

/* ─── Profile questions ─────────────────────────────────────────────── */
.profile-questions { display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.profile-question-card { background: #f9f9f9; border-left: 3px solid var(--primary-color); border-radius: 6px; padding: 12px 16px; }
.pq-question { margin: 0 0 6px; font-size: 0.82rem; color: #888; }
.pq-answer   { margin: 0; font-size: 0.93rem; color: #333; line-height: 1.6; }

/* ─── Forum rules bar ───────────────────────────────────────────────── */
.forum-rules-bar { display: flex; gap: 12px; flex-wrap: wrap; padding: 16px 0 4px; }

/* ─── VIP gate card (forum + berichten) ────────────────────────────── */
.vip-gate-card { background: #fff8e1; border: 1px solid #ffe082; border-radius: var(--border-radius); padding: 24px 28px; text-align: center; margin-top: 16px; color: #5d4037; }
.vip-gate-card i { font-size: 1.5rem; color: #f9a825; margin-bottom: 10px; display: block; }
.vip-gate-card p { margin: 0 0 14px; font-size: 0.97rem; }
.vip-gate-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; color: #888; padding: 8px 12px; border: 1px solid #e0e0e0; border-radius: 20px; background: #fafafa; }
.vip-gate-link { color: var(--primary-color); font-weight: 700; text-decoration: none; }
.vip-gate-link:hover { text-decoration: underline; }

/* ── Photo gallery (lid.php) ─────────────────────────────── */
.photo-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; margin-bottom: 20px; }
.gallery-photo { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.gallery-blur { position: relative; background: #eee; border-radius: 8px; aspect-ratio: 1; }
.gallery-blur-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: rgba(0,0,0,.35); backdrop-filter: blur(8px); border-radius: 8px; color: #fff; font-size: 0.82rem; text-align: center; padding: 8px; }
.gallery-blur-overlay i { font-size: 1.1rem; }
.gallery-blur-overlay a { color: #fff; font-weight: 700; text-decoration: underline; }

/* ── Likes notification bar (dashboard) ─────────────────── */
.likes-notification-bar { display: flex; align-items: center; gap: 12px; background: #fce4ec; border-left: 4px solid #e91e63; border-radius: var(--border-radius); padding: 14px 20px; margin-bottom: 24px; flex-wrap: wrap; }
.likes-notification-bar i { color: #e91e63; font-size: 1.2rem; flex-shrink: 0; }
.likes-notification-bar a { margin-left: auto; color: var(--primary-color); font-weight: 700; text-decoration: none; white-space: nowrap; }
.likes-notification-bar a:hover { text-decoration: underline; }

/* ── Likes teaser card (matches.php) ────────────────────── */
.likes-teaser-card { text-align: center; background: #fff; border-radius: var(--border-radius); box-shadow: var(--shadow); padding: 40px 24px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.likes-teaser-card p { margin: 0; }

/* ── Free-message notice (berichten.php) ────────────────── */
.free-message-notice { font-size: 0.83rem; color: #666; background: #fff8e1; border-left: 3px solid #f9a825; border-radius: 6px; padding: 8px 14px; margin-bottom: 8px; }
.free-message-notice a { color: var(--primary-color); font-weight: 700; }
