:root {
    --bg: #05070d;
    --panel: rgba(13, 20, 34, .72);
    --panel-border: rgba(103, 162, 255, .16);
    --text: #f5f8ff;
    --muted: #8f9bb2;
    --blue: #4b8dff;
    --cyan: #2ce6ff;
    --glow: rgba(62, 137, 255, .38);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -10%, rgba(37, 88, 176, .24), transparent 38%),
        linear-gradient(180deg, #070a12 0%, var(--bg) 100%);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }

.ambient {
    position: fixed;
    width: 28rem;
    height: 28rem;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .14;
    pointer-events: none;
}

.ambient-one { top: 8rem; left: -13rem; background: var(--blue); }
.ambient-two { right: -13rem; bottom: 5rem; background: var(--cyan); }

.site-header,
.site-footer,
.hero,
.modules-section {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(77, 144, 255, .7);
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, rgba(39, 107, 255, .95), rgba(33, 225, 255, .45));
    box-shadow: 0 0 28px var(--glow);
    font-weight: 900;
}
.brand strong, .brand small { display: block; }
.brand strong { font-size: 18px; letter-spacing: .03em; }
.brand small { margin-top: 2px; color: var(--muted); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }

.navigation { display: flex; gap: 28px; color: var(--muted); font-size: 14px; }
.navigation a { position: relative; padding: 34px 0; }
.navigation a:hover, .navigation .active { color: #fff; }
.navigation .active::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    box-shadow: 0 0 14px var(--blue);
}

.login-button {
    padding: 11px 18px;
    border: 1px solid rgba(92, 154, 255, .45);
    border-radius: 10px;
    color: #dce9ff;
    background: rgba(39, 91, 170, .12);
    cursor: pointer;
}

.hero {
    min-height: 620px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 40px;
}

.eyebrow,
.section-heading span {
    color: var(--cyan);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 18px 0;
    font-size: clamp(52px, 7vw, 88px);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 span {
    color: transparent;
    background: linear-gradient(90deg, #ffffff, #81b4ff 48%, #32e7ff);
    -webkit-background-clip: text;
    background-clip: text;
}

.hero p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }

.primary-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 22px;
    border-radius: 12px;
    background: linear-gradient(135deg, #397cff, #22ccf0);
    box-shadow: 0 12px 40px rgba(51, 130, 255, .28);
    font-weight: 800;
}

.system-state { color: var(--muted); font-size: 14px; }
.system-state i {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 8px;
    border-radius: 50%;
    background: #3df29b;
    box-shadow: 0 0 14px #3df29b;
}

.core-visual {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 460px;
}

.core {
    z-index: 3;
    display: grid;
    place-items: center;
    width: 145px;
    height: 145px;
    border: 1px solid rgba(90, 166, 255, .7);
    border-radius: 35%;
    transform: rotate(45deg);
    background: linear-gradient(145deg, rgba(34, 79, 164, .9), rgba(11, 20, 38, .96));
    box-shadow: 0 0 35px rgba(55, 133, 255, .45), inset 0 0 30px rgba(53, 183, 255, .14);
}

.core span, .core small { transform: rotate(-45deg); position: absolute; }
.core span { font-size: 58px; font-weight: 900; }
.core small { margin-top: 65px; color: var(--cyan); font-size: 9px; letter-spacing: .25em; }

.orbit {
    position: absolute;
    border: 1px solid rgba(85, 147, 255, .2);
    border-radius: 50%;
}
.orbit-one { width: 300px; height: 300px; animation: spin 15s linear infinite; }
.orbit-two { width: 420px; height: 420px; border-style: dashed; animation: spin 25s linear infinite reverse; }

.node {
    position: absolute;
    z-index: 4;
    padding: 8px 10px;
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    color: #9fc4ff;
    background: rgba(7, 14, 27, .84);
    font-size: 9px;
    letter-spacing: .14em;
}
.node-one { top: 80px; right: 95px; }
.node-two { right: 40px; bottom: 130px; }
.node-three { bottom: 65px; left: 85px; }

.modules-section { padding: 60px 0 100px; }
.section-heading h2 { margin: 8px 0 30px; font-size: 38px; }

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.module-card {
    min-height: 225px;
    padding: 24px;
    border: 1px solid var(--panel-border);
    border-radius: 20px;
    background: var(--panel);
    backdrop-filter: blur(18px);
    transition: transform .2s ease, border-color .2s ease;
}
.module-card:hover { transform: translateY(-5px); border-color: rgba(72, 153, 255, .5); }
.module-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    color: var(--cyan);
    background: rgba(62, 130, 255, .12);
    font-weight: 900;
}
.module-card h3 { margin: 22px 0 10px; }
.module-card p { color: var(--muted); line-height: 1.55; font-size: 14px; }
.module-card > span { color: #75a8ff; font-size: 12px; }

.error-page {
    min-height: 680px;
    display: grid;
    place-content: center;
    justify-items: center;
    text-align: center;
}
.error-page > span { color: var(--cyan); font-size: 80px; font-weight: 900; }
.error-page h1 { margin: 5px 0; font-size: 34px; }
.error-page p { margin-bottom: 30px; color: var(--muted); }

.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 26px 0 40px;
    border-top: 1px solid rgba(255,255,255,.07);
    color: var(--muted);
    font-size: 12px;
}

