@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    background: #0d1117;
    color: #fff;
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
}

.page-wrapper {
    position: relative;
    overflow: hidden;
}

.topbar {
    padding: 25px 0;
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1px;
}


.logo span {
    color: #9d7cff;
}

.content-container {
    max-width: 1100px;

    position: relative;
    z-index: 100;

    margin-left: auto;
    margin-right: auto;

    margin-top: 20px;
    margin-bottom: 50px;
}


.glass-card {
    background: rgba(15,20,30,.88);

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 28px;

    padding: 35px;

    backdrop-filter: blur(12px);

    box-shadow:
        0 0 50px rgba(0,0,0,.25),
        inset 0 0 20px rgba(255,255,255,.02);
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 30px;

    min-height: 160px;

    background:
        radial-gradient(
            circle at center,
            rgba(143,109,255,.12),
            rgba(20,25,35,.90)
        );
}

.hero-icon {
    width: 80px;
    height: 80px;
    background: #8f6dff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.hero-card h1 {
    margin: 0;
    font-size: 2.4rem;
    font-weight: 700;
}

.hero-card p {
    margin: 0;
    color: #bda9ff;
    font-size: 1.4rem;
}

.register-box {
    background: rgba(255,255,255,.03);
    border-radius: 20px;
    padding: 25px;
}

.form-control {
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    color: white;
}

.form-control:focus {
    background: rgba(255,255,255,.08);
    color: white;
}

.btn-primary {
    background: #8f6dff;
    border-color: #8f6dff;
}
/* ===================================== */
/* SILHOUETTEN */
/* ===================================== */

.silhouette-left,
.silhouette-right {
    position: fixed;

    bottom: 0;

    height: 78vh;
    width: auto;

    opacity: 0.10;

    pointer-events: none;

    z-index: 1;

    object-fit: contain;
}

.silhouette-left {
    left: -80px;
}

.silhouette-right {
    right: -80px;
}

@media (max-width: 1400px) {

    .silhouette-left,
    .silhouette-right {
        opacity: .07;
        height: 70vh;
    }

}

@media (max-width: 1200px) {

    .silhouette-left,
    .silhouette-right {
        display: none;
    }

}

/* ===================================== */
/* LEDENPORTAAL */
/* ===================================== */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-box {
    background: rgba(255,255,255,.03);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    text-decoration: none;
    color: white;
}

.stat-box:hover {
    color: white;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #9d7cff;
}

.stat-label {
    margin-top: 8px;
    color: #cfcfcf;
}

.hero-content {
    flex: 1;
}

.hero-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.my-ads-link {
    color: #bda9ff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
}

.my-ads-link:hover {
    color: #ffffff;
}

/* ===================================== */
/* CATEGORIEËN */
/* ===================================== */

.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.category-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    min-height: 220px;
    padding: 25px;

    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;

    text-decoration: none !important;
    color: #ffffff !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.25);

    transition: all .2s ease;
}

.category-tile:hover {
    transform: translateY(-5px);

    border-color: #9d7cff;

    box-shadow:
        0 15px 35px rgba(0,0,0,.35),
        0 0 20px rgba(157,124,255,.20);

    color: #ffffff !important;
}

.category-icon {
    margin-bottom: 20px;
}

.category-image {
    width: 140px;
    height: auto;

    display: block;

    filter:
        drop-shadow(
            0 0 12px rgba(157,124,255,.25)
        );
}

