/* =========================================================
   ALPHA — OLED DESIGN SYSTEM
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --bg: #000000;

    --surface: #050505;
    --surface-hover: #0a0a0a;
    --surface-active: #0d0d0d;

    --border: #181818;
    --border-hover: #242424;

    --text: #f5f5f5;
    --text-secondary: #b0b0b0;
    --muted: #707070;
    --muted-dark: #4a4a4a;

    --discord: #5865f2;
    --discord-hover: #6975f5;

    --success: #43d17a;
    --danger: #e04b55;
    --warning: #dca94f;

}


/* =========================================================
   GLOBAL RESET
   ========================================================= */

* {
    box-sizing: border-box;
}


html {
    min-height: 100%;
    background: #000000;
}


body {

    margin: 0;

    min-height: 100vh;

    background: #000000;

    color: var(--text);

    font-family:
        Inter,
        system-ui,
        -apple-system,
        "Segoe UI",
        sans-serif;

}


a {

    color: inherit;

    text-decoration: none;

}


button,
input {

    font-family: inherit;

}


/* =========================================================
   PARTICLES BACKGROUND
   ========================================================= */

#particles {

    position: fixed;

    inset: 0;

    width: 100%;
    height: 100%;

    z-index: 0;

    pointer-events: none;

}


/* =========================================================
   AUTHENTICATION PAGE
   ========================================================= */

.page {

    position: relative;

    z-index: 1;

    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;

    background: transparent;

}


/* =========================================================
   AUTH CARD
   ========================================================= */

.card {

    width: min(460px, 100%);

    padding: 28px;

    background: var(--surface);

    border: 1px solid var(--border);

    border-radius: 6px;

}


/* =========================================================
   BRAND
   ========================================================= */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.logo {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 4px;

    overflow: hidden;

}


.logo img {

    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

}


.brand b {

    display: block;

    color: var(--text);

    font-size: 18px;

}


.brand span {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   DIVIDER
   ========================================================= */

.line {

    height: 1px;

    margin: 25px 0;

    background: var(--border);

}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1 {

    margin: 0;

    color: var(--text);

    font-size: 25px;

    font-weight: 750;

}


.muted {

    color: var(--muted);

    line-height: 1.5;

}


/* =========================================================
   SYSTEM STATUS
   ========================================================= */

.alpha-status {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 22px;

    color: var(--text-secondary);

    font-size: 11px;

    font-weight: 650;

    letter-spacing: 0.8px;

}


.status-dot {

    width: 7px;
    height: 7px;

    flex-shrink: 0;

    border-radius: 50%;

    transition:
        background 0.25s ease,
        box-shadow 0.25s ease;

}


.status-dot.online {

    background: var(--success);

    box-shadow:
        0 0 4px rgba(67, 209, 122, 0.65);

    animation: statusPulse 2.5s ease-in-out infinite;

}


.status-dot.offline {

    background: var(--danger);

    box-shadow:
        0 0 4px rgba(224, 75, 85, 0.55);

}


@keyframes statusPulse {

    0%,
    100% {

        box-shadow:
            0 0 3px rgba(67, 209, 122, 0.45);

    }

    50% {

        box-shadow:
            0 0 7px rgba(67, 209, 122, 0.75);

    }

}


/* =========================================================
   BUTTONS
   ========================================================= */

.button {

    width: 100%;

    min-height: 44px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-top: 10px;

    border: 1px solid var(--border);

    border-radius: 4px;

    background: transparent;

    color: var(--text);

    font-weight: 650;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease;

}


.button:hover {

    background: var(--surface-hover);

    border-color: var(--border-hover);

}


/* =========================================================
   DISCORD BUTTON
   ========================================================= */

.button.discord {

    background: var(--discord);

    border-color: var(--discord);

    color: #ffffff;

}


.button.discord:hover {

    background: var(--discord-hover);

    border-color: var(--discord-hover);

}


/* =========================================================
   DISABLED BUTTON
   ========================================================= */

.button.discord.disabled {

    background: #090909;

    border-color: var(--border);

    color: var(--muted-dark);

    cursor: not-allowed;

}


.button.discord.disabled:hover {

    background: #090909;

    border-color: var(--border);

}


/* =========================================================
   NOTE
   ========================================================= */

.note {

    margin-top: 14px;

    color: var(--muted-dark);

    font-size: 12px;

    text-align: center;

}


/* =========================================================
   AUTH USER
   ========================================================= */

.user {

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    margin: 20px 0 12px;

    border: 1px solid var(--border);

    border-radius: 4px;

    background: #030303;

}


.avatar {

    width: 42px;
    height: 42px;

    flex: 0 0 42px;

    display: grid;

    place-items: center;

    overflow: hidden;

    border-radius: 50%;

    background: #0a0a0a;

}


.avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;

}