@keyframes spin { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .navigation { display: none; }
    .hero { grid-template-columns: 1fr; padding-top: 80px; }
    .core-visual { min-height: 400px; }
    .module-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
    .site-header, .site-footer, .hero, .modules-section { width: min(100% - 24px, 1180px); }
    .login-button { display: none; }
    .hero { min-height: auto; }
    .hero h1 { font-size: 48px; }
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .core-visual { transform: scale(.78); margin-inline: -50px; }
    .module-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   VULYK DASHBOARD
   ========================================================= */

.dashboard-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 75% 10%, rgba(43, 106, 255, 0.12), transparent 28%),
        radial-gradient(circle at 15% 85%, rgba(102, 60, 255, 0.09), transparent 30%),
        #070a10;
    color: #eef3ff;
}

.dashboard-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 42px 42px;
}

.app-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px 18px;
    border-right: 1px solid rgba(148, 168, 210, 0.12);
    background: rgba(8, 12, 21, 0.9);
    backdrop-filter: blur(22px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 2px 10px 25px;
    color: #ffffff;
    text-decoration: none;
}

.sidebar-brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(91, 145, 255, 0.55);
    border-radius: 14px;
    background:
        linear-gradient(145deg, rgba(55, 124, 255, 0.95), rgba(74, 57, 220, 0.85));
    box-shadow:
        0 12px 35px rgba(43, 103, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 21px;
    font-weight: 800;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sidebar-brand-text strong {
    font-size: 18px;
    letter-spacing: 0.03em;
}

.sidebar-brand-text small {
    margin-top: 5px;
    color: #71809e;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sidebar-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 13px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #8f9bb2;
    text-decoration: none;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.sidebar-link:hover {
    color: #dce7ff;
    border-color: rgba(102, 145, 235, 0.14);
    background: rgba(72, 112, 204, 0.08);
    transform: translateX(2px);
}

.sidebar-link.active {
    color: #ffffff;
    border-color: rgba(81, 133, 255, 0.2);
    background:
        linear-gradient(90deg, rgba(42, 100, 235, 0.22), rgba(42, 100, 235, 0.05));
    box-shadow: inset 3px 0 0 #4285ff;
}

.sidebar-icon {
    display: grid;
    place-items: center;
    width: 22px;
    color: #718dc9;
    font-size: 18px;
}

.sidebar-link.active .sidebar-icon {
    color: #70a3ff;
}

.sidebar-badge {
    margin-left: auto;
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 20px;
    background: rgba(73, 124, 245, 0.17);
    color: #81aaff;
    font-size: 11px;
    text-align: center;
}

.sidebar-section-title {
    margin: 27px 13px 10px;
    color: #4e5b72;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding: 13px;
    border: 1px solid rgba(122, 147, 197, 0.12);
    border-radius: 16px;
    background: rgba(20, 28, 44, 0.68);
}

.sidebar-avatar,
.header-profile-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(94, 146, 255, 0.4);
    border-radius: 12px;
    background:
        linear-gradient(145deg, rgba(47, 101, 216, 0.9), rgba(69, 56, 184, 0.9));
    color: #ffffff;
    font-weight: 800;
}

.sidebar-avatar {
    width: 39px;
    height: 39px;
}

.sidebar-user-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.sidebar-user-info strong {
    overflow: hidden;
    color: #eaf1ff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-info small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #63718a;
    font-size: 11px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35d68a;
    box-shadow: 0 0 12px rgba(53, 214, 138, 0.8);
}

.sidebar-logout {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    color: #6e7e99;
    text-decoration: none;
    transition: 180ms ease;
}

.sidebar-logout:hover {
    background: rgba(255, 77, 108, 0.1);
    color: #ff6f89;
}

.app-workspace {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
}

.app-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 36px;
    border-bottom: 1px solid rgba(148, 168, 210, 0.1);
    background: rgba(7, 10, 16, 0.78);
    backdrop-filter: blur(18px);
}

.app-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8ba2;
    font-size: 12px;
}

.app-header-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3be39a;
    box-shadow: 0 0 15px rgba(59, 227, 154, 0.8);
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-action-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(132, 155, 205, 0.12);
    border-radius: 12px;
    background: rgba(22, 29, 45, 0.6);
    color: #8290aa;
    cursor: pointer;
}

.header-action-button:hover {
    border-color: rgba(90, 140, 255, 0.28);
    color: #c8d8ff;
}

.notification-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border: 2px solid #0b0f18;
    border-radius: 50%;
    background: #5e91ff;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 7px;
    padding: 5px 8px 5px 5px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #cbd6e9;
    text-decoration: none;
}

.header-profile:hover {
    border-color: rgba(108, 147, 230, 0.15);
    background: rgba(31, 42, 65, 0.45);
}

.header-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 12px;
}

