/* =========================================================
   BASE
========================================================= */

html, body { margin: 0; height: 100%; background: var(--color-bg); color: var(--color-text); font-family: Arial, sans-serif; overflow: hidden; }

body {
    line-height: 1.5;
}

/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    /* =========================
       COLORS
    ========================= */

    --color-bg: #0f1115;
    --color-text: #e6e6e6;
	
    --color-cyan: #00f7ff;
    --color-blue: #4aa3ff;
    --color-purple: #6366f1;

    --color-border:
        rgba(255,255,255,.08);

    --color-card:
        linear-gradient(
            180deg,
            rgba(20,24,34,.96),
            rgba(12,15,24,.96)
        );

    /* =========================
       SHADOWS
    ========================= */

    --shadow-card:
        0 0 18px rgba(0,255,255,.08),
        0 0 40px rgba(99,102,241,.08);

    --shadow-hover:
        0 0 24px rgba(0,255,255,.14),
        0 0 55px rgba(99,102,241,.14);

    /* =========================
       RADIUS
    ========================= */

    --radius-sm: 14px;
    --radius-md: 20px;
    --radius-lg: 28px;

    /* =========================
       TRANSITIONS
    ========================= */

    --transition-fast: .18s ease;
    --transition-normal: .25s ease;

    /* =========================
       TYPOGRAPHY
    ========================= */

    --text-xs:
        clamp(12px, .7vw, 13px);

    --text-sm:
        clamp(14px, .8vw, 15px);

    --text-md:
        clamp(15px, 1vw, 17px);

    --text-lg:
        clamp(18px, 1.3vw, 22px);

    --text-xl:
        clamp(24px, 2vw, 32px);

    --text-2xl:
        clamp(32px, 3vw, 48px);

    /* =========================
       SPACING
    ========================= */

    --space-xs: 6px;
    --space-sm: 10px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
	
    /* =========================
       LAYOUT
    ========================= */

    --sidebar-width: 260px;
    --footer-height: 68px;
	--sidebar-width-mobile: 82px;

    /* =========================
       CONTAINERS
    ========================= */

    --container-sm: 900px;
    --container-md: 1200px;
    --container-lg: 1600px;
    --container-xl: 1800px;

    /* =========================
       Z-INDEX
    ========================= */

    --z-sidebar: 100;
    --z-footer: 50;
    --z-dropdown: 999;
    --z-modal: 2000;

    /* =========================
       BORDERS
    ========================= */

    --border-light:
        1px solid rgba(255,255,255,.05);

    --border-medium:
        1px solid rgba(255,255,255,.08);

    --border-blue:
        1px solid rgba(74,163,255,.18);

    /* =========================
       BLUR
    ========================= */

    --blur-md:
        blur(14px);

    /* =========================
       GRADIENTS
    ========================= */

    --gradient-primary:
        linear-gradient(
            135deg,
            #00cfff,
            #6366f1
        );

    --gradient-discord:
        linear-gradient(
            90deg,
            #5865F2,
            #7289da
        );

    --gradient-card:
        linear-gradient(
            180deg,
            rgba(20,24,34,.96),
            rgba(12,15,24,.96)
        );

    --gradient-hover:
        linear-gradient(
            90deg,
            rgba(74,163,255,.12),
            rgba(255,0,200,.07)
        );
}

/* =========================================================
   UTILITIES
========================================================= */

/* =========================
   FLEX
========================= */

.flex {
    display: flex;
}

.flex-column {
    display: flex;

    flex-direction: column;
}

.flex-between {
    display: flex;

    align-items: center;
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* =========================
   WIDTH
========================= */

.w-full {
    width: 100%;
}

.max-1800 {
    max-width: 1800px;

    margin: 0 auto;
}

/* =========================
   TEXT
========================= */

.text-center {
    text-align: center;
}

.text-white {
    color: #ffffff;
}

.text-muted {
    color: rgba(255,255,255,.62);
}

/* =========================================================
   TYPOGRAPHY
========================================================= */

.text-xs {
    font-size: var(--text-xs);
}

.text-sm {
    font-size: var(--text-sm);
}

.text-md {
    font-size: var(--text-md);
}

.text-lg {
    font-size: var(--text-lg);
}

.text-xl {
    font-size: var(--text-xl);
}

.text-2xl {
    font-size: var(--text-2xl);
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-title {
    font-size: var(--text-2xl);

    font-weight: 700;

    color: #ffffff;

    line-height: 1.1;
}

.text-subtitle {
    font-size: var(--text-lg);

    font-weight: 600;

    color: #ffffff;

    line-height: 1.2;
}

.text-body {
    font-size: var(--text-md);

    color: #d7deea;

    line-height: 1.6;
}

.text-label {
    font-size: var(--text-sm);

    color: rgba(255,255,255,.62);

    line-height: 1.4;
}

/* =========================================================
   SPACING
========================================================= */

/* =========================
   GAP
========================= */

.gap-xs {
    gap: var(--space-xs);
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.gap-xl {
    gap: var(--space-xl);
}

/* =========================
   PADDING
========================= */

.p-md {
    padding: var(--space-md);
}

.p-lg {
    padding: var(--space-lg);
}

.p-xl {
    padding: var(--space-xl);
}

.card-padding-sm {
    padding: var(--space-md);
}

.card-padding {
    padding: var(--space-lg);
}

.card-padding-lg {
    padding: var(--space-xl);
}

.card-gap-sm {
    gap: var(--space-sm);
}

.card-gap-md {
    gap: var(--space-md);
}

.card-gap-lg {
    gap: var(--space-lg);
}

/* =========================
   MARGIN
========================= */

.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg {margin-bottom: var(--space-lg); }

.mb-0 { margin-bottom: 0; }

.m-0 {
    margin: 0;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

/* =========================================================
   EFFECTS
========================================================= */

/* =========================
   GLASS CARD
========================= */

.glass-card {
    background: var(--color-card);

    border: 1px solid var(--color-border);

    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-card);
}

/* =========================================================
   ICON GLOW
========================================================= */

.icon-glow {
    color: var(--color-cyan);

    text-shadow:
        0 0 18px rgba(0,255,255,.32);
}

/* =========================
   HOVER
========================= */

.hover-lift {
    transition: var(--transition-normal);
}

.hover-lift:hover {
    transform: translateY(-4px);

    box-shadow: var(--shadow-hover);
}

/* =========================================================
   ALERTS
========================================================= */

.alert {
    display: flex;

    align-items: center;

    gap: var(--space-sm);

    padding:
        var(--space-md)
        var(--space-lg);

    border-radius:
        var(--radius-md);

    border:
        1px solid transparent;

    font-size:
        var(--text-sm);

    font-weight: 500;
}

/* =========================
   SUCCESS
========================= */

.alert-success {
    color:
        #86efac;

    background:
        rgba(34,197,94,.10);

    border-color:
        rgba(34,197,94,.18);
}

/* =========================
   ERROR
========================= */

.alert-error {
    color:
        #fca5a5;

    background:
        rgba(239,68,68,.10);

    border-color:
        rgba(239,68,68,.18);
}

/* =========================
   WARNING
========================= */

.alert-warning {
    color:
        #fde68a;

    background:
        rgba(234,179,8,.10);

    border-color:
        rgba(234,179,8,.18);
}

/* =========================
   INFO
========================= */

.alert-info {
    color:
        #93c5fd;

    background:
        rgba(59,130,246,.10);

    border-color:
        rgba(59,130,246,.18);
}

/* =========================================================
   BUTTONS
========================================================= */

/* =========================
   BASE BUTTON
========================= */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 10px;

    padding: 14px 22px;

    border: none;

    border-radius: var(--radius-md);

    cursor: pointer;

    text-decoration: none;

    font-size: 15px;
    font-weight: 600;

    color: #ffffff;

    transition: var(--transition-normal);

    box-sizing: border-box;
}

/* =========================
   PRIMARY
========================= */

.btn-primary {
    background:
        linear-gradient(
            90deg,
            #00cfff,
            #6366f1
        );

    box-shadow:
        0 0 18px rgba(0,255,255,.16);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 24px rgba(0,255,255,.28);
}

.btn-sm {
    padding:
        10px
        14px;

    font-size:
        var(--text-sm);
}

.btn-lg {
    padding:
        16px
        24px;

    font-size:
        var(--text-md);
}

.btn-icon {
    width: 42px;
    height: 42px;

    padding: 0;

    flex-shrink: 0;
}

.btn-ghost {
    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.06);
}

.btn-ghost:hover {
    background:
        rgba(255,255,255,.08);
}

.divider {
    width: 100%;

    height: 3px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(74,163,255,.24),
            rgba(255,255,255,.10),
            rgba(74,163,255,.24),
            transparent
        );

    box-shadow:
        0 0 10px rgba(74,163,255,.08);
}

