* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --text: rgba(255, 255, 255, 0.96);
    --muted: rgba(255, 255, 255, 0.64);
    --line: rgba(255, 255, 255, 0.18);
    --line-strong: rgba(255, 255, 255, 0.34);
    --glass-top: rgba(255, 255, 255, 0.24);
    --glass-mid: rgba(255, 255, 255, 0.10);
    --glass-bottom: rgba(255, 255, 255, 0.05);
    --shadow-deep: 0 45px 120px rgba(0, 0, 0, 0.46);
    --shadow-panel: 0 24px 60px rgba(0, 0, 0, 0.30);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.22);
    --inner-light: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    --inner-dark: inset 0 -1px 0 rgba(255, 255, 255, 0.05);
}

html,
body {
    min-height: 100%;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background: #040916;
    overflow-x: hidden;
}

body.login-page,
body.app-page {
    min-height: 100vh;
    position: relative;
}

.bg-image {
    position: fixed;
    inset: 0;
    background-image: url("../images/background.avif");
    background-size: cover;
    background-position: center;
    transform: scale(1.12);
    z-index: 0;
}

.bg-overlay {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 18%, rgba(84, 130, 255, 0.22), transparent 24%),
        radial-gradient(circle at 86% 14%, rgba(0, 220, 255, 0.16), transparent 22%),
        radial-gradient(circle at 50% 78%, rgba(49, 88, 255, 0.18), transparent 26%),
        linear-gradient(180deg, rgba(1, 7, 16, 0.34), rgba(1, 7, 16, 0.72));
    z-index: 1;
}

.bg-blur {
    position: fixed;
    inset: 0;
    backdrop-filter: blur(58px) saturate(200%);
    -webkit-backdrop-filter: blur(58px) saturate(200%);
    z-index: 2;
}

.light {
    position: fixed;
    border-radius: 999px;
    filter: blur(120px);
    pointer-events: none;
    z-index: 3;
    opacity: 0.56;
}

.light-1 {
    width: 360px;
    height: 360px;
    background: rgba(91, 128, 255, 0.26);
    top: 4%;
    left: 6%;
}

.light-2 {
    width: 420px;
    height: 420px;
    background: rgba(0, 224, 255, 0.18);
    top: 10%;
    right: 6%;
}

.light-3 {
    width: 340px;
    height: 340px;
    background: rgba(78, 99, 255, 0.22);
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
}

.center-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    position: relative;
    z-index: 10;
}

.liquid-panel,
.liquid-card {
    position: relative;
    background:
        linear-gradient(180deg, var(--glass-top), var(--glass-mid) 34%, var(--glass-bottom));
    border: 1px solid var(--line);
    box-shadow:
        var(--inner-light),
        var(--inner-dark),
        0 0 0 1px rgba(255, 255, 255, 0.04),
        var(--shadow-panel);
    backdrop-filter: blur(34px) saturate(200%);
    -webkit-backdrop-filter: blur(34px) saturate(200%);
    overflow: hidden;
    transform: translateZ(0);
}

.liquid-panel::before,
.liquid-card::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.01));
    pointer-events: none;
}

.liquid-panel::after,
.liquid-card::after {
    content: "";
    position: absolute;
    top: -16%;
    left: -8%;
    width: 62%;
    height: 120px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.26), transparent);
    transform: rotate(-10deg);
    opacity: 0.9;
    pointer-events: none;
}

.login-card {
    width: 100%;
    max-width: 370px;
    min-height: 245px;
    border-radius: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-deep);
}

.login-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 34px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    align-items: center;
    text-align: center;
}

.mini-badge,
.topbar-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.22),
        0 8px 24px rgba(0, 0, 0, 0.16);
}

.login-content h1 {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.24);
}

.liquid-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    padding: 14px 20px;
    border-radius: 20px;
    border: 1px solid var(--line-strong);
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.30), rgba(255, 255, 255, 0.10) 55%, rgba(255, 255, 255, 0.06));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08),
        0 14px 30px rgba(0, 0, 0, 0.20),
        0 4px 10px rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.liquid-btn:hover {
    transform: translateY(-3px) scale(1.015);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.38),
        inset 0 -1px 0 rgba(255, 255, 255, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.26),
        0 6px 14px rgba(255, 255, 255, 0.08);
    filter: brightness(1.05);
}

.liquid-btn:active {
    transform: translateY(0) scale(0.995);
}

.liquid-btn.alt {
    min-width: auto;
    padding-left: 18px;
    padding-right: 18px;
}

