/* Hyves — stijl naar het Hyves van 2009-2011 */

:root {
    --blue: #1d5fa5;
    --blue-dark: #134779;
    --blue-light: #e8f0f8;
    --blue-line: #c5d5e6;
    --orange: #f7931e;
    --orange-dark: #d8760a;
    --text: #333;
    --muted: #7a8a9a;
    --bg: #dde7f1;
    --white: #fff;
    --green: #3fae2a;
    --red: #c9302c;
    --radius: 5px;
}

* { box-sizing: border-box; }

html { background: var(--bg); }

body {
    margin: 0;
    font: 12px/1.5 "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, Arial, sans-serif;
    color: var(--text);
    background: linear-gradient(#c8d8e8, var(--bg) 320px) no-repeat, var(--bg);
    min-height: 100vh;
}

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { margin: 0 0 8px; color: var(--blue-dark); }
h1 { font-size: 20px; }
h2 { font-size: 14px; }
h3 { font-size: 12px; }

p { margin: 0 0 8px; }

.wrap { width: 980px; max-width: 100%; margin: 0 auto; padding: 0 10px; }

/* ---------- kop ---------- */

.topbar {
    background: linear-gradient(#2a78c6, var(--blue) 55%, var(--blue-dark));
    border-bottom: 1px solid #0d3760;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .25);
}

.topbar .wrap { display: flex; align-items: center; gap: 18px; height: 58px; }

.logo {
    display: inline-flex; align-items: center;
    font: bold 34px/1 "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif;
    color: #fff; letter-spacing: -1.5px; text-shadow: 0 2px 2px rgba(0, 0, 0, .3);
}
.logo:hover { text-decoration: none; }
.logo img { height: 40px; display: block; }
.logo .dot { color: var(--orange); }

.search { flex: 1; display: flex; max-width: 360px; }
.search input {
    flex: 1; border: 1px solid #0d3760; border-right: 0; border-radius: 14px 0 0 14px;
    padding: 5px 12px; font: inherit; outline: none;
}
.search button {
    border: 1px solid #0d3760; border-radius: 0 14px 14px 0; background: linear-gradient(#fbab4a, var(--orange));
    color: #fff; font-weight: bold; padding: 0 12px; cursor: pointer;
}

.topbar .me { margin-left: auto; display: flex; align-items: center; gap: 8px; color: #fff; }
.topbar .me img { width: 28px; height: 28px; border: 2px solid #fff; border-radius: 3px; }
.topbar .me a { color: #fff; font-weight: bold; }
.topbar .me form { margin: 0; }
.linkbutton { background: none; border: 0; color: #cfe2f5; font: inherit; cursor: pointer; padding: 0; }
.linkbutton:hover { text-decoration: underline; color: #fff; }

.navbar { background: #fff; border-bottom: 1px solid var(--blue-line); box-shadow: 0 1px 2px rgba(0, 0, 0, .06); }
.navbar ul { list-style: none; margin: 0; padding: 0; display: flex; }
.navbar li a {
    display: block; padding: 9px 14px 7px; font-weight: bold; color: var(--blue-dark);
    border-bottom: 3px solid transparent;
}
.navbar li a:hover { text-decoration: none; background: var(--blue-light); }
.navbar li a.active { border-bottom-color: var(--orange); color: #000; }

.badge {
    display: inline-block; min-width: 18px; padding: 0 5px; margin-left: 3px; border-radius: 9px;
    background: var(--orange); color: #fff; font-size: 10px; line-height: 16px; text-align: center;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .2);
}

/* ---------- layout ---------- */

main { padding: 14px 0 30px; }

.cols { display: grid; gap: 12px; align-items: start; }
.cols-home { grid-template-columns: 200px 1fr 250px; }
.cols-profile { grid-template-columns: 230px 1fr 230px; }
.cols-side { grid-template-columns: 200px 1fr; }
.cols > * { min-width: 0; }

.block {
    background: var(--white); border: 1px solid var(--blue-line); border-radius: var(--radius);
    margin-bottom: 12px; box-shadow: 0 1px 2px rgba(20, 60, 100, .08);
}
.block > h2, .block-head {
    margin: 0; padding: 7px 10px; font-size: 12px; color: var(--blue-dark);
    background: linear-gradient(#f7fafd, #e2ebf5); border-bottom: 1px solid var(--blue-line);
    border-radius: var(--radius) var(--radius) 0 0; display: flex; justify-content: space-between; align-items: center;
}
.block-head a, .block > h2 a { font-weight: normal; font-size: 11px; }
.block-body { padding: 10px; }
.block-body.tight { padding: 0; }

.flash {
    background: #fff8d9; border: 1px solid #f0d77a; color: #6b5300; padding: 8px 12px;
    border-radius: var(--radius); margin-bottom: 12px;
}
.errors {
    background: #fdecea; border: 1px solid #f1b0ab; color: #8a1f17; padding: 8px 12px;
    border-radius: var(--radius); margin-bottom: 12px;
}
.errors ul { margin: 0; padding-left: 18px; }

.muted { color: var(--muted); }
.small { font-size: 11px; }
.center { text-align: center; }
.empty { color: var(--muted); font-style: italic; padding: 6px 0; }

/* ---------- formulieren en knoppen ---------- */

.btn {
    display: inline-block; border: 1px solid var(--orange-dark); border-radius: 4px; cursor: pointer;
    background: linear-gradient(#fdb45b, var(--orange)); color: #fff; font-family: inherit;
    font-size: 12px; font-weight: bold; line-height: 1.3; padding: 5px 12px; text-shadow: 0 -1px 0 rgba(0, 0, 0, .2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn:hover { background: linear-gradient(#fdbd6d, #f99f32); text-decoration: none; color: #fff; }
.btn-blue { border-color: var(--blue-dark); background: linear-gradient(#4a8fd4, var(--blue)); }
.btn-blue:hover { background: linear-gradient(#5b9bdb, #2a6fb5); }
.btn-grey {
    border-color: #aab5c0; background: linear-gradient(#fff, #e3e9ef); color: #345; text-shadow: none;
}
.btn-grey:hover { background: linear-gradient(#fff, #d6dee6); color: #234; }
.btn-small { padding: 3px 8px; font-size: 11px; }
.btn-block { display: block; width: 100%; text-align: center; margin-bottom: 6px; }

form.inline { display: inline; margin: 0; }

.field { margin-bottom: 10px; }
.field label { display: block; font-weight: bold; margin-bottom: 3px; color: #445; }
.field .hint { font-size: 11px; color: var(--muted); }
input[type=text], input[type=email], input[type=password], input[type=date], input[type=search], select, textarea {
    width: 100%; font: inherit; padding: 5px 7px; border: 1px solid #b7c6d5; border-radius: 3px;
    background: #fff; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .07);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px #cfe0f2; }
textarea { resize: vertical; min-height: 60px; }
.row { display: flex; gap: 10px; }
.row > * { flex: 1; }
.check { font-weight: normal; display: inline-flex; gap: 5px; align-items: center; }

/* ---------- avatars en personen ---------- */

.avatar { display: block; border: 1px solid #c8d3de; padding: 2px; background: #fff; border-radius: 3px; }
.avatar-s { width: 54px; height: 54px; }
.avatar-m { width: 104px; height: 104px; }
.avatar-l { width: 100%; height: auto; }
.avatar-wrap { position: relative; display: inline-block; }
.online-dot {
    position: absolute; right: 2px; bottom: 2px; width: 11px; height: 11px; border-radius: 50%;
    background: var(--green); border: 2px solid #fff;
}
.online { color: var(--green); font-weight: bold; }

.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 6px; }
.person-grid.wide { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 12px; }
.person { text-align: center; font-size: 11px; overflow: hidden; }
.person img { margin: 0 auto 3px; }
.person-grid .avatar-s { width: 100%; height: auto; aspect-ratio: 1; }
.person a.name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: bold; }

.list-person { display: flex; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px dotted var(--blue-line); }
.list-person:last-child { border-bottom: 0; }
.list-person .grow { flex: 1; min-width: 0; }
.list-person img.avatar { width: 40px; height: 40px; }

/* ---------- WieWatWaar ---------- */

.www-form { display: flex; flex-direction: column; gap: 6px; }
.www-form .row input:first-child { flex: 3; }
.www-label { font-weight: bold; color: var(--blue-dark); }
.www-label .w { color: var(--orange); }

.feed-item { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid #edf2f7; }
.feed-item:last-child { border-bottom: 0; }
.feed-item .content { flex: 1; min-width: 0; }
.feed-item .who { font-weight: bold; }
.feed-item .where { color: var(--muted); }
.meta { font-size: 11px; color: var(--muted); margin-top: 3px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

.status-bubble {
    position: relative; background: #fffbe9; border: 1px solid #f1dc9c; border-radius: 6px;
    padding: 8px 10px; margin-bottom: 12px; font-size: 13px;
}
.status-bubble::before {
    content: ""; position: absolute; left: 18px; top: -7px; border: 7px solid transparent;
    border-top: 0; border-bottom-color: #f1dc9c;
}
.status-bubble .where { color: var(--muted); font-size: 12px; }

/* ---------- respect ---------- */

.respect {
    background: none; border: 0; padding: 0; cursor: pointer; font: inherit; font-size: 11px;
    color: var(--orange-dark); font-weight: bold;
}
.respect:hover { text-decoration: underline; }
.respect.given { color: var(--muted); font-weight: normal; }
.respect-big {
    display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%;
    background: linear-gradient(#fff6e8, #ffe2b8); border: 1px solid #f3c27a; border-radius: 4px;
    padding: 6px; font-weight: bold; color: #b35d00; cursor: pointer; font-family: inherit; font-size: 12px;
}
.respect-big:hover { background: linear-gradient(#fff0d6, #ffd699); }
.respect-big.given { background: #f3f3f3; border-color: #ddd; color: #888; }
.respect-count { font-size: 18px; font-weight: bold; color: var(--orange-dark); }

/* ---------- krabbels ---------- */

.krabbel { display: flex; gap: 10px; padding: 10px; border-bottom: 1px solid #edf2f7; }
.krabbel:last-child { border-bottom: 0; }
.krabbel.new { background: #fffbea; }
.krabbel .content { flex: 1; min-width: 0; word-wrap: break-word; }
.krabbel .body { margin-top: 2px; }
.krabbel-form textarea { min-height: 70px; }
.krabbel-form .actions { display: flex; justify-content: space-between; align-items: center; margin-top: 6px; }

img.badge-icon { width: 14px; height: 14px; vertical-align: -2px; margin-left: 3px; }
.profile-name img.badge-icon { width: 20px; height: 20px; vertical-align: -1px; margin-left: 5px; }
.role-labels { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 6px; }
.role-label {
    display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: bold;
    padding: 1px 7px 1px 4px; border-radius: 10px; background: var(--blue-light); border: 1px solid var(--blue-line); color: var(--blue-dark);
}
.role-label img { width: 14px; height: 14px; }
.role-label.bn { background: #fff4d6; border-color: #f3c27a; color: #9a5300; }
.role-label.moderator { background: #e8f6e3; border-color: #a9d99b; color: #2b6b1d; }
.role-label.bot { background: #eef1f4; border-color: #c6ced6; color: #4b5763; }

img.smiley { width: 34px; height: 34px; vertical-align: middle; }

.smileybar { display: flex; flex-wrap: wrap; gap: 2px; margin-top: 4px; }
.smileybar button {
    background: none; border: 1px solid transparent; border-radius: 3px; cursor: pointer;
    font-size: 16px; line-height: 1; padding: 3px; min-width: 28px; height: 30px;
}
.smileybar button:hover { background: var(--blue-light); border-color: var(--blue-line); }
.smileybar img.smiley { width: 22px; height: 22px; }

/* ---------- profiel ---------- */

.profile-name { font-size: 22px; margin: 0 0 2px; color: var(--blue-dark); }
.profile-motto { font-style: italic; color: #667; margin-bottom: 10px; }
.profile-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 10px; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { text-align: left; vertical-align: top; padding: 3px 0; }
.info-table th { width: 42%; color: var(--muted); font-weight: normal; padding-right: 6px; }

.interest { margin-bottom: 8px; }
.interest h3 { margin-bottom: 1px; font-size: 11px; text-transform: uppercase; color: var(--muted); }

.side-menu { list-style: none; margin: 0; padding: 0; }
.side-menu li a { display: flex; justify-content: space-between; padding: 6px 10px; border-bottom: 1px solid #edf2f7; }
.side-menu li:last-child a { border-bottom: 0; }
.side-menu li a:hover { background: var(--blue-light); text-decoration: none; }
.side-menu li a.active { background: var(--blue-light); font-weight: bold; }

/* ---------- tabs ---------- */

.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--blue-line); padding: 0 10px; margin-top: 8px; }
.tabs a {
    padding: 5px 12px; border: 1px solid var(--blue-line); border-bottom: 0; border-radius: 4px 4px 0 0;
    background: #f2f6fa; margin-bottom: -1px;
}
.tabs a.active { background: #fff; font-weight: bold; color: #000; }

/* ---------- paginering ---------- */

.pagination { display: flex; gap: 3px; justify-content: center; padding: 10px; flex-wrap: wrap; }
.pagination a, .pagination span {
    padding: 3px 8px; border: 1px solid var(--blue-line); border-radius: 3px; background: #fff;
}
.pagination .current { background: var(--blue); color: #fff; border-color: var(--blue-dark); font-weight: bold; }
.pagination .disabled { color: #bbb; }

/* ---------- inlogpagina ---------- */

.guest-hero { display: grid; grid-template-columns: 1fr 340px; gap: 20px; margin-top: 30px; align-items: start; }
.hero-text h1 { font-size: 30px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); margin-bottom: 12px; }
.hero-text p { font-size: 15px; color: var(--blue-dark); }
.hero-text ul { font-size: 14px; color: var(--blue-dark); padding-left: 20px; }
.hero-text li { margin-bottom: 4px; }
.guest-top { background: linear-gradient(#2a78c6, var(--blue) 55%, var(--blue-dark)); padding-bottom: 90px; }
.guest-main { margin-top: -80px; }
.guest-main .guest-hero { margin-top: 0; }
.guest-top .wrap { padding-top: 14px; }

footer { text-align: center; color: var(--muted); font-size: 11px; padding: 10px 0 30px; }
footer a { color: var(--muted); }

.share-pill {
    display: inline-flex; align-items: center; gap: 5px; cursor: pointer; font-family: inherit; font-size: 11px;
    font-weight: bold; color: var(--blue-dark); background: #fff; border: 1px solid var(--blue-line);
    border-radius: 12px; padding: 3px 10px; box-shadow: 0 1px 1px rgba(0, 0, 0, .05);
}
.share-pill:hover { background: var(--blue-light); }

.link-input { display: flex; align-items: stretch; }
.link-input span {
    display: flex; align-items: center; padding: 0 8px; background: #eef3f8; color: var(--muted);
    border: 1px solid #b7c6d5; border-right: 0; border-radius: 3px 0 0 3px; white-space: nowrap;
}
.link-input input { border-radius: 0 3px 3px 0; min-width: 0; }

.invite-card { border: 1px solid var(--blue-line); border-radius: var(--radius); padding: 10px 12px; margin-bottom: 8px; background: #fbfdff; }
.invite-card.fresh { border-color: var(--orange); background: #fff8ec; box-shadow: 0 0 0 2px #ffe2b8; }
.invite-card.inactive { background: #f5f6f7; }
.invite-card.inactive .invite-url { color: var(--muted); text-decoration: line-through; }
.invite-top { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.invite-url { font-size: 15px; font-weight: bold; word-break: break-all; }
.invite-members { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.invite-members img.avatar { width: 30px; height: 30px; padding: 1px; }
.invite-actions { display: flex; gap: 5px; margin-top: 8px; flex-wrap: wrap; }
.btn-whatsapp { border-color: #1a9e4b; background: linear-gradient(#4fd67f, #25b35a); }
.btn-whatsapp:hover { background: linear-gradient(#5edd8c, #2cc064); }

.invite-link { font-family: Consolas, monospace; font-size: 11px; background: #f3f6fa; padding: 2px 5px; border-radius: 3px; word-break: break-all; }

/* ---------- smalle schermen ---------- */

@media (max-width: 860px) {
    .cols-home, .cols-profile, .cols-side, .guest-hero { grid-template-columns: 1fr; }
    .topbar .wrap { height: auto; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 10px; }
    .search { order: 3; max-width: none; flex-basis: 100%; }
    .navbar ul { overflow-x: auto; }
    .navbar li a { white-space: nowrap; }
    .row { flex-direction: column; gap: 0; }
}