/* =========================================================
   DANGER BUTTON
========================================================= */

.btn-danger {
    background:
        linear-gradient(
            90deg,
            rgba(239,68,68,.22),
            rgba(185,28,28,.18)
        );

    border:
        1px solid rgba(239,68,68,.22);

    color:
        #ffb4b4;
}

.btn-danger:hover {
    box-shadow:
        0 0 20px rgba(239,68,68,.16);
}

/* =========================
   DISCORD
========================= */

.btn-discord {
    background:
        linear-gradient(
            90deg,
            #5865F2,
            #7289da
        );

    box-shadow:
        0 0 18px rgba(88,101,242,.24);
}

.btn-discord:hover {
    transform: translateY(-2px);

    box-shadow:
        0 0 24px rgba(88,101,242,.34);
}

/* =========================
   OUTLINE
========================= */

.btn-outline {
    background:
        rgba(255,255,255,.03);

    border:
        1px solid rgba(255,255,255,.08);
}

.btn-outline:hover {
    background:
        rgba(255,255,255,.06);

    border-color:
        rgba(0,255,255,.24);
}

/* =========================================================
   TABLES
========================================================= */

/* =========================
   TABLE WRAPPER
========================= */

.table-wrapper {
    width: 100%;

    overflow-x: auto;
}

/* =========================
   TABLE BASE
========================= */

.table-base {
    width: 100%;

    border-collapse: collapse;

    border-radius:
        var(--radius-lg);

    overflow: hidden;

    background:
        var(--color-card);

    border:
        1px solid var(--color-border);

    box-shadow:
        var(--shadow-card);
}

/* =========================
   HEAD + CELLS
========================= */

