

:root {
  --bg: #07090d;
  --bg-soft: #0c1017;
  --surface: #10151e;
  --surface-2: #151c27;
  --surface-3: #1b2431;
  --text: #f7f8fb;
  --text-soft: #dce1e9;
  --muted: #8993a3;
  --line: rgba(255,255,255,.075);
  --line-strong: rgba(255,255,255,.13);
  --accent: #d53847;
  --accent-soft: rgba(213,56,71,.12);
  --accent-strong: #f05a68;
  --success: #41c98a;
  --warning: #f2b84b;
  --danger: #ef6577;
  --radius-sm: 10px;
  --radius: 15px;
  --radius-lg: 22px;
  --shadow: 0 18px 55px rgba(0,0,0,.28);
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html { background: var(--bg); }
body {
  color: var(--text);
  background:
    radial-gradient(circle at 15% -8%, rgba(213,56,71,.12), transparent 34rem),
    radial-gradient(circle at 92% 15%, rgba(93,74,200,.07), transparent 30rem),
    linear-gradient(180deg, #090c12 0%, #07090d 50%, #090b10 100%);
}
body::before {
  opacity: .22;
  background-image:
    linear-gradient(rgba(255,255,255,.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.016) 1px, transparent 1px);
  background-size: 46px 46px;
}

.wrap, .container { width: min(1240px, calc(100% - 36px)); }
.wrap { padding: 18px 0 48px; }

.topbar {
  top: 12px;
  min-height: 74px;
  padding: 11px 13px 11px 17px;
  margin-bottom: 24px;
  background: rgba(11,14,20,.84);
  border-color: rgba(255,255,255,.09);
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(0,0,0,.3);
  backdrop-filter: blur(22px) saturate(135%);
}
.brand { gap: 12px; }
.logo { width: 50px; height: 50px; }
.logo img { width: 50px; height: 50px; }
.brand-copy { display:flex; flex-direction:column; gap:2px; }
.brand-copy b { font-size: 15px; letter-spacing: .01em; }
.brand-copy small { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.nav { gap: 5px; }
.btn {
  min-height: 40px;
  padding: 9px 14px;
  color: #b7c0cd;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: .01em;
}
.btn:hover { color:#fff; background:rgba(255,255,255,.06); }
.btn.active { color:#fff; background:rgba(255,255,255,.075); border-color:var(--line); }
.btn.primary {
  color: #fff;
  background: linear-gradient(180deg, #e44a59, #c92e3d);
  border-color: rgba(255,255,255,.08);
  box-shadow: 0 9px 24px rgba(213,56,71,.2);
}
.btn.primary:hover { color:#fff; background:linear-gradient(180deg,#ef5b68,#d93645); border-color:rgba(255,255,255,.14); }

.grid { grid-template-columns: minmax(0, 1fr) 330px; gap: 22px; }
.card {
  background: linear-gradient(180deg, rgba(17,22,31,.96), rgba(12,16,23,.98));
  border-color: rgba(255,255,255,.075);
  border-radius: 16px;
  box-shadow: 0 18px 45px rgba(0,0,0,.19);
}
.card + .card { margin-top: 20px; }
.card .hd, .section-title {
  min-height: 54px;
  padding: 15px 19px;
  color:#cbd2dc;
  background: rgba(255,255,255,.012);
  font-size: 10px;
  letter-spacing: .13em;
}
.card .body { padding: 19px; }

.hero {
  min-height: 290px;
  padding: 44px;
  border-radius: 16px;
  background:
    linear-gradient(90deg, rgba(8,11,16,.98) 0%, rgba(11,14,21,.9) 54%, rgba(13,16,23,.52) 100%),
    url("vantor-bg.png") center 38% / cover no-repeat;
}
.hero::before {
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(7,9,13,.7));
  pointer-events:none;
}
.hero > * { position:relative; z-index:1; }
.hero h1 { max-width:680px; font-size:clamp(34px,5vw,57px); line-height:1; letter-spacing:-.052em; }
.hero p { max-width:610px; color:#aeb7c5; font-size:14px; line-height:1.75; }

.board-grid { gap: 0; }
.board { min-height: 176px; padding: 21px; }
.board:hover { background: linear-gradient(135deg, rgba(213,56,71,.065), rgba(255,255,255,.012)); }
.board:hover::before { background:var(--accent-strong); }
.board h3 { font-size:15px; }
.board p { color:#8791a1; }
.badge, .pill, .small-pill {
  color:#f19aa3;
  background:rgba(213,56,71,.085);
  border-color:rgba(213,56,71,.2);
  font-size:9px;
}

input, textarea, select {
  color:var(--text);
  background:#0b0f16;
  border-color:rgba(255,255,255,.09);
  border-radius:11px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.015);
}
input:focus, textarea:focus, select:focus {
  border-color:rgba(240,90,104,.58);
  box-shadow:0 0 0 4px rgba(213,56,71,.1);
}

.thread-row, .topic-row, .post, .profile-card, .members-modern-card,
.my-form-field, .admin-user-card, .application-card {
  border-color:var(--line) !important;
}
.thread-row:hover, .topic-row:hover, .members-modern-card:hover {
  background:rgba(255,255,255,.024) !important;
  border-color:rgba(255,255,255,.12) !important;
}

.avatar, .post-avatar, .members-modern-avatar, .profile-avatar img { border-radius:14px !important; }
.page-title { font-size:26px; letter-spacing:-.035em; }
.page-sub, .meta, .row-sub { color:var(--muted); }
.row-title { color:#e6e9ef; }
.row-title:hover, a:hover .row-title { color:#fff; }

.cookie-banner {
  background:rgba(7,9,13,.9) !important;
  backdrop-filter:blur(22px);
  border-top:1px solid var(--line-strong) !important;
}
.cookie-inner { width:min(1240px,calc(100% - 36px)) !important; }

.site-footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-top:28px;
  padding:18px 4px 2px;
  color:#737e8f;
  font-size:10px;
}
.site-footer-brand { display:flex; align-items:center; gap:9px; }
.site-footer-dot { width:7px; height:7px; border-radius:50%; background:var(--accent); box-shadow:0 0 0 4px rgba(213,56,71,.1); }
.site-footer-links { display:flex; gap:14px; flex-wrap:wrap; }
.site-footer a:hover { color:#fff; }


.has-motion body, body.is-ready, body.is-leaving { opacity:1 !important; transform:none !important; filter:none !important; }
[data-stagger] > * { animation:none !important; transition-delay:0s !important; }

@media (max-width: 900px) {
  .grid { grid-template-columns:1fr; }
  .topbar { align-items:flex-start; }
  .nav { max-width:60%; }
  .hero { min-height:250px; padding:32px; }
}
@media (max-width: 680px) {
  .wrap, .container { width:min(100% - 22px,1240px); }
  .wrap { padding-top:10px; }
  .topbar { position:relative; top:0; flex-direction:column; align-items:stretch; gap:10px; border-radius:15px; }
  .brand { padding-inline:3px; }
  .nav { max-width:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .nav .btn { width:100%; }
  .hero { min-height:240px; padding:26px 21px; }
  .hero h1 { font-size:34px; }
  .board-grid { grid-template-columns:1fr; }
  .board { border-right:0; }
  .site-footer { align-items:flex-start; flex-direction:column; }
}


:root {
  --radius-sm: 4px;
  --radius: 6px;
  --radius-lg: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.18);
}

body {
  background: #0b0d11;
}
body::before { display:none !important; }

.wrap { padding-top: 10px; }
.topbar {
  top: 0;
  min-height: 64px;
  margin-bottom: 16px;
  padding: 8px 12px;
  background: #11141a;
  border-radius: 4px;
  box-shadow: none;
  backdrop-filter: none;
}
.logo, .logo img { width: 44px; height: 44px; }
.brand-copy small {
  letter-spacing: .08em;
  text-transform: none;
  font-weight: 600;
}
.nav { gap: 2px; }
.btn {
  min-height: 36px;
  border-radius: 4px;
  font-weight: 600;
}
.btn.primary,
.btn.primary:hover {
  background: #c83240;
  box-shadow: none;
}

.card {
  background: #11141a;
  border-color: #252a33;
  border-radius: 5px;
  box-shadow: none;
}
.card + .card { margin-top: 14px; }
.card .hd, .section-title {
  min-height: 46px;
  padding: 12px 15px;
  background: #151920;
  color: #d5d9e0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  border-bottom: 1px solid #272c35;
}
.card .body { padding: 15px; }

.hero {
  min-height: 230px;
  padding: 32px;
  border-radius: 5px;
}
.hero h1 {
  font-size: clamp(30px,4vw,46px);
  letter-spacing: -.025em;
}

.board {
  min-height: 150px;
  padding: 17px;
}
.board:hover {
  background: #151920;
}
.board:hover::before { background: var(--accent); }

input, textarea, select {
  border-radius: 4px;
  background: #0d1015;
  box-shadow: none;
}
input:focus, textarea:focus, select:focus {
  box-shadow: 0 0 0 2px rgba(200,50,64,.14);
}

.avatar, .post-avatar, .members-modern-avatar, .profile-avatar img,
.my-avatar-wrap, .my-avatar-wrap img {
  border-radius: 4px !important;
}

.thread-row, .topic-row, .post, .profile-card, .members-modern-card,
.my-form-field, .admin-user-card, .application-card {
  border-radius: 4px !important;
  box-shadow: none !important;
}

.badge, .pill, .small-pill {
  min-height: auto;
  padding: 2px 6px;
  color: #b8bec8;
  background: #1b2028;
  border: 1px solid #303640;
  border-radius: 3px;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}


.home-role-list,
.profile-role-list,
.members-role-list,
.admin-current-roles,
.my-role-list {
  gap: 5px;
}

.home-role-badge,
.profile-role-badge,
.admin-role-badge,
.admin-mini-role {
  position: relative;
  min-height: auto;
  padding: 1px 0 1px 9px;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0;
  color: #aeb5c0;
  font-size: 9px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: none;
}

.home-role-badge::before,
.profile-role-badge::before,
.admin-role-badge::before,
.admin-mini-role::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -2.5px;
  border-radius: 1px;
  background: currentColor;
  opacity: .9;
}

.role-agare { color: #d5b36a !important; }
.role-delagare { color: #bca0d8 !important; }
.role-admin { color: #d87984 !important; }
.role-ledning { color: #7ea9cf !important; }
.role-head-mod { color: #d0a16a !important; }
.role-mod { color: #88a8ca !important; }
.role-helper { color: #c18489 !important; }
.role-medlemskapsansvarig { color: #ac96c2 !important; }
.role-user { color: #939ba7 !important; }


.owner-name-glow,
.profile-owner-name {
  color: #d7b86e !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  animation: none !important;
  filter: none !important;
}
.owner-name-glow::after { display:none !important; }

.multi-role-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.multi-role-option {
  min-height: 34px;
  padding: 7px 9px;
  background: #151920;
  border-color: #2a3039;
  border-radius: 3px;
}
.multi-role-option:hover {
  background: #191e25;
  border-color: #3a414c;
}
.multi-role-option span {
  font-size: 10px;
  font-weight: 600;
}

.site-footer {
  margin-top: 18px;
  border-top: 1px solid #232831;
}
.site-footer-dot {
  border-radius: 1px;
  box-shadow: none;
}

@media (max-width: 680px) {
  .topbar { border-radius: 4px; }
  .hero { border-radius: 4px; }
}


:root {
  --bg: #0c0e12;
  --surface: #13161c;
  --surface-2: #181c23;
  --surface-3: #1d222a;
  --line: #292e37;
  --line-strong: #343a45;
  --text: #f0f2f5;
  --text-soft: #cbd0d8;
  --muted: #929aa7;
  --accent: #c93b48;
  --accent-strong: #df4b58;
}

body {
  background:
    linear-gradient(180deg, #0d1015 0, #0b0d11 420px, #0b0d11 100%);
}

.wrap, .container { width: min(1180px, calc(100% - 32px)); }

.topbar {
  min-height: 66px;
  padding: 9px 14px;
  background: #13161c;
  border: 1px solid #282d36;
  border-radius: 7px;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
.brand-copy b { font-size: 14px; font-weight: 750; }
.brand-copy small { color: #818a97; font-size: 9px; }

.btn {
  border: 1px solid transparent;
  border-radius: 5px;
  transition: background-color .14s ease, border-color .14s ease, color .14s ease;
}
.btn:hover {
  background: #1b1f27;
  border-color: #2d333d;
}
.btn.active {
  background: #1d222a;
  border-color: #343a45;
}
.btn.primary,
.btn.primary:hover {
  background: #c93b48;
  border-color: #dd4d5a;
}
.btn.primary:hover { background: #d54350; }

.grid { gap: 18px; grid-template-columns: minmax(0, 1fr) 310px; }
.card {
  background: #13161c;
  border: 1px solid #292e37;
  border-radius: 7px;
  box-shadow: 0 5px 18px rgba(0,0,0,.12);
  overflow: hidden;
}
.card + .card { margin-top: 16px; }
.card .hd, .section-title {
  min-height: 48px;
  padding: 13px 16px;
  background: #171b22;
  border-bottom: 1px solid #292e37;
  color: #e1e4e9;
  font-size: 11px;
  font-weight: 750;
}
.card .body { padding: 17px; }

.hero {
  min-height: 245px;
  padding: 35px 38px;
  border: 1px solid #292e37;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(11,13,17,.97) 0%, rgba(13,16,21,.91) 53%, rgba(13,16,21,.54) 100%),
    url("vantor-bg.png") center 38% / cover no-repeat;
}
.hero::before { background: linear-gradient(180deg, transparent 52%, rgba(9,11,15,.54)); }
.hero h1 { font-weight: 780; line-height: 1.04; }
.hero p { color: #a7afba; }

.board-grid { background: #292e37; gap: 1px; }
.board {
  min-height: 148px;
  padding: 18px;
  background: #13161c;
  border: 0 !important;
  transition: background-color .14s ease;
}
.board:hover { background: #181c23; }
.board::before {
  width: 2px;
  background: transparent;
}
.board:hover::before { background: #c93b48; }
.board h3 { font-size: 14px; font-weight: 730; }
.board p { color: #929aa7; line-height: 1.55; }

.thread-row, .topic-row, .post, .profile-card, .members-modern-card,
.my-form-field, .admin-user-card, .application-card {
  background: #15181f !important;
  border: 1px solid #292e37 !important;
  border-radius: 6px !important;
}
.thread-row:hover, .topic-row:hover, .members-modern-card:hover {
  background: #191d24 !important;
  border-color: #373e49 !important;
}
.row-title { font-weight: 700; }

input, textarea, select {
  background: #0f1217;
  border: 1px solid #303640;
  border-radius: 5px;
}
input:hover, textarea:hover, select:hover { border-color: #3a424e; }
input:focus, textarea:focus, select:focus {
  border-color: #b8444f;
  box-shadow: 0 0 0 2px rgba(201,59,72,.13);
}


.home-role-list, .profile-role-list, .members-role-list,
.admin-current-roles, .my-role-list { gap: 4px 8px; }

.home-role-badge, .profile-role-badge, .admin-role-badge, .admin-mini-role {
  padding: 2px 6px 2px 7px;
  color: #aeb5bf;
  background: rgba(255,255,255,.025) !important;
  border: 0 !important;
  border-left: 2px solid currentColor !important;
  border-radius: 2px;
  font-size: 9px;
  font-weight: 680;
  line-height: 1.35;
}
.home-role-badge::before, .profile-role-badge::before,
.admin-role-badge::before, .admin-mini-role::before { display: none; }

.role-agare { color: #d2ad62 !important; }
.role-delagare { color: #ad94c8 !important; }
.role-admin { color: #d47780 !important; }
.role-ledning { color: #779fc3 !important; }
.role-head-mod { color: #c99b67 !important; }
.role-mod { color: #7f9fbe !important; }
.role-helper { color: #bc8086 !important; }
.role-medlemskapsansvarig { color: #a48db8 !important; }
.role-user { color: #8d96a2 !important; }

.badge, .pill, .small-pill {
  padding: 3px 7px;
  color: #b8bec7;
  background: #1b2027;
  border: 1px solid #303641;
  border-radius: 4px;
  font-weight: 650;
}

.multi-role-picker { gap: 7px; }
.multi-role-option {
  min-height: 36px;
  padding: 8px 10px;
  background: #151920;
  border: 1px solid #2d333d;
  border-radius: 5px;
}
.multi-role-option:hover { background: #1a1f27; border-color: #3a424d; }

.avatar, .post-avatar, .members-modern-avatar, .profile-avatar img,
.my-avatar-wrap, .my-avatar-wrap img { border-radius: 6px !important; }

.site-footer {
  padding-top: 16px;
  color: #7d8692;
  border-top: 1px solid #242932;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .wrap, .container { width: min(100% - 20px, 1180px); }
  .topbar, .hero, .card { border-radius: 6px; }
  .hero { padding: 27px 22px; }
}


:root {
  --bg: #0b0d10;
  --surface: #14171c;
  --surface-2: #181c22;
  --surface-3: #1d2229;
  --line: #2a2f37;
  --line-strong: #373d47;
  --accent: #c63b46;
  --accent-strong: #d94955;
  --text: #eef0f3;
  --text-soft: #c9ced5;
  --muted: #8d95a0;
}

body {
  background: #0b0d10;
  font-feature-settings: "kern" 1, "liga" 1;
}

.wrap { padding-bottom: 34px; }

.topbar {
  min-height: 62px;
  padding: 8px 13px;
  border-radius: 5px;
  background: #12151a;
  border-color: #292e36;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.brand { gap: 11px; }
.logo, .logo img { width: 42px; height: 42px; }
.brand-copy b {
  font-size: 14px;
  font-weight: 760;
  letter-spacing: -.012em;
}
.brand-copy small {
  color: #7e8793;
  font-size: 9px;
  letter-spacing: .03em;
}

.nav { gap: 3px; }
.nav .btn {
  position: relative;
  min-height: 35px;
  padding: 8px 12px;
  border-radius: 4px;
  color: #aab1bb;
  background: transparent;
}
.nav .btn:hover {
  color: #f3f4f6;
  background: #191d23;
  border-color: #2c323b;
}
.nav .btn.active {
  color: #fff;
  background: #1a1e25;
  border-color: #303640;
}
.nav .btn.active::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 3px;
  height: 1px;
  background: var(--accent);
}
.nav .btn.primary,
.nav .btn.primary:hover {
  color: #fff;
  background: #bd3541;
  border-color: #d04a55;
}
.nav .btn.primary.active::after { display: none; }

.grid { gap: 16px; grid-template-columns: minmax(0, 1fr) 300px; }
.card {
  border-radius: 5px;
  background: #13161b;
  border-color: #292e36;
  box-shadow: 0 3px 12px rgba(0,0,0,.13);
}
.card + .card { margin-top: 15px; }
.card .hd, .section-title {
  min-height: 46px;
  padding: 12px 15px;
  background: #171a20;
  border-color: #2a3038;
  color: #dde1e6;
  font-size: 11px;
  font-weight: 720;
}
.card .body { padding: 16px; }

.hero {
  min-height: 232px;
  padding: 33px 36px;
  border-radius: 5px;
  border-color: #292e36;
  background:
    linear-gradient(90deg, rgba(10,12,15,.98) 0%, rgba(12,14,18,.91) 55%, rgba(12,14,18,.57) 100%),
    url("vantor-bg.png") center 39% / cover no-repeat;
}
.hero h1 {
  max-width: 650px;
  font-size: clamp(31px, 4.5vw, 48px);
  font-weight: 780;
  letter-spacing: -.034em;
}
.hero p {
  max-width: 580px;
  color: #a1a9b3;
  font-size: 13px;
  line-height: 1.7;
}

.board-grid { background: #292e36; }
.board {
  min-height: 142px;
  padding: 17px;
  background: #13161b;
}
.board:hover { background: #171b21; }
.board::before { width: 2px; }
.board h3 { font-size: 14px; font-weight: 720; letter-spacing: -.01em; }
.board p { font-size: 12px; line-height: 1.55; }

.thread-row, .topic-row, .post, .profile-card, .members-modern-card,
.my-form-field, .admin-user-card, .application-card {
  background: #14181e !important;
  border-color: #292f38 !important;
  border-radius: 5px !important;
}
.thread-row:hover, .topic-row:hover, .members-modern-card:hover {
  background: #181c23 !important;
  border-color: #373e48 !important;
}
.row-title { font-weight: 690; letter-spacing: -.008em; }
.row-sub, .meta, .page-sub { color: #8b94a0; }

input, textarea, select {
  background: #0f1216;
  border-radius: 4px;
  border-color: #303640;
}
input:focus, textarea:focus, select:focus {
  border-color: #b84751;
  box-shadow: 0 0 0 2px rgba(198,59,70,.12);
}


.home-role-list, .profile-role-list, .members-role-list,
.admin-current-roles, .my-role-list {
  gap: 3px 7px;
  align-items: center;
}
.home-role-badge, .profile-role-badge, .admin-role-badge, .admin-mini-role {
  padding: 1px 0 1px 8px;
  background: transparent !important;
  border: 0 !important;
  border-left: 2px solid currentColor !important;
  border-radius: 0;
  font-size: 9px;
  font-weight: 670;
  line-height: 1.35;
  letter-spacing: .005em;
}
.role-agare { color: #d1ad67 !important; }
.role-delagare { color: #ae98c5 !important; }
.role-admin { color: #ce727b !important; }
.role-ledning { color: #7699ba !important; }
.role-head-mod { color: #c79766 !important; }
.role-mod { color: #7f9bb7 !important; }
.role-helper { color: #b97e84 !important; }
.role-medlemskapsansvarig { color: #9d89b0 !important; }
.role-user { color: #8f97a1 !important; }

.badge, .pill, .small-pill {
  padding: 2px 6px;
  border-radius: 3px;
  color: #b5bbc4;
  background: #1a1f25;
  border-color: #303640;
  font-size: 9px;
}

.multi-role-option {
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 4px;
  background: #15191f;
  border-color: #2c323b;
}
.multi-role-option:hover {
  background: #191e25;
  border-color: #3b424d;
}

.avatar, .post-avatar, .members-modern-avatar, .profile-avatar img,
.my-avatar-wrap, .my-avatar-wrap img { border-radius: 5px !important; }

.site-footer {
  margin-top: 20px;
  padding-top: 15px;
  color: #747d89;
  border-color: #252a32;
}
.site-footer a { color: #89929e; }
.site-footer a:hover { color: #d9dde2; }

@media (max-width: 680px) {
  .topbar, .hero, .card { border-radius: 4px; }
  .hero { min-height: 220px; padding: 26px 21px; }
  .hero h1 { font-size: 32px; }
}


.home-role-list, .profile-role-list, .members-role-list,
.admin-current-roles, .my-role-list, .thread-post-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 10px;
  align-items: center;
}

.home-role-badge, .profile-role-badge, .admin-role-badge, .admin-mini-role {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 2px 0 !important;
  color: #9ca4af;
  background: transparent !important;
  border: 0 !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  font-size: 10px;
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: .002em;
  white-space: nowrap;
}

.role-icon {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 14px;
  opacity: .92;
}

.role-icon svg {
  width: 14px;
  height: 14px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.role-label { display: inline-block; }
.home-role-badge:hover, .profile-role-badge:hover,
.admin-role-badge:hover, .admin-mini-role:hover { filter: brightness(1.13); }

.role-agare { color: #d7b66f !important; }
.role-delagare { color: #b8a0cf !important; }
.role-admin, .role-head-admin { color: #d77b84 !important; }
.role-ledning, .role-staff-manager { color: #82a9cd !important; }
.role-forum-utvecklare { color: #a993d2 !important; }
.role-head-mod { color: #d0a06c !important; }
.role-mod { color: #89a7c3 !important; }
.role-helper { color: #bc858a !important; }
.role-event-ansvarig, .role-verksamhetsledare-event { color: #c79b68 !important; }
.role-servervakt-ansvarig, .role-verksamhetsledare-servervakt { color: #75a99a !important; }
.role-jobb-ansvarig, .role-verksamhetsledare-jobb { color: #9fae78 !important; }
.role-kriminell-ansvarig, .role-verksamhetsledare-kriminell { color: #ad8794 !important; }
.role-medlemskapsansvarig, .role-verksamhetsledare-medlemskap { color: #a48eb9 !important; }
.role-donation-ansvarig { color: #c98b9e !important; }
.role-user { color: #929ba6 !important; }



.admin-member-card {
  display: block !important;
  padding: 18px !important;
  overflow: hidden;
}

.admin-member-profile {
  width: 100%;
  padding-bottom: 16px;
}

.admin-member-actions {
  width: 100% !important;
  min-width: 0 !important;
  padding-top: 15px;
  border-top: 1px solid #2a3038;
}

.admin-role-form.multi {
  width: 100%;
  min-width: 0 !important;
}

.admin-role-label {
  display: block;
  margin-bottom: 9px;
  color: #aeb6c1;
  font-size: 10px;
  font-weight: 720;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.multi-role-picker {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  gap: 8px !important;
  width: 100%;
  margin: 0 !important;
}

.multi-role-option {
  display: grid !important;
  grid-template-columns: 17px 16px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 42px !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  color: #b7bec8;
  background: #11151a !important;
  border: 1px solid #2d343e !important;
  border-radius: 5px !important;
  cursor: pointer;
}

.multi-role-option:hover {
  color: #e2e5e9;
  background: #171c22 !important;
  border-color: #414a56 !important;
}

.multi-role-option:has(input:checked) {
  color: #f0f2f4;
  background: rgba(190, 53, 65, .09) !important;
  border-color: rgba(211, 72, 84, .52) !important;
}

.multi-role-option input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px;
  margin: 0 !important;
  accent-color: #c63b46;
}

.multi-role-option-icon {
  width: 16px;
  height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #8f99a6;
}

.multi-role-option-icon svg {
  width: 15px;
  height: 15px;
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.multi-role-option:has(input:checked) .multi-role-option-icon {
  color: #dc7680;
}

.multi-role-option-label {
  min-width: 0;
  overflow: hidden;
  font-size: 10px !important;
  font-weight: 650 !important;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-role-save-row {
  display: flex;
  justify-content: flex-start !important;
  margin-top: 12px !important;
}

.admin-role-save-row .btn {
  min-width: 112px;
}

@media (max-width: 700px) {
  .multi-role-picker {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 430px) {
  .multi-role-picker {
    grid-template-columns: 1fr !important;
  }
}