.app-shell {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.app-topbar {
    border-radius: 36px;
    padding: 22px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    box-shadow: var(--shadow-deep);
}

.app-topbar-left {
    display: flex;
    align-items: center;
    gap: 18px;
}

.app-topbar-left h1 {
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-top: 8px;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.20);
}

.topbar-back {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.14);
}

.app-topbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.profile-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        0 12px 26px rgba(0, 0, 0, 0.16);
}

.profile-chip img {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow:
        0 6px 16px rgba(0, 0, 0, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.20);
}

.profile-chip strong {
    display: block;
    font-size: 14px;
}

.profile-chip span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.hero-strip {
    border-radius: 36px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    box-shadow: var(--shadow-panel);
}

.hero-strip-text h2 {
    margin-top: 10px;
    font-size: 40px;
    line-height: 1;
    letter-spacing: -0.05em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.20);
}

.hero-strip-text p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 15px;
}

.hero-stats {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.hero-stat {
    min-width: 124px;
    padding: 18px 20px;
    border-radius: 26px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 14px 30px rgba(0, 0, 0, 0.18);
    text-align: left;
}

.hero-stat span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat strong {
    display: block;
    margin-top: 8px;
    font-size: 28px;
    line-height: 1;
}

.tasks-board {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.task-row {
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 18px;
    align-items: stretch;
}

.task-card {
    border-radius: 34px;
    padding: 26px;
    min-height: 230px;
    box-shadow: var(--shadow-panel);
}

.task-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
}

.task-title-wrap h3 {
    font-size: 30px;
    line-height: 1.04;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.18);
}

.task-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.task-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 20px rgba(0, 0, 0, 0.12);
}

.status-done {
    background:
        linear-gradient(180deg, rgba(87, 255, 172, 0.28), rgba(255, 255, 255, 0.06));
}

.status-in_progress {
    background:
        linear-gradient(180deg, rgba(92, 160, 255, 0.28), rgba(255, 255, 255, 0.06));
}

.status-todo {
    background:
        linear-gradient(180deg, rgba(255, 201, 95, 0.28), rgba(255, 255, 255, 0.06));
}

.task-description {
    margin-top: 18px;
    color: var(--muted);
    line-height: 1.72;
    white-space: pre-wrap;
    font-size: 15px;
}

.task-footer {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.task-meta-line {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.task-meta {
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.84);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 20px rgba(0, 0, 0, 0.10);
}

.task-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px 8px 8px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 10px 20px rgba(0, 0, 0, 0.12);
}

.task-author img {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.task-author strong {
    display: block;
    font-size: 14px;
}

.task-author span {
    display: block;
    font-size: 12px;
    color: var(--muted);
}

.task-actions-side {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.task-actions-side form {
    width: 100%;
}

.task-action-btn {
    width: 100%;
    min-height: 66px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 26px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(24px) saturate(190%);
    -webkit-backdrop-filter: blur(24px) saturate(190%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 16px 30px rgba(0, 0, 0, 0.20);
    transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.task-action-btn:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        inset 0 -1px 0 rgba(255, 255, 255, 0.04),
        0 20px 38px rgba(0, 0, 0, 0.26);
    filter: brightness(1.05);
}

.task-action-btn:active {
    transform: translateY(0) scale(0.995);
}

.task-action-btn.done {
    background:
        linear-gradient(180deg, rgba(88, 255, 176, 0.30), rgba(255, 255, 255, 0.08));
}

.task-action-btn.progress {
    background:
        linear-gradient(180deg, rgba(101, 162, 255, 0.30), rgba(255, 255, 255, 0.08));
}

.task-action-btn.delete {
    background:
        linear-gradient(180deg, rgba(255, 106, 106, 0.30), rgba(255, 255, 255, 0.08));
}

.empty-state {
    border-radius: 36px;
    min-height: 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-panel);
}

.empty-orb {
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.54), rgba(91, 142, 255, 0.18));
    border: 1px solid rgba(255, 255, 255, 0.20);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.24),
        0 18px 48px rgba(0, 0, 0, 0.22);
}

.empty-state h3 {
    font-size: 30px;
    letter-spacing: -0.04em;
}

.empty-state p {
    color: var(--muted);
    max-width: 460px;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(4, 11, 20, 0.38);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.modal-overlay.show {
    display: flex;
}

.task-modal {
    width: 100%;
    max-width: 700px;
    border-radius: 36px;
    padding: 26px;
    box-shadow: var(--shadow-deep);
}

.task-modal-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 20px;
}