.table-base th,
.table-base td {
    padding:
        14px
        16px;

    text-align: left;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

/* =========================
   TABLE HEAD
========================= */

.table-base th {
    font-size:
        var(--text-xs);

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .5px;

    color:
        rgba(255,255,255,.55);

    background:
        rgba(255,255,255,.02);
}

/* =========================
   TABLE ROW
========================= */

.table-base tr:hover {
    background:
        rgba(255,255,255,.025);
}

.tag {
    display: inline-flex;

    align-items: center;

    padding:
        10px 14px;

    border-radius:
        14px;

    background:
        rgba(255,255,255,.04);

    border:
        1px solid rgba(255,255,255,.05);

    font-size:
        var(--text-sm);

    font-weight: 600;

    color: #ffffff;
}

/* =========================================================
   ALIGNMENT
========================================================= */

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.flex-center {
    display: flex;

    align-items: center;

    justify-content: center;
}

/* =========================================================
   FLEX
========================================================= */

.flex-1 {
    flex: 1;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

/* =========================================================
   DISPLAY
========================================================= */

.block {
    display: block;
}

.inline-flex {
    display: inline-flex;
}

/* =========================================================
   BORDER RADIUS
========================================================= */

.radius-sm {
    border-radius: var(--radius-sm);
}

.radius-md {
    border-radius: var(--radius-md);
}

.radius-lg {
    border-radius: var(--radius-lg);
}

/* =========================================================
   BORDERS
========================================================= */

.border-light {
    border: var(--border-light);
}

.border-medium {
    border: var(--border-medium);
}

.border-blue {
    border: var(--border-blue);
}

/* =========================================================
   SHADOWS
========================================================= */

.shadow-card {
    box-shadow: var(--shadow-card);
}

.shadow-hover {
    box-shadow: var(--shadow-hover);
}

/* =========================================================
   BACKGROUNDS
========================================================= */

.bg-card {
    background: var(--color-card);
}

.bg-primary {
    background: var(--gradient-primary);
}

.bg-discord {
    background: var(--gradient-discord);
}

/* =========================================================
   CONTAINERS
========================================================= */

.container-xl {
    width: 100%;
    max-width: var(--container-xl);
    margin: 0 auto;
}

.container-lg {
    width: 100%;
    max-width: var(--container-lg);
    margin: 0 auto;
}

.container-md {
    width: 100%;
    max-width: var(--container-md);
    margin: 0 auto;
}

/* =========================================================
   POSITION
========================================================= */

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.fixed {
    position: fixed;
}

/* =========================================================
   OVERFLOW
========================================================= */

.overflow-hidden {
    overflow: hidden;
}

.overflow-auto {
    overflow: auto;
}

/* =========================================================
   BOX SIZING
========================================================= */

.box-border {
    box-sizing: border-box;
}

/* =========================================================
   HEIGHT
========================================================= */

.h-full {
    height: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

/* =========================================================
   COMMON COMPONENTS
========================================================= */

/* =========================
   CARD BASE
========================= */

.card-base { background: var(--color-card); border: 1px solid var(--color-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); box-sizing: border-box; }

.card-hover { transition: var(--transition-normal); }
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }

/* =========================================================
   FORM ELEMENTS
========================================================= */

/* =========================
   INPUT BASE
========================= */

.input-base {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    border-radius: 12px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(8,12,20,.92);

    color:
        #ffffff;

    outline: none;

    transition:
        var(--transition-normal);
}

.input-base::placeholder {
    color:
        rgba(255,255,255,.35);
}

.input-base:focus {
    outline: none;

    border-color:
        rgba(74,163,255,.35);

    box-shadow:
        0 0 18px rgba(74,163,255,.14);
}

/* =========================
   LABEL
========================= */

.label {
    font-size:
        var(--text-sm);

    font-weight: 600;

    color:
        rgba(255,255,255,.78);
}

/* =========================
   FORM GROUP
========================= */

.form-group {
    display: flex;

    flex-direction: column;
}

.form-group input {
    background:
        rgba(8,12,20,.92);

    color:
        #ffffff;
}

.form-group input::placeholder {
    color:
        rgba(255,255,255,.35);
}

/* =========================
   PANEL
========================= */

.panel {
    padding: var(--space-lg);

    border-radius: var(--radius-md);

    background: rgba(255,255,255,.03);

    border: var(--border-light);
}

/* =========================
   BADGE
========================= */

.badge {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 6px 12px;

    border-radius: 999px;

    font-size: 13px;

    font-weight: 600;
}

/* =========================================================
   APP LAYOUT
========================================================= */

.app { display: grid; grid-template-columns: var(--sidebar-width) 1fr; height: 100vh; overflow: hidden; }

/* =========================================================
   SIDEBAR
========================================================= */

.sidebar {
    min-width: 240px;
    max-width: 260px;
    height: 100vh;
    padding: var(--space-lg);
    box-sizing: border-box;

    background: var(--color-card);

    border-right:
        1px solid rgba(255,255,255,.06);

    box-shadow:
        0 0 10px rgba(0,255,255,.25),
        0 0 24px rgba(99,102,241,.16),
        0 0 42px rgba(236,72,153,.08);
}

/* =========================================================
   SIDEBAR HEADER
========================================================= */

.sidebar-header {
    padding-bottom: 18px;
    margin-bottom: 18px;

    border-bottom:
        1px solid rgba(255,255,255,.06);
}

/* =========================
   BRAND LOGO
========================= */

.brand-logo {
    width: 100%;
    padding: 10px 0;
    text-decoration: none;
}

.brand-logo img {
    width: 100px;

    max-width: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 0 10px rgba(74,163,255,.25)
        );

    transition:
        var(--transition-normal);
}

.brand-logo img:hover {
    transform: scale(1.04);
}

/* =========================================================
   NAVIGATION
========================================================= */

/* =========================
   NAV TITLES
========================= */

.nav-title {
    margin: var(--space-lg) 0 var(--space-sm);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    color:
        rgba(255,255,255,.45);
}

.nav-title.danger {
    color: #ff8f8f;
}

/* =========================================================
   SIDEBAR LINKS
========================================================= */

.sidebar-link {
    position: relative;

    display: flex;

    align-items: center;

    gap: var(--space-sm);

    padding: var(--space-sm) var(--space-md);

    margin-bottom: var(--space-xs);

    border-radius:
        var(--radius-sm);

    text-decoration: none;

    color: #d7deea;

    border:
        1px solid transparent;

    transition:
        var(--transition-normal);
}

/* =========================
   LINK ICON
========================= */

.sidebar-link i {
    font-size: 17px;
}

/* =========================
   LINK HOVER
========================= */

.sidebar-link:hover {
    transform: translateX(4px);

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(74,163,255,.12),
            rgba(255,0,200,.07)
        );

    border-color:
        rgba(74,163,255,.18);

    box-shadow:
        0 0 10px rgba(0,255,255,.18),
        0 0 18px rgba(99,102,241,.10);
}

/* =========================
   ACTIVE LINK
========================= */

.sidebar-link.active {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(74,163,255,.20),
            rgba(160,60,255,.12)
        );

    border:
        1px solid rgba(74,163,255,.18);

    box-shadow:
        inset 0 0 0 1px rgba(255,255,255,.03),
        0 0 12px rgba(0,255,255,.18),
        0 0 22px rgba(99,102,241,.12);
}

/* =========================================================
   SIDEBAR ACCORDION
========================================================= */

.sidebar-accordion {
    margin-bottom: var(--space-sm);
}

.text-cyan {
    color: var(--color-cyan);
}

/* =========================
   ACCORDION BUTTON
========================= */

.sidebar-accordion-btn {
    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    padding: 13px 14px;

    border: none;

    border-radius:
        var(--radius-sm);

    background: transparent;

    color: #d7deea;

    cursor: pointer;

    font-size: 17px;

    transition:
        var(--transition-normal);
}

/* =========================
   BUTTON CONTENT
========================= */

.sidebar-accordion-btn span {
    display: flex;

    align-items: center;

    gap: var(--space-sm);
}

/* =========================
   BUTTON HOVER
========================= */

.sidebar-accordion-btn:hover {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(74,163,255,.12),
            rgba(255,0,200,.07)
        );
}

/* =========================================================
   ACCORDION CONTENT
========================================================= */

.sidebar-accordion-content {
    display: none;

    flex-direction: column;

    gap: 4px;

    margin-left: 12px;

    margin-top: 6px;
}

/* =========================
   ACTIVE STATE
========================= */

.sidebar-accordion.active
.sidebar-accordion-content {
    display: flex;
}

/* =========================
   CHEVRON
========================= */

.sidebar-accordion
.bi-chevron-down {
    transition:
        var(--transition-fast);
}

.sidebar-accordion.active
.bi-chevron-down {
    transform: rotate(180deg);
}

/* =========================================================
   USER BOX
========================================================= */

.user-box {
    margin-top: auto;
    padding-top: 12px;
    border-top:
        1px solid rgba(255,255,255,.05);
}

.user-meta {
    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 2px;
}

/* =========================================================
   USER CARD
========================================================= */

.logged-in {
    display: flex;

    align-items: center;

    gap: var(--space-sm);

    padding:
        10px
        12px;

    border-radius:
        var(--radius-md);

    background:
        rgba(255,255,255,.025);

    border:
        1px solid rgba(255,255,255,.04);
}

/* =========================
   USER LINK
========================= */

.user-info {
    display: flex;

    align-items: center;

    gap: var(--space-sm);

    flex: 1;
}

.user-info-link {
    display: flex;

    flex: 1;

    text-decoration: none;

    color: inherit;
}

