/*
 Hive Sensium Admin
 Copyright (c) 2008-2026 Hive Solutions Lda.

 This file is part of Hive Sensium Admin.

 Hive Sensium Admin is free software: you can redistribute it and/or modify
 it under the terms of the Apache License as published by the Apache
 Foundation, either version 2.0 of the License, or (at your option) any
 later version.

 Hive Sensium Admin is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 Apache License for more details.

 You should have received a copy of the Apache License along with
 Hive Sensium Admin. If not, see <http://www.apache.org/licenses/>.
*/

:root {
    --bg: #f6f7fa;
    --card: #ffffff;
    --ink: #101828;
    --muted: #667085;
    --soft: #98a2b3;
    --line: #eef0f4;
    --primary: #111827;
    --primary-ink: #ffffff;
    --good: #12925d;
    --good-bg: #e7f6ee;
    --bad: #d92d20;
    --bad-bg: #fdeceb;
    --warn: #b54708;
    --warn-bg: #fdf1e2;
    --info: #175cd3;
    --info-bg: #e9f0fc;
    --muted-bg: #f2f4f7;
    --term: #111827;
    --term-line: rgba(255, 255, 255, 0.07);
    --term-ink: #e6e9f0;
    --term-muted: #8b93a7;
    --term-soft: #565f74;
    --term-out: #aab3c5;
    --term-good: #3ecf8e;
    --term-bad: #f97066;
    --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -16px rgba(16, 24, 40, 0.08);
    --sans: -apple-system, blinkmacsystemfont, "Segoe UI", helvetica, arial, sans-serif;
    --mono: "SF Mono", menlo, consolas, monospace;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    background: var(--bg);
}

body {
    color: var(--ink);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--ink);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

code {
    background: rgba(16, 24, 40, 0.05);
    border-radius: 6px;
    font-family: var(--mono);
    font-size: 0.85em;
    padding: 1px 6px;
}

h1 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