.task-modal-head h3 {
    margin-top: 10px;
    font-size: 30px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.modal-close {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.06));
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.20),
        0 10px 24px rgba(0, 0, 0, 0.16);
}

.task-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.task-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group.full {
    grid-column: 1 / -1;
}

.input-group label {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.88);
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    padding: 14px 15px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
    color: #fff;
    outline: none;
    font-size: 14px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 24px rgba(0, 0, 0, 0.12);
}

.input-group textarea {
    min-height: 150px;
    resize: vertical;
}

.task-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

@media (max-width: 1100px) {
    .task-row {
        grid-template-columns: 1fr;
    }

    .task-actions-side {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .task-actions-side form {
        flex: 1 1 200px;
    }

    .hero-strip {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-stats {
        justify-content: flex-start;
    }
}

@media (max-width: 780px) {
    .app-shell {
        padding: 14px;
    }

    .app-topbar {
        padding: 18px;
        border-radius: 30px;
        flex-direction: column;
        align-items: stretch;
    }

    .app-topbar-left,
    .app-topbar-right {
        width: 100%;
    }

    .hero-strip {
        padding: 20px;
        border-radius: 30px;
    }

    .hero-strip-text h2 {
        font-size: 30px;
    }

    .task-card {
        padding: 20px;
        border-radius: 28px;
    }

    .task-title-wrap h3 {
        font-size: 24px;
    }

    .task-form-grid {
        grid-template-columns: 1fr;
    }

    .task-modal {
        padding: 20px;
        border-radius: 28px;
    }
}
.dashboard-grid-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.dashboard-stat {
    border-radius: 30px;
    padding: 24px;
    box-shadow: var(--shadow-panel);
}

.dashboard-stat span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.dashboard-stat strong {
    display: block;
    margin-top: 12px;
    font-size: 34px;
    line-height: 1;
}

.dashboard-main-grid {
    display: grid;
    grid-template-columns: 1.45fr 0.9fr;
    gap: 18px;
}

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

.dashboard-panel {
    border-radius: 34px;
    padding: 24px;
    box-shadow: var(--shadow-panel);
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
}

.section-head h3 {
    margin-top: 10px;
    font-size: 28px;
    line-height: 1;
    letter-spacing: -0.04em;
}

.dashboard-server-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px 12px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
    border: 1px solid rgba(255,255,255,0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 14px 28px rgba(0,0,0,0.16);
}

.dashboard-server-chip img {
    width: 54px;
    height: 54px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.24);
}

.dashboard-server-chip strong {
    display: block;
    font-size: 15px;
}

.dashboard-server-chip span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px;
}

.team-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.team-card {
    border-radius: 28px;
    padding: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
    box-shadow: var(--shadow-soft);
}

.team-card-accent {
    position: absolute;
    left: 0;
    top: 14px;
    bottom: 14px;
    width: 6px;
    border-radius: 999px;
    background: var(--role-color);
    box-shadow: 0 0 20px var(--role-color);
}

.team-card-left {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-left: 10px;
}

.team-card-left img {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(0,0,0,0.24);
}

.team-card-left strong {
    display: block;
    font-size: 16px;
}

.team-card-left span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 13px;
}

.team-card-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1;
}

.role-pill-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.role-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.18), 0 10px 20px rgba(0,0,0,0.16);
}

.presence-stack {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.presence-box {
    border-radius: 26px;
    padding: 22px;
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 12px 26px rgba(0,0,0,0.14);
}

.presence-box span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.presence-box strong {
    display: block;
    margin-top: 10px;
    font-size: 32px;
    line-height: 1;
}

.presence-box.online {
    background: linear-gradient(180deg, rgba(70,255,156,0.18), rgba(255,255,255,0.06));
}

.presence-box.offline {
    background: linear-gradient(180deg, rgba(255,120,120,0.18), rgba(255,255,255,0.06));
}

.join-chart-wrap {
    height: 320px;
    position: relative;
}

.empty-state-small {
    border-radius: 24px;
    padding: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    border: 1px solid rgba(255,255,255,0.12);
}

.empty-state-small p {
    color: var(--muted);
}
.server-top-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 10px 22px rgba(0,0,0,0.22);
}
.login-server-icon {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
}
@media (max-width: 1100px) {
    .dashboard-grid-top {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 780px) {
    .dashboard-grid-top {
        grid-template-columns: 1fr;
    }

    .team-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-card-right,
    .role-pill-list {
        justify-content: flex-start;
    }

    .dashboard-server-chip {
        width: 100%;
    }
}