.header-profile-name {
    max-width: 150px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-content {
    width: 100%;
    max-width: 1600px;
    flex: 1;
    margin: 0 auto;
    padding: 38px;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 175px;
    padding: 32px 35px;
    overflow: hidden;
    border: 1px solid rgba(106, 145, 224, 0.15);
    border-radius: 24px;
    background:
        radial-gradient(circle at 82% 25%, rgba(65, 112, 235, 0.2), transparent 27%),
        linear-gradient(135deg, rgba(19, 28, 49, 0.94), rgba(11, 16, 28, 0.94));
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

.dashboard-welcome::after {
    content: "В";
    position: absolute;
    right: 160px;
    color: rgba(108, 151, 255, 0.035);
    font-size: 210px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-8deg);
}

.dashboard-welcome-content,
.dashboard-clock {
    position: relative;
    z-index: 2;
}

.dashboard-eyebrow,
.panel-eyebrow {
    color: #5687ed;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-welcome h1 {
    margin: 10px 0 8px;
    color: #f5f8ff;
    font-size: clamp(25px, 3vw, 38px);
    letter-spacing: -0.035em;
}

.dashboard-welcome h1 span {
    color: #719dff;
}

.dashboard-welcome p {
    max-width: 620px;
    margin: 0;
    color: #8592aa;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-clock {
    display: flex;
    min-width: 150px;
    flex-direction: column;
    align-items: flex-end;
}

.dashboard-clock-label {
    color: #5f6d87;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.dashboard-clock strong {
    margin-top: 4px;
    color: #f2f6ff;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: -0.05em;
}

.dashboard-clock small {
    color: #61708c;
    font-size: 11px;
}

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.stat-card {
    position: relative;
    padding: 21px;
    overflow: hidden;
    border: 1px solid rgba(123, 148, 199, 0.12);
    border-radius: 19px;
    background: rgba(16, 23, 37, 0.74);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.stat-card:hover {
    border-color: rgba(87, 137, 242, 0.25);
    background: rgba(20, 29, 47, 0.86);
    transform: translateY(-3px);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(87, 138, 244, 0.18);
    border-radius: 12px;
    background: rgba(59, 108, 216, 0.1);
    color: #6d9aff;
}

.stat-trend {
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(116, 132, 163, 0.08);
    color: #67758e;
    font-size: 10px;
}

.stat-trend.positive {
    background: rgba(48, 207, 135, 0.08);
    color: #42cc8b;
}

.stat-number {
    margin-top: 21px;
    color: #f2f6ff;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.stat-label {
    margin-top: 3px;
    color: #c8d2e4;
    font-size: 13px;
    font-weight: 600;
}

.stat-description {
    margin-top: 6px;
    color: #56637a;
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.75fr);
    gap: 18px;
}

.dashboard-panel {
    padding: 24px;
    border: 1px solid rgba(122, 146, 196, 0.12);
    border-radius: 21px;
    background: rgba(15, 21, 34, 0.74);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.panel-heading h2,
.development-content h2 {
    margin: 7px 0 0;
    color: #eaf0fc;
    font-size: 18px;
}

.panel-heading > a {
    color: #648ddf;
    font-size: 11px;
    text-decoration: none;
}

.panel-heading > a:hover {
    color: #8bb0ff;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    transition: 160ms ease;
}

.room-item:hover {
    border-color: rgba(100, 141, 231, 0.13);
    background: rgba(44, 65, 105, 0.12);
    transform: translateX(2px);
}

.room-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(68, 207, 144, 0.18);
    border-radius: 13px;
    background: rgba(45, 190, 124, 0.09);
    color: #53cf91;
    font-size: 11px;
    font-weight: 800;
}

.room-icon-blue {
    border-color: rgba(77, 135, 255, 0.18);
    background: rgba(57, 109, 223, 0.12);
    color: #74a0ff;
}

.room-icon-purple {
    border-color: rgba(151, 91, 255, 0.18);
    background: rgba(123, 70, 223, 0.11);
    color: #ad82ff;
}

.room-icon-orange {
    border-color: rgba(255, 163, 68, 0.18);
    background: rgba(225, 125, 41, 0.1);
    color: #ffad62;
}

.room-information {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.room-information strong {
    color: #dce5f5;
    font-size: 13px;
}

.room-information small {
    margin-top: 4px;
    overflow: hidden;
    color: #58667e;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-online {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #65748d;
    font-size: 11px;
}

.room-online i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #36d289;
    box-shadow: 0 0 9px rgba(54, 210, 137, 0.65);
}

.activity-panel {
    min-height: 370px;
}

.activity-empty {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.activity-radar {
    position: relative;
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 129, 242, 0.17);
    border-radius: 50%;
    background: rgba(62, 111, 216, 0.07);
}

.activity-radar::before,
.activity-radar::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(74, 129, 242, 0.12);
    border-radius: 50%;
}

.activity-radar::before {
    width: 48px;
    height: 48px;
}

.activity-radar::after {
    width: 24px;
    height: 24px;
}

.activity-radar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5c8eff;
    box-shadow: 0 0 18px rgba(92, 142, 255, 0.9);
}

.activity-radar i {
    position: absolute;
    width: 36px;
    height: 1px;
    transform: translateX(18px) rotate(-35deg);
    transform-origin: left center;
    background: linear-gradient(90deg, rgba(92, 142, 255, 0.8), transparent);
}

.activity-empty strong {
    color: #d4deef;
    font-size: 14px;
}

.activity-empty p {
    max-width: 280px;
    margin: 9px 0 0;
    color: #58667d;
    font-size: 11px;
    line-height: 1.65;
}

.development-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(220px, 320px);
    align-items: center;
    gap: 20px;
    padding: 22px 25px;
    border: 1px solid rgba(111, 143, 211, 0.14);
    border-radius: 20px;
    background:
        linear-gradient(100deg, rgba(21, 31, 51, 0.86), rgba(14, 20, 33, 0.76));
}