h2 {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.mono {
    font-family: var(--mono);
    font-size: 0.9em;
}

.muted {
    color: var(--muted);
}

.app {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    background: var(--card);
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    gap: 8px;
    height: 100vh;
    overflow-y: auto;
    padding: 24px 16px;
    position: sticky;
    top: 0px;
    width: 232px;
}

.brand {
    align-items: center;
    color: var(--ink);
    display: flex;
    font-size: 18px;
    font-weight: 700;
    gap: 10px;
    letter-spacing: -0.02em;
    padding: 0px 8px 16px 8px;
}

.brand:hover {
    text-decoration: none;
}

.brand-mark {
    align-items: center;
    background: var(--primary);
    border-radius: 9px;
    color: var(--primary-ink);
    display: inline-flex;
    height: 30px;
    justify-content: center;
    position: relative;
    width: 30px;
}

.brand-mark::after {
    background: var(--good);
    border: 2px solid var(--card);
    border-radius: 50%;
    content: "";
    height: 9px;
    position: absolute;
    right: -3px;
    top: -3px;
    width: 9px;
}

.brand-mark svg {
    height: 16px;
    width: 16px;
}

.menu-label {
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0px 12px;
    text-transform: uppercase;
}

.menu {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-item {
    align-items: center;
    background: none;
    border: none;
    border-radius: 10px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    gap: 10px;
    padding: 9px 12px;
    text-align: left;
    width: 100%;
}

.menu-item svg {
    color: var(--soft);
    height: 15px;
    width: 15px;
}

.menu-item:hover svg,
.menu-item.active svg {
    color: var(--ink);
}

.badge {
    background: #f04438;
    border-radius: 999px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.7;
    margin-left: auto;
    padding: 0px 7px;
}

.menu-item:hover {
    background: var(--bg);
    color: var(--ink);
    text-decoration: none;
}

.menu-item.active {
    background: var(--bg);
    color: var(--ink);
}

.sidebar-footer {
    border-top: 1px solid var(--line);
    margin-top: auto;
    padding-top: 12px;
}

.main {
    flex: 1;
    min-width: 0;
}

.main-inner {
    margin: 0px auto;
    max-width: 1024px;
    padding: 40px 40px 24px 40px;
}

.page-head {
    margin-bottom: 28px;
}

.page-head-row {
    align-items: center;
    display: flex;
    gap: 16px;
    justify-content: space-between;
}

.page-head-actions {
    align-items: center;
    display: flex;
    gap: 12px;
}

.page-sub {
    color: var(--muted);
    font-size: 14px;
    margin-top: 4px;
}

.breadcrumb {
    font-size: 13.5px;
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--muted);
}

.breadcrumb a:hover {
    color: var(--ink);
}

.tiles {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin-bottom: 24px;
}

.tile {
    align-items: flex-start;
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 14px;
    padding: 20px 22px;
}

.tile-icon {
    align-items: center;
    background: var(--bg);
    border-radius: 50%;
    color: var(--ink);
    display: inline-flex;
    flex-shrink: 0;
    height: 44px;
    justify-content: center;
    width: 44px;
}

.tile-icon svg {
    height: 18px;
    width: 18px;
}

.tile-icon-good {
    background: var(--good-bg);
    color: var(--good);
}

.tile-icon-bad {
    background: var(--bad-bg);
    color: var(--bad);
}

.tile-icon-warn {
    background: var(--warn-bg);
    color: var(--warn);
}

.tile-label {
    color: var(--muted);
    font-size: 13px;
}

.tile-value {
    align-items: baseline;
    display: flex;
    font-size: 28px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    gap: 8px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.tile-note {
    color: var(--soft);
    font-size: 12px;
}

.delta {
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0em;
    padding: 1px 8px;
}

.delta-good {
    background: var(--good-bg);
    color: var(--good);
}

.delta-bad {
    background: var(--bad-bg);
    color: var(--bad);
}

.date-chip {
    align-items: center;
    background: var(--card);
    border-radius: 12px;
    box-shadow: var(--shadow);
    color: var(--ink);
    display: inline-flex;
    font-size: 13.5px;
    font-weight: 500;
    gap: 8px;
    padding: 9px 14px;
    white-space: nowrap;
}

.date-chip svg {
    color: var(--muted);
    height: 15px;
    width: 15px;
}

.search {
    position: relative;
}

.search svg {
    color: var(--soft);
    height: 15px;
    left: 12px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 15px;
}

.search input {
    background: var(--bg);
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 13.5px;
    padding: 7px 12px 7px 34px;
    width: 200px;
}

.search input:focus {
    background: var(--card);
    border-color: var(--line);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.05);
    outline: none;
}

.card {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    margin-bottom: 24px;
    padding: 22px 26px;
}

.card-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
}

.table-wrap {
    margin: 0px -16px;
    overflow-x: auto;
}

.listing {
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
    width: 100%;
}

.listing th {
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
    padding: 8px 16px;
    text-align: left;
    white-space: nowrap;
}

.listing td {
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    vertical-align: middle;
}

.listing tbody tr:last-child td {
    border-bottom: none;
}

.listing tbody tr:hover td {
    background: #f8fafc;
}

.pill {
    border-radius: 999px;
    display: inline-block;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.6;
    padding: 2px 10px;
    white-space: nowrap;
}

.pill::before {
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 6px;
    margin-bottom: 1px;
    margin-right: 6px;
    width: 6px;
}

.pill-online,
.pill-operational,
.pill-completed {
    background: var(--good-bg);
    color: var(--good);
}

.pill-online::before,
.pill-operational::before,
.pill-completed::before {
    background: var(--good);
}

.pill-offline,
.pill-down,
.pill-failed {
    background: var(--bad-bg);
    color: var(--bad);
}

.pill-offline::before,
.pill-down::before,
.pill-failed::before {
    background: var(--bad);
}

.pill-pending,
.pill-degraded {
    background: var(--warn-bg);
    color: var(--warn);
}

.pill-pending::before,
.pill-degraded::before {
    background: var(--warn);
}

.pill-delivered {
    background: var(--info-bg);
    color: var(--info);
}

.pill-delivered::before {
    background: var(--info);
}

.pill-canceled {
    background: var(--muted-bg);
    color: var(--muted);
}