.category-name {
    text-align: center;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.category-count {
    font-size: 2rem;
    font-weight: 700;
    color: #9d7cff;
}

.category-label {
    font-size: .9rem;
    color: #bdb6d9;
}

.muted {
    color: #bdb6d9;
}

/* ===================================== */
/* RESPONSIVE */
/* ===================================== */

@media (max-width: 992px) {

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 768px) {

    .hero-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-title-row {
        flex-direction: column;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

}

@media (max-width: 576px) {

    .category-grid {
        grid-template-columns: 1fr;
    }

}
.topbar .content-container {
    margin: 0 auto;
}

.category-icon {
    margin-bottom: 18px;
}

.category-image {
    width: 140px;
    height: auto;

    display: block;

    filter:
        drop-shadow(0 0 12px rgba(157,124,255,.25));
}

/* ===================================== */
/* ADVERTENTIES */
/* ===================================== */
.advertentie-card
{
    background: rgba(255,255,255,0.05);

    border: 1px solid rgba(255,255,255,0.10);

    border-radius: 15px;

    padding: 20px;

    margin-bottom: 15px;
}

.form-control,


.form-control:focus,
.form-select
{
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

/* Dropdowns */
.form-select
{
    border: 1px solid rgba(255,255,255,.20);
}

.form-select option
{
    background: #ffffff;
    color: #212529;
}
#charCounter
{
    font-size: 0.9rem;
    opacity: 0.8;
}
.hero-links
{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.hero-links a
{
    text-decoration: none;
}
.hero-links a.has-unread
{
    color: #ff7aa2;
    font-weight: 700;
}
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;

    border-radius: 12px;

    text-decoration: none;
    color: #fff;

    background: rgba(255,255,255,.06);

    border: 1px solid rgba(255,255,255,.15);

    transition: .2s;
}

.back-button:hover {
    background: rgba(157,124,255,.20);
    color: #fff;
}
.message-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px;
}

.message-wrapper-received {
    align-items: flex-start;
}

.message-wrapper-sent {
    align-items: flex-end;
}

.message-author {
    font-size: .85rem;
    color: #9d7cff;
    margin-bottom: 4px;
    font-weight: 600;
}

.message-status {
    margin-top: 4px;
    font-size: .75rem;
    opacity: .75;
}

.message-received,
.message-sent {
    max-width: 80%;
    padding: 12px 16px;
}

.message-received {
    background: rgba(255,255,255,.08);
    border-radius: 18px 18px 18px 4px;
}

.message-sent {
    background: rgba(157,124,255,.22);
    border-radius: 18px 18px 4px 18px;
}

.gesprek-overlay {
    position: fixed;
    inset: 0;

    display: none;

    z-index: 99999;

    background: rgba(0,0,0,.85);

    justify-content: center;
    align-items: center;
}

.gesprek-modal {

    width: 95%;
    max-width: 1200px;

    height: 90vh;

    background: #1b1f28;

    border-radius: 22px;

    border: 1px solid rgba(157,124,255,.35);

    box-shadow:
        0 0 50px rgba(157,124,255,.25);

    position: relative;

    overflow: hidden;
}

.gesprek-close {

    position: absolute;

    top: 15px;
    right: 20px;

    border: 0;

    background: none;

    color: white;

    font-size: 42px;

    cursor: pointer;

    z-index: 10;
}

#gesprekContent {

    height: 100%;

    overflow-y: auto;

    padding: 25px;
}

/* Formulieren */

.form-control {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.20);
    color: #ffffff;
}

.form-control:focus {
    background: rgba(255,255,255,0.18);
    color: #ffffff;
    border-color: #9d7cff;
    box-shadow: 0 0 0 0.2rem rgba(157,124,255,0.25);
}

.form-control::placeholder {
    color: rgba(255,255,255,0.75);
    opacity: 1;
}
.form-check-label {
    color: rgba(255,255,255,0.9);
}

.form-check-label a {
    color: #b79cff;
    text-decoration: none;
}

.form-check-label a:hover {
    color: #d2c2ff;
    text-decoration: underline;
}

select.form-select,
select.form-control
{
    color: #ffffff !important;
}

select.form-select option,
select.form-control option
{
    color: #212529 !important;
    background: #ffffff !important;
}
.hero-stats
{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:14px;
    font-size:.95rem;
}

.hero-stats span
{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    border-radius:999px;
    padding:7px 13px;
    color:#d6cdfc;
}