.development-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(86, 138, 255, 0.25);
    border-radius: 15px;
    background: rgba(49, 101, 219, 0.12);
    color: #6f9dff;
    font-size: 22px;
}

.development-content p {
    max-width: 700px;
    margin: 7px 0 0;
    color: #64728b;
    font-size: 11px;
    line-height: 1.6;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    color: #75839c;
    font-size: 10px;
}

.progress-heading strong {
    color: #7fa8ff;
}

.progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(96, 115, 154, 0.12);
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #386fe8, #7b69f5);
    box-shadow: 0 0 15px rgba(73, 116, 237, 0.6);
}

.app-footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 38px 25px;
    color: #3f4b60;
    font-size: 10px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .app-sidebar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .sidebar-brand {
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .sidebar-brand-text,
    .sidebar-link > span:not(.sidebar-icon),
    .sidebar-section-title,
    .sidebar-user-info,
    .sidebar-logout {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding: 0;
    }

    .sidebar-icon {
        width: auto;
    }

    .sidebar-user {
        justify-content: center;
        padding: 10px;
    }

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

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .dashboard-body {
        padding-bottom: 76px;
    }

    .app-shell {
        display: block;
    }

    .app-sidebar {
        position: fixed;
        z-index: 50;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: auto;
        height: 72px;
        padding: 8px 10px;
        border-top: 1px solid rgba(121, 148, 204, 0.17);
        border-right: 0;
        background: rgba(8, 12, 21, 0.95);
    }

    .sidebar-brand,
    .sidebar-section-title,
    .sidebar-user {
        display: none;
    }

    .sidebar-navigation {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: 100%;
        gap: 5px;
    }

    .sidebar-navigation:nth-of-type(2) {
        display: none;
    }

    .sidebar-link {
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 5px 2px;
        border-radius: 10px;
        font-size: 9px;
    }

    .sidebar-link:nth-child(n + 6) {
        display: none;
    }

    .sidebar-link > span:not(.sidebar-icon) {
        display: block;
    }

    .sidebar-link .sidebar-badge {
        display: none;
    }

    .sidebar-icon {
        font-size: 17px;
    }

    .sidebar-link.active {
        box-shadow: inset 0 -2px 0 #4285ff;
    }

    .app-header {
        min-height: 62px;
        padding: 0 16px;
    }

    .app-header-title {
        font-size: 10px;
    }

    .header-action-button {
        width: 35px;
        height: 35px;
    }

    .header-profile-name {
        display: none;
    }

    .app-content {
        padding: 18px 14px 25px;
    }

    .dashboard {
        gap: 14px;
    }

    .dashboard-welcome {
        display: block;
        min-height: auto;
        padding: 24px 20px;
        border-radius: 19px;
    }

    .dashboard-welcome::after {
        right: -15px;
        font-size: 170px;
    }

    .dashboard-welcome h1 {
        font-size: 25px;
    }

    .dashboard-welcome p {
        font-size: 12px;
    }

    .dashboard-clock {
        align-items: flex-start;
        margin-top: 24px;
    }

    .dashboard-clock strong {
        font-size: 29px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
        border-radius: 16px;
    }

    .stat-number {
        margin-top: 15px;
        font-size: 25px;
    }

    .stat-description {
        display: none;
    }

    .dashboard-panel {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .panel-heading {
        padding: 0 4px;
    }

    .room-item {
        padding: 10px 7px;
    }

    .activity-panel {
        min-height: 310px;
    }

    .development-card {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 18px;
    }

    .development-progress {
        grid-column: 1 / -1;
    }

    .app-footer {
        display: none;
    }
}

@media (max-width: 420px) {
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        min-width: 0;
    }

    .stat-label {
        font-size: 11px;
    }

    .room-online {
        display: none;
    }

    .app-header-title span:last-child {
        display: none;
    }
}

/* =========================================================
   VULYK DASHBOARD
   ========================================================= */

.dashboard-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(
            circle at 75% 10%,
            rgba(43, 106, 255, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(102, 60, 255, 0.09),
            transparent 30%
        ),
        #070a10;
    color: #eef3ff;
}

.dashboard-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.15;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );
    background-size: 42px 42px;
}

.app-shell {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    min-height: 100vh;
}

.app-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    padding: 24px 18px 18px;
    border-right: 1px solid rgba(148, 168, 210, 0.12);
    background: rgba(8, 12, 21, 0.9);
    backdrop-filter: blur(22px);
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 2px 10px 25px;
    color: #ffffff;
    text-decoration: none;
}