.user strong {

    display: block;

    color: var(--text);

}


.user small {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 12px;

}


/* =========================================================
   SYSTEM PAGE
   ========================================================= */

.system-page {

    position: relative;

    z-index: 1;

    min-height: 100vh;

    background: transparent;

    color: var(--text);

}


/* =========================================================
   SYSTEM HEADER
   ========================================================= */

.system-header {

    height: 72px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 0 32px;

    border-bottom: 1px solid var(--border);

    background: #000000;

}


/* =========================================================
   SYSTEM BRAND
   ========================================================= */

.system-brand {

    display: flex;

    align-items: center;

    gap: 11px;

}


.system-logo {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

}


.system-logo img {

    width: 38px;
    height: 38px;

    display: block;

    object-fit: contain;

}


.system-brand strong {

    display: block;

    color: var(--text);

    font-size: 16px;

    line-height: 1;

}


.system-brand span {

    display: block;

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;

}


/* =========================================================
   HEADER RIGHT
   ========================================================= */

.header-right {

    display: flex;

    align-items: center;

    gap: 24px;

}


.system-header .alpha-status {

    margin: 0;

}


/* =========================================================
   USER PROFILE
   ========================================================= */

.user-profile {

    display: flex;

    align-items: center;

    gap: 9px;

    padding-left: 18px;

    border-left: 1px solid var(--border);

}


.user-avatar {

    width: 34px;
    height: 34px;

    display: block;

    object-fit: cover;

    border: 1px solid var(--border);

    border-radius: 50%;

}


.user-info {

    display: flex;

    flex-direction: column;

    min-width: 0;

}


.user-name {

    max-width: 150px;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;

    color: #ffffff;

    font-size: 12px;

    font-weight: 650;

}