.pill-canceled::before {
    background: var(--muted);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.tag {
    background: var(--muted-bg);
    border-radius: 999px;
    color: var(--muted);
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.6;
    padding: 2px 10px;
    white-space: nowrap;
}

.details {
    display: grid;
    gap: 16px 32px;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.details dt {
    color: var(--muted);
    font-size: 12.5px;
}

.details dd {
    font-size: 15px;
    font-weight: 500;
}

.status-hero {
    align-items: center;
    display: flex;
    gap: 20px;
    padding: 28px 30px;
}

.status-hero h1 {
    font-size: 24px;
}

.status-orb {
    border-radius: 50%;
    flex-shrink: 0;
    height: 16px;
    position: relative;
    width: 16px;
}

.status-orb::after {
    animation: status-pulse 2.4s ease-out infinite;
    border-radius: 50%;
    content: "";
    inset: 0;
    position: absolute;
}

.status-orb-operational,
.status-orb-operational::after {
    background: var(--good);
}

.status-orb-degraded,
.status-orb-degraded::after {
    background: var(--warn);
}

.status-orb-down,
.status-orb-down::after {
    background: var(--bad);
}

@keyframes status-pulse {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    70% {
        opacity: 0;
        transform: scale(2.6);
    }

    100% {
        opacity: 0;
        transform: scale(2.6);
    }
}

.status-list {
    list-style: none;
}

.status-row {
    align-items: center;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 4px;
}

.status-row:last-child {
    border-bottom: none;
}

.status-name {
    font-size: 14.5px;
    font-weight: 500;
}

.status-note {
    color: var(--muted);
    font-size: 12.5px;
}

.empty {
    padding: 32px 24px;
    text-align: center;
}

.code {
    background: var(--bg);
    border-radius: 12px;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.5;
    overflow-x: auto;
    padding: 16px;
}

.terminal {
    background: var(--term);
    border-radius: 18px;
    box-shadow: var(--shadow);
    color: var(--term-ink);
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 24px;
    overflow: hidden;
}

.terminal-head {
    align-items: center;
    border-bottom: 1px solid var(--term-line);
    color: var(--term-muted);
    display: flex;
    font-size: 12.5px;
    gap: 16px;
    justify-content: space-between;
    padding: 12px 20px;
}

.terminal-status {
    align-items: center;
    display: inline-flex;
    gap: 7px;
    white-space: nowrap;
}

.terminal-status::before {
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
}

.terminal-status-online {
    color: var(--term-good);
}

.terminal-status-online::before {
    background: var(--term-good);
}

.terminal-status-offline {
    color: var(--term-bad);
}

.terminal-status-offline::before {
    background: var(--term-bad);
}

.terminal-body {
    max-height: 480px;
    overflow-y: auto;
    padding: 18px 20px;
}

.terminal-entry {
    margin-bottom: 14px;
}

.terminal-line {
    display: flex;
    gap: 10px;
}

.terminal-prompt {
    color: var(--term-good);
    flex-shrink: 0;
    user-select: none;
}

.terminal-prompt.continuation {
    color: var(--term-soft);
}

.terminal-code {
    color: var(--term-ink);
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-stamp {
    color: var(--term-soft);
    flex-shrink: 0;
    font-size: 11px;
    margin-left: auto;
    padding-left: 16px;
}

.terminal-output {
    color: var(--term-out);
    margin: 2px 0px 0px 30px;
    white-space: pre-wrap;
    word-break: break-word;
}

.terminal-output.error {
    color: var(--term-bad);
}

.terminal-running {
    align-items: center;
    color: var(--term-muted);
    display: inline-flex;
    font-size: 12px;
    gap: 8px;
    margin: 2px 0px 0px 30px;
}

.terminal-running::before {
    animation: terminal-pulse 1.2s ease-in-out infinite;
    background: var(--term-muted);
    border-radius: 50%;
    content: "";
    display: inline-block;
    height: 6px;
    width: 6px;
}

@keyframes terminal-pulse {
    0%, 100% {
        opacity: 0.25;
    }

    50% {
        opacity: 1;
    }
}

.terminal-input {
    display: flex;
    gap: 10px;
}

.terminal-input textarea {
    background: transparent;
    border: none;
    color: var(--term-ink);
    flex: 1;
    font-family: var(--mono);
    font-size: 13px;
    line-height: 1.7;
    outline: none;
    overflow: hidden;
    padding: 0px;
    resize: none;
}

@media (prefers-reduced-motion: reduce) {
    .modal-overlay,
    .modal,
    .terminal-running::before {
        animation: none;
    }
}

.terminal-foot {
    border-top: 1px solid var(--term-line);
    color: var(--term-soft);
    display: flex;
    font-size: 11.5px;
    gap: 14px;
    padding: 10px 20px;
}

.terminal-foot .right {
    margin-left: auto;
}

.terminal-foot kbd {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    color: var(--term-muted);
    font-family: var(--mono);
    font-size: 10.5px;
    padding: 1px 6px;
}

.form {
    max-width: 460px;
}

.form .input {
    margin-bottom: 18px;
}

.form label {
    color: var(--ink);
    display: block;
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 6px;
}

.form input,
.form select,
.form textarea {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14.5px;
    padding: 10px 14px;
    width: 100%;
}

.form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 6l4.5 4.5 4.5-4.5' fill='none' stroke='%23667085' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 12px;
    cursor: pointer;
    padding-right: 40px;
    -webkit-appearance: none;
}

.form textarea {
    font-family: var(--mono);
    font-size: 13px;
}

.form input[type="checkbox"] {
    accent-color: var(--primary);
    height: 15px;
    margin-right: 8px;
    padding: 0px;
    vertical-align: -2px;
    width: 15px;
}

.form .input-check label {
    display: inline;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
    outline: none;
}

.form .hint {
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 12px;
}

.button {
    background: var(--primary);
    border: none;
    border-radius: 10px;
    color: var(--primary-ink);
    cursor: pointer;
    display: inline-block;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    padding: 9px 18px;
}

.button:hover {
    opacity: 0.9;
    text-decoration: none;
}

.button:focus-visible {
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.16);
    outline: none;
}

.button-full {
    width: 100%;
}

.button-small {
    font-size: 13px;
    padding: 6px 12px;
}

.button-ghost {
    background: var(--card);
    border: 1px solid var(--line);
    color: var(--ink);
}

.button-ghost:hover {
    background: var(--bg);
    opacity: 1;
}

.button-danger {
    background: var(--bad);
}

.button-danger:focus-visible {
    box-shadow: 0 0 0 4px rgba(217, 45, 32, 0.24);
}

.button-ghost-danger {
    align-items: center;
    color: var(--bad);
    display: inline-flex;
    gap: 8px;
}

.button-ghost-danger svg {
    height: 15px;
    width: 15px;
}

.button-ghost-danger:hover {
    background: var(--bad-bg);
    border-color: transparent;
}

.error {
    background: var(--bad-bg);
    border-radius: 10px;
    color: var(--bad);
    font-size: 14px;
    margin-bottom: 18px;
    padding: 10px 14px;
}

.success {
    background: var(--good-bg);
    border-radius: 10px;
    color: var(--good);
    font-size: 14px;
    margin-bottom: 18px;
    padding: 10px 14px;
}

.form-wide {
    max-width: none;
}

.form .buttons {
    align-items: center;
    display: flex;
    gap: 10px;
}

.inline-form {
    display: inline-block;
    margin-left: 10px;
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    align-items: center;
    display: inline-flex;
    gap: 6px;
}

.dropdown-chevron {
    height: 14px;
    transition: transform 0.12s ease-out;
    width: 14px;
}

.dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    animation: dropdown-in 0.12s ease-out;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 180px;
    padding: 6px;
    position: absolute;
    right: 0px;
    top: calc(100% + 6px);
    z-index: 20;
}