.sidebar-brand-mark {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(91, 145, 255, 0.55);
    border-radius: 14px;
    background: linear-gradient(
        145deg,
        rgba(55, 124, 255, 0.95),
        rgba(74, 57, 220, 0.85)
    );
    box-shadow:
        0 12px 35px rgba(43, 103, 255, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 21px;
    font-weight: 800;
}

.sidebar-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.sidebar-brand-text strong {
    font-size: 18px;
    letter-spacing: 0.03em;
}

.sidebar-brand-text small {
    margin-top: 5px;
    color: #71809e;
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.sidebar-navigation {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 13px;
    min-height: 48px;
    padding: 0 13px;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #8f9bb2;
    text-decoration: none;
    transition:
        color 180ms ease,
        background 180ms ease,
        border-color 180ms ease,
        transform 180ms ease;
}

.sidebar-link:hover {
    color: #dce7ff;
    border-color: rgba(102, 145, 235, 0.14);
    background: rgba(72, 112, 204, 0.08);
    transform: translateX(2px);
}

.sidebar-link.active {
    color: #ffffff;
    border-color: rgba(81, 133, 255, 0.2);
    background: linear-gradient(
        90deg,
        rgba(42, 100, 235, 0.22),
        rgba(42, 100, 235, 0.05)
    );
    box-shadow: inset 3px 0 0 #4285ff;
}

.sidebar-icon {
    display: grid;
    place-items: center;
    width: 22px;
    color: #718dc9;
    font-size: 18px;
}

.sidebar-link.active .sidebar-icon {
    color: #70a3ff;
}

.sidebar-badge {
    margin-left: auto;
    min-width: 25px;
    padding: 3px 7px;
    border-radius: 20px;
    background: rgba(73, 124, 245, 0.17);
    color: #81aaff;
    font-size: 11px;
    text-align: center;
}

.sidebar-section-title {
    margin: 27px 13px 10px;
    color: #4e5b72;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: auto;
    padding: 13px;
    border: 1px solid rgba(122, 147, 197, 0.12);
    border-radius: 16px;
    background: rgba(20, 28, 44, 0.68);
}

.sidebar-avatar,
.header-profile-avatar {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(94, 146, 255, 0.4);
    border-radius: 12px;
    background: linear-gradient(
        145deg,
        rgba(47, 101, 216, 0.9),
        rgba(69, 56, 184, 0.9)
    );
    color: #ffffff;
    font-weight: 800;
}

.sidebar-avatar {
    width: 39px;
    height: 39px;
}

.sidebar-user-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.sidebar-user-info strong {
    overflow: hidden;
    color: #eaf1ff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-info small {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    color: #63718a;
    font-size: 11px;
}

.online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #35d68a;
    box-shadow: 0 0 12px rgba(53, 214, 138, 0.8);
}

.sidebar-logout {
    display: grid;
    place-items: center;
    width: 31px;
    height: 31px;
    border-radius: 10px;
    color: #6e7e99;
    text-decoration: none;
    transition: 180ms ease;
}

.sidebar-logout:hover {
    background: rgba(255, 77, 108, 0.1);
    color: #ff6f89;
}

.app-workspace {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex-direction: column;
}

.app-header {
    position: sticky;
    z-index: 20;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 74px;
    padding: 0 36px;
    border-bottom: 1px solid rgba(148, 168, 210, 0.1);
    background: rgba(7, 10, 16, 0.78);
    backdrop-filter: blur(18px);
}

.app-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #7f8ba2;
    font-size: 12px;
}

.app-header-status {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3be39a;
    box-shadow: 0 0 15px rgba(59, 227, 154, 0.8);
}

.app-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
}

.header-action-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 39px;
    height: 39px;
    border: 1px solid rgba(132, 155, 205, 0.12);
    border-radius: 12px;
    background: rgba(22, 29, 45, 0.6);
    color: #8290aa;
    cursor: pointer;
}

.header-action-button:hover {
    border-color: rgba(90, 140, 255, 0.28);
    color: #c8d8ff;
}

.notification-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border: 2px solid #0b0f18;
    border-radius: 50%;
    background: #5e91ff;
}

.header-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: 7px;
    padding: 5px 8px 5px 5px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #cbd6e9;
    text-decoration: none;
}

.header-profile:hover {
    border-color: rgba(108, 147, 230, 0.15);
    background: rgba(31, 42, 65, 0.45);
}

.header-profile-avatar {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 12px;
}

.header-profile-name {
    max-width: 150px;
    overflow: hidden;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.app-content {
    width: 100%;
    max-width: 1600px;
    flex: 1;
    margin: 0 auto;
    padding: 38px;
}

.dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.dashboard-welcome {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 175px;
    padding: 32px 35px;
    overflow: hidden;
    border: 1px solid rgba(106, 145, 224, 0.15);
    border-radius: 24px;
    background:
        radial-gradient(
            circle at 82% 25%,
            rgba(65, 112, 235, 0.2),
            transparent 27%
        ),
        linear-gradient(
            135deg,
            rgba(19, 28, 49, 0.94),
            rgba(11, 16, 28, 0.94)
        );
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.18);
}

.dashboard-welcome::after {
    content: "В";
    position: absolute;
    right: 160px;
    color: rgba(108, 151, 255, 0.035);
    font-size: 210px;
    font-weight: 900;
    line-height: 1;
    transform: rotate(-8deg);
}

.dashboard-welcome-content,
.dashboard-clock {
    position: relative;
    z-index: 2;
}

.dashboard-eyebrow,
.panel-eyebrow {
    color: #5687ed;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.dashboard-welcome h1 {
    margin: 10px 0 8px;
    color: #f5f8ff;
    font-size: clamp(25px, 3vw, 38px);
    letter-spacing: -0.035em;
}

.dashboard-welcome h1 span {
    color: #719dff;
}