.user-info-link:hover {
    background:
        rgba(255,255,255,.04);
}

/* =========================================================
   AVATAR
========================================================= */

.avatar {
    width: 46px;

    height: 46px;

    border-radius: 50%;

    object-fit: cover;

    border:
        2px solid var(--color-blue);

    box-shadow:
        0 0 12px rgba(74,163,255,.35);
}

/* =========================
   USERNAME
========================= */

.username {
    font-size:
        var(--text-sm);

    font-weight: 600;

    color: #ffffff;
}

/* =========================================================
   ROLE BADGES
========================================================= */

.role-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
	line-height: 1;

    padding:
        4px
        8px;

    border-radius: 999px;

    font-size: var(--text-xs);
    font-weight: 600;
}

/* =========================
   ADMIN
========================= */

.role-badge.admin {
    background:
        rgba(255,70,70,.15);

    color: #ff8b8b;
}

/* =========================
   MODERATOR
========================= */

.role-badge.moderator {
    background:
        rgba(60,220,100,.14);

    color: #14ce00;
}

/* =========================
   HELFER
========================= */

.role-badge.helfer {
    background:
        rgba(255,180,50,.14);

    color: #8fce00;
}

/* =========================
   MEMBER
========================= */

.role-badge.member {
    background:
        rgba(74,163,255,.14);

    color: #8ec8ff;
}

/* =========================
   USER
========================= */

.role-badge.user {
    background:
        rgba(255,255,255,.08);

    color: #d1d5db;
}

/* =========================================================
   LOGOUT BUTTON
========================================================= */

.logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
	margin-left: auto;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border-radius: 12px;
    color: rgba(255,255,255,.62);

    transition:
        var(--transition-fast);
}

.logout-btn:hover {
    background:
        rgba(255,255,255,.06);

    color: #ff7b7b;
}

/* =========================================================
   LOGIN BUTTON
========================================================= */

.login-btn {
    width: fit-content;

    margin: 0 auto;
}

/* =========================================================
   MAIN LAYOUT
========================================================= */

.main {
    display: grid;

    grid-template-rows:
        1fr auto;

    min-width: 0;

    overflow: hidden;
}

/* =========================================================
   CONTENT
========================================================= */

.content {
    width: 100%;

    height: 100%;

    max-width: var(--container-xl);

    margin: 0 auto;

    padding: 28px;

    padding-bottom:
        calc(var(--footer-height) + 40px);

    box-sizing: border-box;

    overflow-y: auto;

    overflow-x: hidden;
}

/* =========================================================
   GRID SYSTEM
========================================================= */

.grid {
    display: grid;
	
	align-items: stretch;

    grid-template-columns:
        repeat(auto-fit, minmax(280px, 1fr));

    gap: var(--space-lg);
}

/* =========================================================
						DASHBOARD HERO
========================================================= */

.dashboard-section { margin-bottom: var(--space-lg); }
.dashboard-section-title { margin-bottom: var(--space-lg); }
.dashboard-section-title i { font-size: 24px; color: var(--color-cyan); text-shadow: 0 0 14px rgba(0,255,255,.35); }

/* =========================================================
   DASHBOARD GRIDS
========================================================= */

.dashboard-bots-grid,
.dashboard-stats-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(320px, 1fr));

    gap: var(--space-lg);

    width: 100%;
}

/* =========================================================
   DASHBOARD CARD
========================================================= */

.dashboard-stat-card { gap: var(--space-md); min-height: 240px; padding: var(--space-xl); box-sizing: border-box; }

/* =========================================================
   DASHBOARD CONTENT
========================================================= */

/* =========================
   ICON
========================= */

.dashboard-stat-icon {
    font-size: 42px;
}

/* =========================================================
   STATUS BADGES
========================================================= */

.status-online,
.status-offline {
    display: inline-flex;

    align-items: center;

    padding: 10px 16px;

    border-radius: 999px;

    font-size: 14px;

    font-weight: 600;
}

/* =========================
   ONLINE
========================= */

.status-online {
    background:
        rgba(60,220,100,.14);

    color:
        #4ade80;

    border:
        1px solid rgba(60,220,100,.18);
}

/* =========================
   OFFLINE
========================= */

.status-offline {
    background:
        rgba(255,70,70,.14);

    color:
        #ff8b8b;

    border:
        1px solid rgba(255,70,70,.18);
}

/* =========================
   LINK ICON
========================= */

.dashboard-links {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: var(--space-md);

    width: 100%;
}

/* =========================
   LINK HOVER
========================= */

.dashboard-links a { min-height: 72px; text-decoration: none; }

/* =========================================================
   FOOTER
========================================================= */

.footer-fixed {
    position: fixed;
    bottom: 0;
    left: var(--sidebar-width);
    right: 0;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 0 28px;

    background:
        rgba(17,24,39,.96);

    backdrop-filter:
        blur(14px);

    border-top:
        1px solid rgba(255,255,255,.08);

    box-sizing: border-box;

    z-index: 50;
}

/* =========================================================
   FOOTER SOCIALS
========================================================= */

.footer-socials {
    display: flex;

    align-items: center;

    gap: 14px;

    margin-left: -15px;

    flex-shrink: 0;
}

/* =========================
   SOCIAL BUTTON
========================= */

.footer-social {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    border-radius:
        14px;

    text-decoration: none;

    background:
        rgba(255,255,255,.03);

    border:
        1px solid rgba(255,255,255,.06);

    transition:
        var(--transition-normal);
}

/* =========================
   SOCIAL IMAGE
========================= */

.footer-social img {
    width: 22px;

    height: 22px;

    object-fit: contain;
}

/* =========================
   SOCIAL HOVER
========================= */

.footer-social:hover {
    transform:
        translateY(-2px);

    background:
        var(--color-card);

    border-color:
        rgba(74,163,255,.2);

    box-shadow:
        0 0 12px rgba(74,163,255,.18);
}

/* =========================================================
   SCROLLBAR
========================================================= */

.content::-webkit-scrollbar {
    width: 8px;
}

.content::-webkit-scrollbar-thumb {
    background:
        rgba(74,163,255,.25);

    border-radius: 10px;
}

.content::-webkit-scrollbar-track {
    background: transparent;
}

/* =========================================================
   HELFER BEREICH
========================================================= */

/* =========================
   FORM
========================= */

.card-form form {
    display: flex;

    flex-direction: column;

    gap: var(--space-lg);

    width: 100%;

    padding: var(--space-xl);

    box-sizing: border-box;
}

/* =========================
   FORM GROUP
========================= */

.form-group {
    display: flex;

    flex-direction: column;

    gap: 6px;
}

/* =========================
   LABEL
========================= */

