* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


body {

    font-family: Arial, sans-serif;

    background: #070b12;

    color: white;

    min-height: 100vh;

}


.container {

    max-width: 1400px;

    margin: auto;

    padding: 35px;

}


/* HEADER */

header {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 35px;

}


header h1 {

    font-size: 34px;

}


header p {

    color: #8994a5;

    margin-top: 7px;

}


.online {

    color: #22c55e;

    font-size: 13px;

    font-weight: bold;

}


/* STATISTICS */

.stats {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 18px;

    margin-bottom: 25px;

}


.card {

    background: #101722;

    border: 1px solid #263142;

    border-radius: 14px;

    padding: 23px;

}


.card p {

    color: #8994a5;

    font-size: 13px;

}


.card h2 {

    margin-top: 12px;

    font-size: 30px;

}


/* DASHBOARD */

.dashboard {

    display: grid;

    grid-template-columns:
        2fr 1fr;

    gap: 20px;

}


/* PANEL */

.panel {

    background: #101722;

    border: 1px solid #263142;

    border-radius: 14px;

    padding: 22px;

}


.panel-title {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 22px;

}


.panel h2 {

    font-size: 19px;

}


.panel-title p,
.panel-description {

    color: #8994a5;

    font-size: 12px;

    margin-top: 6px;

}


/* BUTTON */

button {

    background: #2563eb;

    border: none;

    color: white;

    padding: 10px 15px;

    border-radius: 7px;

    cursor: pointer;

}


button:hover {

    background: #1d4ed8;

}


/* TABLE */

.table-wrapper {

    overflow-x: auto;

}


table {

    width: 100%;

    border-collapse: collapse;

}


th,
td {

    text-align: left;

    padding: 14px 8px;

    border-bottom:
        1px solid #263142;

}


th {

    color: #8994a5;

    font-size: 11px;

}


td {

    font-size: 12px;

}


/* THREAT BADGES */

.badge {

    padding: 5px 8px;

    border-radius: 12px;

    font-size: 10px;

}


.normal {

    color: #22c55e;

    background:
        rgba(34,197,94,.12);

}


.warning {

    color: #f59e0b;

    background:
        rgba(245,158,11,.12);

}


.critical {

    color: #ef4444;

    background:
        rgba(239,68,68,.12);

}


/* SETTINGS */

.setting {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 20px 0;

    border-bottom:
        1px solid #263142;

}


.setting strong {

    display: block;

    font-size: 13px;

}


.setting small {

    display: block;

    color: #8994a5;

    font-size: 10px;

    margin-top: 5px;

}


input[type="checkbox"] {

    width: 19px;

    height: 19px;

    cursor: pointer;

}


/* RESPONSIVE */

@media(max-width: 950px) {

    .stats {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .dashboard {

        grid-template-columns: 1fr;

    }

}


@media(max-width: 550px) {

    .container {

        padding: 18px;

    }


    .stats {

        grid-template-columns: 1fr;

    }


    header {

        flex-direction: column;

        align-items: flex-start;

        gap: 15px;

    }

}


.is-hidden {

    display: none !important;

}


/* AUTHENTICATION */

.auth-screen {

    min-height: 100vh;

    display: grid;

    place-items: center;

    padding: 24px;

    background:
        radial-gradient(circle at 15% 20%, rgba(37, 99, 235, .22), transparent 32%),
        radial-gradient(circle at 90% 80%, rgba(34, 197, 94, .10), transparent 28%),
        #070b12;

}


.auth-panel {

    width: min(100%, 430px);

    padding: 42px;

    background: rgba(16, 23, 34, .94);

    border: 1px solid #263142;

    border-radius: 14px;

    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);

}


.auth-mark {

    width: 42px;

    height: 42px;

    display: grid;

    place-items: center;

    margin-bottom: 28px;

    border-radius: 10px;

    background: #2563eb;

    font-weight: 800;

    letter-spacing: 1px;

}


.eyebrow {

    color: #60a5fa;

    font-size: 11px;

    font-weight: bold;

    letter-spacing: 1.5px;

}


.auth-panel h1 {

    margin-top: 10px;

    font-size: 36px;

}


.auth-copy {

    color: #8994a5;

    font-size: 14px;

    line-height: 1.6;

    margin-top: 12px;

}


.auth-form {

    display: grid;

    gap: 16px;

    margin-top: 30px;

}


.auth-form label {

    display: grid;

    gap: 8px;

    color: #cbd5e1;

    font-size: 12px;

    font-weight: bold;

}


.auth-form input {

    width: 100%;

    padding: 13px 14px;

    border: 1px solid #334155;

    border-radius: 7px;

    background: #0b111b;

    color: white;

    font: inherit;

    outline: none;

}


.auth-form input:focus {

    border-color: #60a5fa;

}


.auth-form button {

    width: 100%;

    margin-top: 4px;

    padding: 13px 15px;

    font-weight: bold;

}


.auth-form button:disabled {

    cursor: wait;

    opacity: .65;

}


.auth-message {

    min-height: 18px;

    margin-top: 18px;

    color: #fbbf24;

    font-size: 12px;

    line-height: 1.5;

}


.text-button {

    padding: 0;

    background: transparent;

    color: #60a5fa;

    font-size: 12px;

}


.text-button:hover {

    background: transparent;

    color: #93c5fd;

}


.account-actions {

    display: flex;

    align-items: center;

    gap: 15px;

}


.user-name {

    color: #cbd5e1;

    font-size: 12px;

}


.logout-button {

    padding: 8px 11px;

    border: 1px solid #334155;

    background: transparent;

    color: #cbd5e1;

    font-size: 12px;

}


.logout-button:hover {

    background: #1e293b;

}