.dashboard-welcome p {
    max-width: 620px;
    margin: 0;
    color: #8592aa;
    font-size: 14px;
    line-height: 1.7;
}

.dashboard-clock {
    display: flex;
    min-width: 150px;
    flex-direction: column;
    align-items: flex-end;
}

.dashboard-clock-label {
    color: #5f6d87;
    font-size: 10px;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.dashboard-clock strong {
    margin-top: 4px;
    color: #f2f6ff;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: -0.05em;
}

.dashboard-clock small {
    color: #61708c;
    font-size: 11px;
}

/* =========================================================
   DASHBOARD CARDS
   ========================================================= */

.statistics-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 15px;
}

.stat-card {
    position: relative;
    padding: 21px;
    overflow: hidden;
    border: 1px solid rgba(123, 148, 199, 0.12);
    border-radius: 19px;
    background: rgba(16, 23, 37, 0.74);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background 180ms ease;
}

.stat-card:hover {
    border-color: rgba(87, 137, 242, 0.25);
    background: rgba(20, 29, 47, 0.86);
    transform: translateY(-3px);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-icon {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(87, 138, 244, 0.18);
    border-radius: 12px;
    background: rgba(59, 108, 216, 0.1);
    color: #6d9aff;
}

.stat-trend {
    padding: 4px 8px;
    border-radius: 10px;
    background: rgba(116, 132, 163, 0.08);
    color: #67758e;
    font-size: 10px;
}

.stat-trend.positive {
    background: rgba(48, 207, 135, 0.08);
    color: #42cc8b;
}

.stat-number {
    margin-top: 21px;
    color: #f2f6ff;
    font-size: 31px;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.stat-label {
    margin-top: 3px;
    color: #c8d2e4;
    font-size: 13px;
    font-weight: 600;
}

.stat-description {
    margin-top: 6px;
    color: #56637a;
    font-size: 11px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.45fr)
        minmax(300px, 0.75fr);
    gap: 18px;
}

.dashboard-panel {
    padding: 24px;
    border: 1px solid rgba(122, 146, 196, 0.12);
    border-radius: 21px;
    background: rgba(15, 21, 34, 0.74);
}

.panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.panel-heading h2,
.development-content h2 {
    margin: 7px 0 0;
    color: #eaf0fc;
    font-size: 18px;
}

.panel-heading > a {
    color: #648ddf;
    font-size: 11px;
    text-decoration: none;
}

.panel-heading > a:hover {
    color: #8bb0ff;
}

/* =========================================================
   ROOMS
   ========================================================= */

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.room-item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 12px;
    border: 1px solid transparent;
    border-radius: 15px;
    color: inherit;
    text-decoration: none;
    transition: 160ms ease;
}

.room-item:hover {
    border-color: rgba(100, 141, 231, 0.13);
    background: rgba(44, 65, 105, 0.12);
    transform: translateX(2px);
}

.room-icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(68, 207, 144, 0.18);
    border-radius: 13px;
    background: rgba(45, 190, 124, 0.09);
    color: #53cf91;
    font-size: 11px;
    font-weight: 800;
}

.room-icon-blue {
    border-color: rgba(77, 135, 255, 0.18);
    background: rgba(57, 109, 223, 0.12);
    color: #74a0ff;
}

.room-icon-purple {
    border-color: rgba(151, 91, 255, 0.18);
    background: rgba(123, 70, 223, 0.11);
    color: #ad82ff;
}

.room-icon-orange {
    border-color: rgba(255, 163, 68, 0.18);
    background: rgba(225, 125, 41, 0.1);
    color: #ffad62;
}

.room-information {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
}

.room-information strong {
    color: #dce5f5;
    font-size: 13px;
}

.room-information small {
    margin-top: 4px;
    overflow: hidden;
    color: #58667e;
    font-size: 11px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.room-online {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #65748d;
    font-size: 11px;
}

.room-online i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #36d289;
    box-shadow: 0 0 9px rgba(54, 210, 137, 0.65);
}

/* =========================================================
   ACTIVITY
   ========================================================= */

.activity-panel {
    min-height: 370px;
}

.activity-empty {
    display: flex;
    min-height: 270px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.activity-radar {
    position: relative;
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    margin-bottom: 20px;
    border: 1px solid rgba(74, 129, 242, 0.17);
    border-radius: 50%;
    background: rgba(62, 111, 216, 0.07);
}

.activity-radar::before,
.activity-radar::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(74, 129, 242, 0.12);
    border-radius: 50%;
}

.activity-radar::before {
    width: 48px;
    height: 48px;
}

.activity-radar::after {
    width: 24px;
    height: 24px;
}

.activity-radar span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #5c8eff;
    box-shadow: 0 0 18px rgba(92, 142, 255, 0.9);
}

.activity-radar i {
    position: absolute;
    width: 36px;
    height: 1px;
    transform: translateX(18px) rotate(-35deg);
    transform-origin: left center;
    background: linear-gradient(
        90deg,
        rgba(92, 142, 255, 0.8),
        transparent
    );
}

.activity-empty strong {
    color: #d4deef;
    font-size: 14px;
}

.activity-empty p {
    max-width: 280px;
    margin: 9px 0 0;
    color: #58667d;
    font-size: 11px;
    line-height: 1.65;
}

/* =========================================================
   DEVELOPMENT PROGRESS
   ========================================================= */