.form-label {
    font-size: var(--text-sm);

    font-weight: 600;

    color:
        rgba(255,255,255,.82);

    margin-bottom: 0;
}

/* =========================================================
   FORM SYSTEM
========================================================= */

/* =========================================================
   FORM GROUP
========================================================= */

.input-base,
.select-box {
    padding:
		14px 16px;

    border-radius:
        12px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(15,17,21,.8);

    color:
        #e6e6e6;

    outline: none;

    transition:
        var(--transition-normal);
}

/* =========================
   INPUT FOCUS
========================= */

.input-base:focus,
.select-box:focus {
    border-color:
        rgba(74,163,255,.4);

    box-shadow:
        0 0 10px rgba(74,163,255,.2);
}

/* =========================
   BUTTON HOVER
========================= */

.form-btn {
    margin-top: var(--space-sm);

    padding:
        14px
        18px;

    border: none;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 600;

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(0,200,255,.85),
            rgba(99,102,241,.85)
        );

    box-shadow:
        0 0 16px rgba(0,200,255,.18);

    transition:
        var(--transition-normal);
}

.form-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 0 24px rgba(0,200,255,.28);
}

/* =========================================================
   PREVIEW BOX
========================================================= */

.preview-box {
    display: flex;

    justify-content: center;

    margin-top: 10px;
}

/* =========================
   PREVIEW IMAGE
========================= */

.preview-box img {
    width: 90px;

    height: 90px;

    object-fit: contain;

    image-rendering: pixelated;
}

/* =========================================================
   CUSTOM SELECT
========================================================= */

.custom-select {
    position: relative;

    width: 100%;
}

/* =========================
   SELECT BOX
========================= */

.select-box {
    width: 100%;

    box-sizing: border-box;

    padding: 14px 16px;

    border-radius: 12px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(8,12,20,.92);

    color:
        #ffffff;

    cursor: pointer;

    transition:
        var(--transition-normal);
}

/* =========================
   SELECT HOVER
========================= */

.select-box:hover {
    border-color:
        rgba(74,163,255,.35);

    box-shadow:
        0 0 10px rgba(74,163,255,.15);
}

/* =========================================================
   SELECT DROPDOWN
========================================================= */

.select-dropdown {
    position: absolute;

    top: calc(100% + 6px);

    left: 0;

    right: 0;

    display: none;

    max-height: 400px;

    overflow-y: auto;

    overflow-x: hidden;

    z-index: 999;

    background:
        rgba(15,17,21,.98);

    border:
        1px solid rgba(255,255,255,.08);

    border-radius:
        12px;

    box-shadow:
        0 10px 25px rgba(0,0,0,.4);
}

/* =========================
   DROPDOWN SCROLLBAR
========================= */

.select-dropdown::-webkit-scrollbar {
    width: 6px;
}

.select-dropdown::-webkit-scrollbar-thumb {
    background:
        rgba(74,163,255,.4);

    border-radius: 10px;
}

.select-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

/* =========================================================
   OPTIONS
========================================================= */

.option {
    padding: 10px 12px;

    cursor: pointer;

    color: #cfd6e4;

    transition:
        var(--transition-fast);
}

/* =========================
   OPTION HOVER
========================= */

.option:hover {
    padding-left: 16px;

    background:
        rgba(74,163,255,.12);

    color: #ffffff;
}

/* =========================
   DISABLED OPTION
========================= */

.option.disabled {
    opacity: .4;

    cursor: default;

    pointer-events: none;

    text-align: center;

    font-weight: 600;
}

/* =========================================================
   STAT CARD
========================================================= */

.admin-stat-card {
    min-height: 110px;

    padding:
        var(--space-md)
        var(--space-lg);
}

/* =========================================================
   STAT COLORS
========================================================= */

.stat-card.online .text-title {
    color: #4ade80;
}

.stat-card.new .text-title {
    color: #60a5fa;
}

.stat-card.banned .text-title {
    color: #f87171;
}


/* =========================================================
   ADMIN SEARCH
========================================================= */

.admin-search {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.admin-search .input-base {
    flex: 1;
}

/* =========================
   AVATAR
========================= */

.admin-avatar {
    width: 40px;

    height: 40px;

    border-radius: 50%;
}

/* =========================================================
   ADMIN BUTTONS
========================================================= */

/* =========================
   BAN BUTTON
========================= */

.btn-ban {
    padding: 6px 10px;

    border: none;

    border-radius:
        6px;

    cursor: pointer;

    color: #ffffff;

    background:
        #ef4444;
}

/* =========================
   BAN HOVER
========================= */

.btn-ban:hover {
    background:
        #dc2626;
}

/* =========================
   BANNED
========================= */

.btn-ban.banned {
    background:
        #f59e0b;
}

/* =========================================================
   PROFILE PAGE
========================================================= */

.profile-card {
    display: flex;

    flex-direction: column;

    gap: 24px;

    max-width: 900px;

    padding: 28px !important;

    border-radius:
        24px;

    background:
        var(--color-card);

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 12px rgba(74,163,255,.08),
        0 0 30px rgba(99,102,241,.10),
        inset 0 0 0 1px rgba(255,255,255,.03);
}

/* =========================================================
   PROFILE HEADER
========================================================= */

.profile-header {
    display: flex;

    align-items: center;

    gap: 22px;

    padding-bottom: 22px;

    border-bottom:
        1px solid rgba(255,255,255,.08);
}

/* =========================
   PROFILE AVATAR
========================= */

.profile-avatar {
    width: 110px;

    height: 110px;

    object-fit: cover;

    border-radius: 50%;

    border:
        3px solid rgba(74,163,255,.6);

    box-shadow:
        0 0 18px rgba(74,163,255,.35),
        0 0 32px rgba(99,102,241,.15);

    transition:
        var(--transition-normal);
}

/* =========================
   AVATAR HOVER
========================= */

.profile-avatar:hover {
    transform:
        scale(1.03);
}

/* =========================
   PROFILE TITLE
========================= */

.profile-header h2 {
    margin: 0 0 8px;

    font-size: 30px;

    font-weight: 700;

    color: #ffffff;
}

/* =========================================================
   PROFILE INFO
========================================================= */

.profile-info {
    display: flex;

    flex-direction: column;

    gap: 14px;
}

/* =========================
   FULL BUTTON
========================= */

.profile-info .twitch-full-btn {
    width: 100%;

    box-sizing: border-box;
}

/* =========================================================
   PROFILE ROW
========================================================= */

.profile-row {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 18px;

    border-radius:
        18px;

    background:
        var(--color-card);

    border:
        1px solid rgba(255,255,255,.05);

    transition:
        var(--transition-normal);
}

/* =========================
   ROW HOVER
========================= */

.profile-row:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(74,163,255,.18);

    box-shadow:
        0 0 12px rgba(74,163,255,.08);
}