.user-id {

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   SYSTEM LAYOUT
   ========================================================= */

.system-layout {

    display: flex;

    min-height: calc(100vh - 72px);

    background: transparent;

}


/* =========================================================
   SIDEBAR
   ========================================================= */

.sidebar {

    width: 230px;

    flex-shrink: 0;

    padding: 28px 14px;

    border-right: 1px solid var(--border);

    background: #000000;

}


.sidebar-title {

    padding: 0 12px;

    margin-bottom: 10px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.4px;

}


.sidebar-item {

    display: flex;

    align-items: center;

    gap: 10px;

    width: 100%;

    min-height: 42px;

    padding: 0 12px;

    border: 1px solid transparent;

    border-radius: 5px;

    color: var(--muted);

    font-size: 13px;

    font-weight: 600;

    transition:
        background 0.18s ease,
        border-color 0.18s ease,
        color 0.18s ease;

}


.sidebar-item + .sidebar-item {

    margin-top: 3px;

}


.sidebar-item:hover {

    background: var(--surface);

    border-color: var(--border);

    color: var(--text);

}


.sidebar-item.active {

    background: var(--surface-active);

    border-color: var(--border);

    color: #ffffff;

}


.sidebar-icon {

    width: 17px;

    flex-shrink: 0;

    text-align: center;

    font-size: 13px;

    opacity: 0.85;

}


/* =========================================================
   SYSTEM CONTENT
   ========================================================= */

.system-content {

    flex: 1;

    width: auto;

    min-width: 0;

    padding: 55px 42px;

    background: transparent;

}


/* =========================================================
   WELCOME CARD
   ========================================================= */

.welcome-card {

    width: 100%;

    max-width: 1100px;

    padding: 36px;

    border: 1px solid var(--border);

    border-radius: 6px;

    background: #030303;

}


.welcome-label {

    margin-bottom: 12px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 1.5px;

}


.welcome-card h1 {

    margin: 0;

    color: var(--text);

    font-size: 32px;

    font-weight: 750;

    letter-spacing: -0.7px;

}


.welcome-card h1 span {

    color: #ffffff;

}


.welcome-card p {

    margin: 12px 0 0;

    color: var(--muted);

    font-size: 14px;

    line-height: 1.6;

}


/* =========================================================
   REPORTS PAGE
   ========================================================= */

.reports-page {

    padding-top: 45px;

    background: transparent;

}


/* =========================================================
   REPORTS HEADER
   ========================================================= */

.page-heading h1 {

    margin: 0;

    color: var(--text);

    font-size: 30px;

    font-weight: 750;

    letter-spacing: -0.6px;

}


.page-heading p {

    margin: 9px 0 0;

    color: var(--muted);

    font-size: 13px;

}


/* =========================================================
   REPORTS TOOLBAR
   ========================================================= */

.reports-toolbar {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-top: 30px;

    margin-bottom: 14px;

}


.filter-button {

    height: 38px;

    padding: 0 13px;

    border: 1px solid var(--border);

    border-radius: 5px;

    background: #030303;

    color: var(--text);

    font-family: inherit;

    font-size: 12px;

    cursor: pointer;

    transition:
        background 0.18s ease,
        border-color 0.18s ease;

}


.filter-button:hover {

    background: var(--surface);

    border-color: var(--border-hover);

}


.filter-button span {

    margin-left: 8px;

    color: var(--muted);

}


/* =========================================================
   REPORT SEARCH
   ========================================================= */

.reports-search {

    height: 38px;

    min-width: 220px;

    margin-left: auto;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 12px;

    border: 1px solid var(--border);

    border-radius: 5px;

    background: #030303;

}


.reports-search span {

    color: var(--muted);

    font-size: 17px;

}


.reports-search input {

    width: 100%;

    border: none;

    outline: none;

    background: transparent;

    color: var(--text);

    font-family: inherit;

    font-size: 12px;

}


.reports-search input::placeholder {

    color: var(--muted-dark);

}


/* =========================================================
   REPORT LIST
   ========================================================= */

.reports-list {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


/* =========================================================
   REPORT CARD
   ========================================================= */

.report-card {

    display: flex;

    align-items: center;

    justify-content: space-between;

    min-height: 76px;

    padding: 15px 18px;

    border: 1px solid var(--border);

    border-radius: 5px;

    background: #030303;

    transition:
        background 0.18s ease,
        border-color 0.18s ease;

}


.report-card:hover {

    background: #080808;

    border-color: var(--border-hover);

}


/* =========================================================
   REPORT INFORMATION
   ========================================================= */

.report-channel {

    margin-bottom: 5px;

    color: var(--muted);

    font-size: 10px;

}


.report-title {

    color: #ffffff;

    font-size: 13px;

    font-weight: 700;

}


.report-author {

    margin-top: 4px;

    color: var(--muted-dark);

    font-size: 11px;

}


/* =========================================================
   REPORT META
   ========================================================= */

.report-meta {

    display: flex;

    align-items: flex-end;

    flex-direction: column;

    gap: 7px;

}


.report-status {

    padding: 4px 7px;

    border-radius: 4px;

    font-size: 10px;

    font-weight: 650;

}


.report-status.pending {

    background: rgba(220, 169, 79, 0.08);

    border: 1px solid rgba(220, 169, 79, 0.18);

    color: var(--warning);

}


.report-date {

    color: var(--muted-dark);

    font-size: 10px;

}


/* =========================================================
   HOME ICON
   ========================================================= */

.sidebar-icon.home-icon {

    position: relative;

    width: 20px;
    height: 20px;

    flex-shrink: 0;

    display: block;

}


.home-roof {

    position: absolute;

    width: 12px;
    height: 12px;

    left: 4px;
    top: 1px;

    border-left: 2px solid currentColor;

    border-top: 2px solid currentColor;

    transform: rotate(45deg);

    border-radius: 2px 0 0 0;

}


.home-body {

    position: absolute;

    width: 14px;
    height: 11px;

    left: 3px;
    bottom: 2px;

    border: 2px solid currentColor;

    border-top: none;

    border-radius: 0 0 2px 2px;

}


.home-door {

    position: absolute;

    width: 4px;
    height: 7px;

    left: 3px;
    bottom: 0;

    border: 2px solid currentColor;

    border-bottom: none;

    border-radius: 2px 2px 0 0;

}


/* =========================================================
   REPORTS ICON
   ========================================================= */

.reports-icon {

    position: relative;

    width: 18px;
    height: 18px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    gap: 3px;

}


.reports-icon span {

    display: block;

    width: 12px;
    height: 2px;

    margin-left: 3px;

    border-radius: 1px;

    background: currentColor;

}


.reports-icon span:nth-child(2) {

    width: 9px;

}


.reports-icon span:nth-child(3) {

    width: 11px;

}