.development-card {
    display: grid;
    grid-template-columns:
        auto
        minmax(0, 1fr)
        minmax(220px, 320px);
    align-items: center;
    gap: 20px;
    padding: 22px 25px;
    border: 1px solid rgba(111, 143, 211, 0.14);
    border-radius: 20px;
    background: linear-gradient(
        100deg,
        rgba(21, 31, 51, 0.86),
        rgba(14, 20, 33, 0.76)
    );
}

.development-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border: 1px solid rgba(86, 138, 255, 0.25);
    border-radius: 15px;
    background: rgba(49, 101, 219, 0.12);
    color: #6f9dff;
    font-size: 22px;
}

.development-content p {
    max-width: 700px;
    margin: 7px 0 0;
    color: #64728b;
    font-size: 11px;
    line-height: 1.6;
}

.progress-heading {
    display: flex;
    justify-content: space-between;
    margin-bottom: 9px;
    color: #75839c;
    font-size: 10px;
}

.progress-heading strong {
    color: #7fa8ff;
}

.progress-track {
    height: 6px;
    overflow: hidden;
    border-radius: 20px;
    background: rgba(96, 115, 154, 0.12);
}

.progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(
        90deg,
        #386fe8,
        #7b69f5
    );
    box-shadow: 0 0 15px rgba(73, 116, 237, 0.6);
}