/* =========================
   ROW TITLE
========================= */

.profile-row strong {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 14px;

    color:
        #d7deea;
}

/* =========================
   ROW TEXT
========================= */

.profile-row span {
    margin-left: 50px;

    font-size: 14px;

    color:
        #9fb0c7;
}

/* =========================================================
   TWITCH BUTTONS
========================================================= */

/* =========================================================
   BASE BUTTON
========================================================= */

.twitch-full-btn {
    display: inline-block;

    width: auto;

    max-width: 100%;

    padding: 12px 16px;

    text-align: center;

    border-radius:
        18px;

    font-weight: 600;

    transition:
        var(--transition-normal);
}

/* =========================
   CONNECT
========================= */

.twitch-connect-btn {
    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(145,70,255,.85),
            rgba(100,65,165,.85)
        );

    box-shadow:
        0 0 18px rgba(145,70,255,.25);
}

/* =========================
   CONNECT HOVER
========================= */

.twitch-connect-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 0 28px rgba(145,70,255,.35);
}

/* =========================
   DISCONNECT
========================= */

.twitch-disconnect-btn {
    color:
        #ffb4b4;

    background:
        linear-gradient(
            90deg,
            rgba(239,68,68,.22),
            rgba(185,28,28,.18)
        );

    border:
        1px solid rgba(239,68,68,.22);
}

/* =========================
   DISCONNECT HOVER
========================= */

.twitch-disconnect-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 0 20px rgba(239,68,68,.16);
}

/* =========================================================
   PROFILE FORM
========================================================= */

.profile-form {
    display: flex;

    flex-direction: column;

    gap: var(--space-sm);

    width: 100%;
}

/* =========================
   LABEL
========================= */

.profile-form label {
    font-size: 14px;

    font-weight: 600;

    color:
        rgba(255,255,255,.75);
}

/* =========================
   INPUTS
========================= */

.profile-form input,
.profile-form textarea {
    width: 100%;

    min-width: 100%;

    padding: 14px 16px;

    resize: vertical;

    box-sizing: border-box;

    border-radius:
        18px;

    border:
        1px solid rgba(255,255,255,.08);

    background:
        rgba(15,17,21,.85);

    color:
        #ffffff;

    transition:
        var(--transition-normal);
}

/* =========================
   INPUT FOCUS
========================= */

.profile-form input:focus,
.profile-form textarea:focus {
    outline: none;

    border-color:
        rgba(74,163,255,.35);

    box-shadow:
        0 0 18px rgba(74,163,255,.14);
}

/* =========================================================
   SETTINGS CARD
========================================================= */

.settings-card {
    display: grid;

    grid-template-columns:
        repeat(2, 1fr);
	padding: 32px;
    gap: 28px;

    border-radius:
        var(--radius-lg);

    background:
        var(--color-card);

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 12px rgba(74,163,255,.08),
        0 0 30px rgba(99,102,241,.10),
        inset 0 0 0 1px rgba(255,255,255,.03);
}

/* =========================
   SETTINGS TITLE
========================= */

.settings-card h2 {
    grid-column: span 2;

    margin: 0;
}

/* =========================================================
   SETTINGS ITEM
========================================================= */

.settings-item {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    padding: 16px 18px;

    border-radius:
        18px;

    background:
        var(--color-card);

    border:
        1px solid rgba(255,255,255,.05);

    transition:
        var(--transition-normal);
}

/* =========================
   SETTINGS HOVER
========================= */

.settings-item:hover {
    transform:
        translateY(-2px);

    border-color:
        rgba(74,163,255,.18);

    box-shadow:
        0 0 12px rgba(74,163,255,.08);
}

/* =========================
   SETTINGS TEXT
========================= */

.settings-item span {
    flex: 1;

    font-size: 14px;

    color:
        rgba(255,255,255,.85);
}

/* =========================================================
   TOGGLE
========================================================= */

.toggle {
    position: relative;

    display: inline-block;

    width: 46px;

    height: 24px;

    flex-shrink: 0;
}

/* =========================
   HIDE INPUT
========================= */

.toggle input {
    display: none;
}

/* =========================================================
   SLIDER
========================================================= */

.slider {
    position: absolute;

    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    cursor: pointer;

    border-radius: 999px;

    background:
        rgba(255,255,255,.12);

    border:
        1px solid rgba(255,255,255,.08);

    transition:
        var(--transition-normal);
}

/* =========================
   SLIDER KNOB
========================= */

.slider::before {
    content: "";

    position: absolute;

    left: 3px;

    top: 50%;

    width: 18px;

    height: 18px;

    transform:
        translateY(-50%);

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 6px rgba(0,0,0,.4);

    transition:
        var(--transition-normal);
}

/* =========================================================
   TOGGLE ACTIVE
========================================================= */

.toggle input:checked + .slider {
    background:
        var(--accent);

    box-shadow:
        0 0 12px rgba(74,163,255,.35);
}

/* =========================
   ACTIVE KNOB
========================= */

.toggle input:checked + .slider::before {
    transform:
        translate(22px, -50%);
}

/* =========================================================
   GRIEFER / BDT CARD
========================================================= */

.griefer-card {
    position: relative;

    display: flex;

    flex-direction: column;

    width: 100%;

    max-width: 700px;

    gap: var(--space-lg);

    margin-top: 4px;

    padding: var(--space-xl);

    overflow: hidden;

    box-sizing: border-box;
}

/* =========================
   TITLE DIVIDER
========================= */

.griefer-card hr {
    width: 100%;

    height: 2px;

    border: none;

    opacity: .85;

    border-radius: 999px;

    background:
        var(--color-card);
}

/* =========================================================
   MAIN AREA
========================================================= */

.griefer-main {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: var(--space-xl);

    width: 100%;
}

/* =========================================================
   GRID
========================================================= */

.griefer-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(340px, 700px));

    justify-content: center;

    gap: var(--space-xl);

    width: 100%;

    margin: 0 auto;

    padding: 0 var(--space-lg);

    box-sizing: border-box;
}

/* =========================================================
   BLOCK CONTAINER
========================================================= */

.griefer-block-container {
    display: flex;

    flex-direction: column;

    gap: 5px;

    width: 100%;

    padding: 16px;

    box-sizing: border-box;
}

/* =========================================================
   BLOCK ROWS
========================================================= */

.griefer-block-row,
.griefer-drop-row {
    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 18px;
}

/* =========================
   LABELS
========================= */

.griefer-block-row strong,
.griefer-drop-row strong {
    font-weight: 600;

    color: #ffffff;
}

/* =========================
   BLOCK TEXT
========================= */

.griefer-block-text {
    white-space: nowrap;

    font-weight: 400;

    color: #f5f5f5;
}