.dropdown-menu.hidden {
    display: none;
}

@keyframes dropdown-in {
    0% {
        opacity: 0;
        transform: translateY(-4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.dropdown-item {
    align-items: center;
    background: none;
    border: none;
    border-radius: 8px;
    color: var(--ink);
    cursor: pointer;
    display: flex;
    font-family: var(--sans);
    font-size: 13.5px;
    font-weight: 500;
    gap: 10px;
    padding: 8px 12px;
    text-align: left;
    white-space: nowrap;
    width: 100%;
}

.dropdown-item svg {
    color: var(--soft);
    flex-shrink: 0;
    height: 15px;
    width: 15px;
}

.dropdown-item:hover {
    background: var(--bg);
    text-decoration: none;
}

.dropdown-item:hover svg {
    color: var(--ink);
}

.dropdown-item:focus-visible {
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
    outline: none;
}

.dropdown-item-danger,
.dropdown-item-danger svg {
    color: var(--bad);
}

.dropdown-item-danger:hover {
    background: var(--bad-bg);
}

.dropdown-item-danger:hover svg {
    color: var(--bad);
}

.dropdown-divider {
    background: var(--line);
    border: none;
    height: 1px;
    margin: 4px 0px;
}

.modal-overlay {
    align-items: center;
    animation: overlay-in 0.24s ease-out;
    background: rgba(16, 24, 40, 0.48);
    display: flex;
    inset: 0;
    justify-content: center;
    padding: 24px;
    position: fixed;
    z-index: 100;
}

.modal-overlay.hidden {
    display: none;
}

.modal {
    animation: modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    background: var(--card);
    border-radius: 18px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.08), 0 24px 64px -12px rgba(16, 24, 40, 0.32);
    max-width: 420px;
    padding: 28px 30px;
    width: 100%;
}

@keyframes overlay-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes modal-in {
    0% {
        opacity: 0;
        transform: translateY(32px);
    }

    100% {
        opacity: 1;
        transform: translateY(0px);
    }
}

.modal-overlay.closing {
    animation: overlay-out 0.18s ease-in forwards;
}

.modal-overlay.closing .modal {
    animation: modal-out 0.25s cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
}

@keyframes overlay-out {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes modal-out {
    0% {
        opacity: 1;
        transform: translateY(0px);
    }

    100% {
        opacity: 0;
        transform: translateY(32px);
    }
}

.modal-icon {
    align-items: center;
    background: var(--bad-bg);
    border-radius: 50%;
    color: var(--bad);
    display: inline-flex;
    float: right;
    height: 44px;
    justify-content: center;
    margin-left: 16px;
    width: 44px;
}

.modal-icon-neutral {
    background: var(--bg);
    color: var(--ink);
}

.modal-icon svg {
    height: 18px;
    width: 18px;
}

.modal h2 {
    font-size: 17px;
    margin-bottom: 6px;
}

.modal-text {
    color: var(--muted);
    font-size: 14px;
}

.modal-text strong {
    color: var(--ink);
    font-weight: 600;
}

.modal-hint {
    background: var(--bg);
    border-radius: 10px;
    color: var(--muted);
    font-size: 12.5px;
    margin-top: 14px;
    padding: 10px 14px;
}

.modal-label {
    color: var(--muted);
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    margin-top: 14px;
}

.modal-input {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    font-family: var(--sans);
    font-size: 14.5px;
    margin-top: 14px;
    padding: 10px 14px;
    width: 100%;
}

.modal-label + .modal-input {
    margin-top: 6px;
}

.modal-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(17, 24, 39, 0.08);
    outline: none;
}

.modal-buttons {
    clear: both;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

.login-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: 80vh;
}

.login-card {
    max-width: 400px;
    padding: 32px;
    text-align: center;
    width: 100%;
}

.login-card h1 {
    margin-top: 16px;
}

.login-card .page-sub {
    margin-bottom: 24px;
}

.login-card .form {
    max-width: none;
    text-align: left;
}

.brand-center {
    justify-content: center;
    padding: 0px;
}

@media (max-width: 860px) {
    .app {
        flex-direction: column;
    }

    .sidebar {
        border-bottom: 1px solid var(--line);
        border-right: none;
        flex-direction: row;
        flex-wrap: wrap;
        height: auto;
        overflow-y: visible;
        position: static;
        width: 100%;
    }

    .menu {
        flex-direction: row;
    }

    .menu-item {
        width: auto;
    }

    .menu-label {
        display: none;
    }

    .sidebar-footer {
        border-top: none;
        margin-left: auto;
        margin-top: 0px;
        padding-top: 0px;
    }

    .main-inner {
        padding: 24px 20px;
    }
}