.app-footer {
    display: flex;
    justify-content: space-between;
    padding: 18px 38px 25px;
    color: #3f4b60;
    font-size: 10px;
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {
    .app-shell {
        grid-template-columns: 88px minmax(0, 1fr);
    }

    .app-sidebar {
        padding-right: 12px;
        padding-left: 12px;
    }

    .sidebar-brand {
        justify-content: center;
        padding-right: 0;
        padding-left: 0;
    }

    .sidebar-brand-text,
    .sidebar-link > span:not(.sidebar-icon),
    .sidebar-section-title,
    .sidebar-user-info,
    .sidebar-logout {
        display: none;
    }

    .sidebar-link {
        justify-content: center;
        padding: 0;
    }

    .sidebar-icon {
        width: auto;
    }

    .sidebar-user {
        justify-content: center;
        padding: 10px;
    }

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

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

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {
    .dashboard-body {
        padding-bottom: 76px;
    }

    .app-shell {
        display: block;
    }

    .app-sidebar {
        position: fixed;
        z-index: 50;
        top: auto;
        right: 0;
        bottom: 0;
        left: 0;
        display: block;
        width: auto;
        height: 72px;
        padding: 8px 10px;
        border-top: 1px solid rgba(121, 148, 204, 0.17);
        border-right: 0;
        background: rgba(8, 12, 21, 0.95);
    }

    .sidebar-brand,
    .sidebar-section-title,
    .sidebar-user {
        display: none;
    }

    .sidebar-navigation {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        height: 100%;
        gap: 5px;
    }

    .sidebar-navigation:nth-of-type(2) {
        display: none;
    }

    .sidebar-link {
        min-height: auto;
        flex-direction: column;
        justify-content: center;
        gap: 3px;
        padding: 5px 2px;
        border-radius: 10px;
        font-size: 9px;
    }

    .sidebar-link:nth-child(n + 6) {
        display: none;
    }

    .sidebar-link > span:not(.sidebar-icon) {
        display: block;
    }

    .sidebar-link .sidebar-badge {
        display: none;
    }

    .sidebar-icon {
        font-size: 17px;
    }

    .sidebar-link.active {
        box-shadow: inset 0 -2px 0 #4285ff;
    }

    .app-header {
        min-height: 62px;
        padding: 0 16px;
    }

    .app-header-title {
        font-size: 10px;
    }

    .header-action-button {
        width: 35px;
        height: 35px;
    }

    .header-profile-name {
        display: none;
    }

    .app-content {
        padding: 18px 14px 25px;
    }

    .dashboard {
        gap: 14px;
    }

    .dashboard-welcome {
        display: block;
        min-height: auto;
        padding: 24px 20px;
        border-radius: 19px;
    }

    .dashboard-welcome::after {
        right: -15px;
        font-size: 170px;
    }

    .dashboard-welcome h1 {
        font-size: 25px;
    }

    .dashboard-welcome p {
        font-size: 12px;
    }

    .dashboard-clock {
        align-items: flex-start;
        margin-top: 24px;
    }

    .dashboard-clock strong {
        font-size: 29px;
    }

    .statistics-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .stat-card {
        padding: 16px;
        border-radius: 16px;
    }

    .stat-number {
        margin-top: 15px;
        font-size: 25px;
    }

    .stat-description {
        display: none;
    }

    .dashboard-panel {
        padding: 18px 14px;
        border-radius: 18px;
    }

    .panel-heading {
        padding: 0 4px;
    }

    .room-item {
        padding: 10px 7px;
    }

    .activity-panel {
        min-height: 310px;
    }

    .development-card {
        grid-template-columns: auto minmax(0, 1fr);
        padding: 18px;
    }

    .development-progress {
        grid-column: 1 / -1;
    }

    .app-footer {
        display: none;
    }
}

@media (max-width: 420px) {
    .statistics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card {
        min-width: 0;
    }

    .stat-label {
        font-size: 11px;
    }

    .room-online {
        display: none;
    }

    .app-header-title span:last-child {
        display: none;
    }
}
/* =========================================================
   CHAT
   ========================================================= */

.chat-room{
    display:flex;
    flex-direction:column;
    gap:20px;
}

.chat-room-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px;
    border:1px solid rgba(122,146,196,.12);
    border-radius:20px;
    background:rgba(15,21,34,.75);
}

.chat-room-status{
    display:flex;
    align-items:center;
    gap:8px;
    color:#8f9bb2;
    font-size:13px;
}

.chat-room-status i{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#35d68a;
    box-shadow:0 0 12px #35d68a;
}

.chat-messages{
    display:flex;
    flex-direction:column;
    gap:16px;

    height:60vh;
    overflow-y:auto;

    padding:22px;

    border:1px solid rgba(122,146,196,.12);
    border-radius:20px;

    background:rgba(15,21,34,.72);
}

.chat-message{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.chat-message-avatar{

    width:44px;
    height:44px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:linear-gradient(145deg,#3778ff,#2ddcff);

    color:white;

    font-weight:700;

    flex-shrink:0;
}

.chat-message-content{

    max-width:75%;

    padding:14px 16px;

    border-radius:18px;

    background:#182334;

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

.chat-message-heading{

    display:flex;

    justify-content:space-between;

    gap:16px;

    margin-bottom:8px;
}

.chat-message-heading strong{

    color:#8fb7ff;
}

.chat-message-heading time{

    color:#71809b;

    font-size:12px;
}

.chat-message-text{

    line-height:1.6;

    word-break:break-word;
}

/* МОЇ ПОВІДОМЛЕННЯ */

.chat-message.own{

    flex-direction:row-reverse;
}

.chat-message.own .chat-message-content{

    background:#23426d;

    border-color:#4f8fff;
}

.chat-message.own .chat-message-heading{

    flex-direction:row-reverse;
}

.chat-form{

    display:flex;

    gap:12px;
}

.chat-form textarea{

    flex:1;

    min-height:70px;

    resize:vertical;

    padding:14px;

    border-radius:16px;

    border:1px solid rgba(122,146,196,.18);

    background:#111926;

    color:white;
}

.chat-form button{

    width:170px;

    border:none;

    border-radius:16px;

    background:linear-gradient(135deg,#3b79ff,#27d8ff);

    color:white;

    font-weight:700;

    cursor:pointer;

    transition:.2s;
}

.chat-form button:hover{

    transform:translateY(-2px);
}

.chat-form button:disabled{

    opacity:.6;

    cursor:default;

    transform:none;
}

@media (max-width: 700px) {
    .chat-room {
        gap: 12px;
    }

    .chat-room-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
        padding: 16px;
        border-radius: 16px;
    }

    .chat-room-title h1 {
        margin: 6px 0;
        font-size: 23px;
    }

    .chat-room-title p {
        margin: 0;
        font-size: 12px;
        line-height: 1.5;
    }

    .chat-messages {
        height: calc(100vh - 330px);
        min-height: 360px;
        gap: 12px;
        padding: 12px;
        border-radius: 16px;
    }

    .chat-message {
        gap: 8px;
    }

    .chat-message-avatar {
        width: 34px;
        height: 34px;
        font-size: 12px;
    }

    .chat-message-content {
        max-width: calc(100% - 46px);
        padding: 10px 12px;
        border-radius: 15px;
    }

    .chat-message-heading {
        gap: 10px;
        margin-bottom: 5px;
        font-size: 12px;
    }

    .chat-message-text {
        font-size: 14px;
        line-height: 1.5;
    }

    .chat-form {
        position: sticky;
        bottom: 76px;
        z-index: 10;
        gap: 8px;
        padding: 8px;
        border: 1px solid rgba(122, 146, 196, 0.12);
        border-radius: 16px;
        background: rgba(8, 12, 21, 0.96);
    }

    .chat-form textarea {
        min-height: 52px;
        max-height: 120px;
        padding: 11px;
        border-radius: 12px;
        resize: none;
    }

    .chat-form button {
        width: auto;
        min-width: 92px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 12px;
    }
}
.chat-online-users{
    margin:18px 0;
    padding:16px;
    border-radius:14px;
    background:#141b28;
    border:1px solid rgba(255,255,255,.08);
}

.chat-online-title{
    font-size:14px;
    font-weight:700;
    margin-bottom:10px;
    color:#7ec8ff;
}

.chat-online-list{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.chat-online-user{
    display:flex;
    align-items:center;
    gap:8px;
    padding:6px 12px;
    border-radius:20px;
    background:#1c2434;
}

.chat-online-dot{
    width:8px;
    height:8px;
    border-radius:50%;
    background:#28d146;
    box-shadow:0 0 8px #28d146;
}
.sidebar-logout-form {
    margin: 0;
}

.sidebar-logout {
    border: 0;
    background: transparent;
    cursor: pointer;
    font: inherit;
}
.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-logout-form {
    display: block;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}

.sidebar-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;
    padding: 0;

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

    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;

    font-family: inherit;
    font-size: 22px;
    line-height: 1;

    cursor: pointer;
    visibility: visible;
    opacity: 1;
}

.sidebar-logout:hover {
    background: rgba(255, 80, 100, 0.12);
    border-color: rgba(255, 80, 100, 0.35);
}