/* =========================
   DROP TEXT
========================= */

.griefer-drop-text {
    font-weight: 400;

    text-shadow:
        0 0 8px rgba(0,255,180,.25);
}

/* =========================
   TEXT ALIGNMENT
========================= */

.griefer-block-text,
.griefer-drop-text {
    display: inline-block;

    min-width: 150px;
}

/* =========================================================
   FOOTER
========================================================= */

.griefer-footer {
    margin-top: 14px;

    padding-top: 14px;

    font-size: 14px;

    color:
        rgba(255,255,255,.55);

    border-top:
        1px solid rgba(255,255,255,.08);
}

/* =========================================================
   ICON
========================================================= */

.griefer-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 90px;
}

/* =========================
   ICON IMAGE
========================= */

.griefer-icon img {
    width: 80px;
    height: 80px;
	margin-top: -70px;
    object-fit: contain;

    image-rendering: pixelated;

    filter:
        drop-shadow(
            0 0 10px rgba(0,255,255,.25)
        );

    transition:
        var(--transition-normal);
}

/* =========================
   ICON HOVER
========================= */

.griefer-icon img:hover {
    transform:
        scale(1.08)
        rotate(-2deg);
}

/* =========================================================
   LAST ENTRIES
========================================================= */

.griefer-stats {
    width: 100%;

    max-width: 500px;

    margin: 0 auto;

    padding: var(--space-lg);
}

/* =========================
   STATS TITLE
========================= */

.griefer-stats h3 {
    margin-top: 0;

    margin-bottom: 20px;

    text-align: center;

    font-size: 16px;

    font-weight: 600;

    color: #ffffff;
}

/* =========================
   STATS LIST
========================= */

.griefer-stats ul {
    display: flex;

    flex-direction: column;

    gap: 10px;

    margin: 0;

    padding: 0;

    list-style: none;
}

/* =========================
   STATS ITEM
========================= */

.griefer-stats li {
    text-align: center;

    line-height: 1.5;

    font-size: 16px;

    color: #f1f5f9;
}

/* =========================================================
   SERVER BANNER
========================================================= */

.griefer-banner {
    display: flex;

    justify-content: center;

    width: 100%;
}

/* =========================
   BANNER IMAGE
========================= */

.griefer-banner img {
    display: block;

    width: 100%;

    max-width: 520px;

    height: auto;

    border-radius:
        16px;

    border:
        2px solid rgba(255,255,255,.06);

    box-shadow:
        0 0 16px rgba(0,0,0,.55);
}

/* =========================================================
   EMPTY STATE
========================================================= */

.griefer-empty {
    text-align: center;

    font-size: 16px;

    font-weight: 600;

    color: #ff7070;
}

/* =========================================================
   GRIEFER BOT AREA
========================================================= */

.griefer-bot-area {
    display: flex;

    justify-content: center;

    margin-top: 20px;
}

/* =========================================================
   BOT BUTTON
========================================================= */

.griefer-bot-btn {
    display: inline-flex;

    align-items: center;

    gap: var(--space-sm);

    padding: 16px 30px;

    border-radius:
        18px;

    text-decoration: none;

    font-size: 17px;

    font-weight: 600;

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            #5865F2,
            #7289da
        );

    border:
        1px solid rgba(255,255,255,.08);

    box-shadow:
        0 0 18px rgba(88,101,242,.28),
        0 0 36px rgba(114,137,218,.18);

    transition:
        var(--transition-normal);
}

/* =========================
   BUTTON HOVER
========================= */

.griefer-bot-btn:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 0 24px rgba(88,101,242,.38),
        0 0 50px rgba(114,137,218,.28);
}

/* =========================
   BUTTON ICON
========================= */

.griefer-bot-btn i {
    font-size: 22px;
}

/* =========================================================
   BOT STATUS
========================================================= */

.griefer-bot-status {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 1fr));

    gap: 18px;

    margin-top: 26px;
}

/* =========================================================
   BOT STEP
========================================================= */

.griefer-bot-step {
    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    gap: 14px;

    padding: 24px 20px;

    text-align: center;

    color: #dbe5f3;

    font-size: 15px;

    font-weight: 500;
}

/* =========================
   STEP HOVER
========================= */

.griefer-bot-step:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 0 24px rgba(88,101,242,.16);
}

/* =========================
   STEP ICON
========================= */

.griefer-bot-step i {
    font-size: 34px;

    color:
        #5865F2;
}

/* =========================
   DONE ICON
========================= */

.griefer-bot-step.done i {
    color: #1cc88a;
}

/* =========================
   CODE
========================= */

.griefer-bot-step code {
    padding: 4px 8px;

    border-radius:
        8px;

    font-size: 14px;

    color:
        var(--color-cyan);

    background:
        rgba(0,0,0,.28);

    border:
        1px solid rgba(255,255,255,.06);
}

/* =========================================================
   USERS GRID
========================================================= */

.users-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(240px, 280px));

    gap: var(--space-lg);

    justify-content: center;

    margin-top: var(--space-lg);
}

/* =========================================================
   USERS CARD
========================================================= */

.users-card {
    flex: 1;

    height: 100%;
}

/* =========================
   PROFILE LINK
========================= */

.users-card-link {
    display: block;

    text-decoration: none;

    color: inherit;
}

/* =========================
   AVATAR
========================= */

.users-avatar {
    width: 60px;

    height: 60px;

    object-fit: cover;

    border-radius: 50%;

    border:
        2px solid var(--color-blue);

    box-shadow:
        0 0 10px rgba(74,163,255,.25);
}

/* =========================
   INFO ROW
========================= */

.users-row {
    font-size: var(--text-md);

    color: #f1f5f9;
}

/* =========================
   INFO ICON
========================= */

.users-row i {
    font-size: 18px;
    color: var(--color-blue);
}

/* =========================================================
   USER PROFILE
========================================================= */

.user-profile-card {
    display: flex;

    flex-direction: column;

    gap: 28px;

    width: 80%;

    min-height: 160px;

    margin: 0 auto;

    padding: 32px;

    box-sizing: border-box;

    border-radius:
        var(--radius-lg);

    background:
        var(--color-card);

    border:
        1px solid rgba(74,163,255,.18);

    box-shadow:
        0 0 18px rgba(0,255,255,.10),
        0 0 40px rgba(99,102,241,.10),
        inset 0 0 0 1px rgba(255,255,255,.02);
}

/* =========================================================
   USER PROFILE HEADER
========================================================= */

.user-profile-header {
    display: flex;

    align-items: center;

    gap: 24px;
}

/* =========================================================
   PROFILE AVATAR
========================================================= */

.user-profile-avatar {
    width: 120px;

    height: 120px;

    object-fit: cover;

    border-radius: 50%;

    border:
        3px solid rgba(74,163,255,.55);

    box-shadow:
        0 0 20px rgba(74,163,255,.30),
        0 0 40px rgba(99,102,241,.16);
}

/* =========================================================
   PROFILE META
========================================================= */

.user-profile-meta {
    display: flex;

    flex-direction: column;

    gap: 10px;

    min-width: 220px;
}

/* =========================
   USERNAME
========================= */

.user-profile-meta h2 {
    margin: 0;

    font-size: 34px;

    font-weight: 700;

    color: #ffffff;
}

/* =========================================================
   TOP AREA
========================================================= */

.user-profile-top {
    display: flex;

    align-items: center;

    gap: 40px;
}

/* =========================================================
   LEFT AREA
========================================================= */

.user-profile-left {
    display: flex;

    align-items: center;

    gap: 22px;
}

/* =========================================================
   SIDE INFO
========================================================= */

.user-profile-sideinfo {
    display: flex;

    flex-direction: column;

    gap: var(--space-sm);
}

/* =========================================================
   SIDE ROW
========================================================= */

.user-profile-side-row {
    display: flex;

    flex-direction: column;

    gap: 2px;

    padding: 14px 18px;

    border-radius:
        18px;

    background:
        linear-gradient(
            90deg,
            rgba(255,255,255,.03),
            rgba(255,255,255,.015)
        );

    border:
        1px solid rgba(255,255,255,.05);
}

/* =========================
   SIDE TITLE
========================= */

.user-profile-side-row strong {
    font-size: 14px;

    color: #ffffff;
}

/* =========================
   SIDE VALUE
========================= */

.user-profile-side-row span {
    font-size: 16px;

    color: #dbe5f3;
}

/* =========================================================
   GAMES SECTION
========================================================= */

.user-profile-games {
    display: flex;

    flex-direction: column;

    gap: 18px;
}

/* =========================
   GAMES TITLE
========================= */

.user-profile-games h3 {
    margin: 0;

    font-size: 22px;

    font-weight: 700;

    color: #ffffff;
}

/* =========================================================
   GAMES LIST
========================================================= */

.user-games-list {
    display: flex;

    flex-wrap: wrap;

    gap: var(--space-sm);
}

/* =========================
   EMPTY STATE
========================= */

.user-no-games {
    opacity: .55;

    color: #dbe5f3;
}

/* =========================================================
   GAME TAG
========================================================= */

.user-game-tag {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 12px 16px;

    border-radius:
        999px;

    background:
        linear-gradient(
            90deg,
            rgba(74,163,255,.14),
            rgba(99,102,241,.10)
        );

    border:
        1px solid rgba(74,163,255,.18);

    color:
        #f1f5f9;

    font-size: 15px;

    font-weight: 600;

    box-shadow:
        0 0 14px rgba(74,163,255,.08);

    transition:
        var(--transition-normal);
}

/* =========================
   TAG HOVER
========================= */

.user-game-tag:hover {
    transform:
        translateY(-2px);

    box-shadow:
        0 0 18px rgba(74,163,255,.16);
}

/* =========================================================
   WERBUNG CARD
========================================================= */

.werbung-card {
    display: flex;

    flex-direction: column;

    gap: var(--space-xl);

    padding: var(--space-xl);
}

/* =========================
   CARD HOVER
========================= */

.werbung-card:hover {
    transform:
        translateY(-4px);

    border-color:
        rgba(0,255,255,.24);

    box-shadow:
        0 0 24px rgba(0,255,255,.14),
        0 0 55px rgba(99,102,241,.14);
}

/* =========================================================
   TOP AREA
========================================================= */

.werbung-top {
    display: flex;

    align-items: center;

    gap: 20px;
}

/* =========================================================
   ICON
========================================================= */

.werbung-icon {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 74px;

    height: 74px;

    border-radius:
        20px;

    font-size: 34px;

    color:
        var(--color-cyan);

    background:
        linear-gradient(
            135deg,
            rgba(0,255,255,.14),
            rgba(99,102,241,.14)
        );

    box-shadow:
        0 0 18px rgba(0,255,255,.12);
}

/* =========================================================
   BADGE
========================================================= */

.werbung-badge {
    display: inline-flex;
    padding: 6px 12px;

    border-radius:
        999px;

    background:
        rgba(74,163,255,.14);

    color:
        #8ec8ff;

    font-size: 13px;

    font-weight: 600;
}

/* =========================================================
   WERBUNG CONTENT
========================================================= */

.werbung-content p {
    margin: 0;

    line-height: 1.7;

    font-size: 16px;

    color:
        #dbe5f3;
}

/* =========================================================
   FEATURE TAG
========================================================= */

.werbung-feature {
    padding: 10px 14px;

    border-radius:
        14px;

    background:
        var(--color-card);

    border:
        1px solid rgba(255,255,255,.05);

    color:
        #ffffff;

    font-size: 14px;

    font-weight: 600;
}

.werbung-features {
    display: flex;

    flex-wrap: wrap;

    gap: var(--space-sm);

    margin-bottom: var(--space-md);
}

/* =========================================================
   COPY BOX
========================================================= */

.werbung-copy-box {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: var(--space-md);

    padding: var(--space-lg);
}

/* =========================================================
   COPY TEXT
========================================================= */

.werbung-copy-text {
    font-size: 16px;

    font-weight: 600;

    color:
        #ffffff;
}

/* =========================================================
   COPY BUTTON
========================================================= */

.werbung-copy-btn {
    display: flex;

    align-items: center;

    justify-content: center;

    width: 44px;

    height: 44px;

    flex-shrink: 0;

    border: none;

    border-radius: 14px;

    cursor: pointer;

    color: #dbeafe;

    background:
        linear-gradient(
            135deg,
            rgba(74,163,255,.18),
            rgba(99,102,241,.16)
        );

    border:
        1px solid rgba(74,163,255,.18);

    box-shadow:
        0 0 14px rgba(74,163,255,.12);

    transition:
        var(--transition-normal);
}

/* =========================
   ICON
========================= */

.werbung-copy-btn i {
    font-size: 16px;
}

/* =========================
   HOVER
========================= */

.werbung-copy-btn:hover {
    transform:
        translateY(-2px);

    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            rgba(74,163,255,.26),
            rgba(99,102,241,.24)
        );

    box-shadow:
        0 0 18px rgba(74,163,255,.20),
        0 0 30px rgba(99,102,241,.12);
}

.mapart-frame {
    width: 100%;
    height: calc(108vh - 140px);
    border: none;
    display: block;
    overflow: hidden;
}

.mapart-wrapper {
    height: calc(108vh - 140px);
    overflow: hidden;
}