body {
    background-color: #f1f3f4;
}

.dashboard-shell {
    background:
        radial-gradient(circle at top, rgba(66, 133, 244, 0.16), transparent 26%),
        linear-gradient(180deg, #050505 0%, #0b0b0b 55%, #101214 100%);
}

.dashboard-sidebar {
    border-right: 1px solid var(--dashboard-border);
    background: var(--dashboard-rail);
    backdrop-filter: blur(18px);
    box-shadow: var(--dashboard-shadow);
}

.dashboard-nav-link {
    color: var(--dashboard-text-muted);
    transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.dashboard-nav-icon {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dashboard-text-muted);
    transition: background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.dashboard-nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--dashboard-text);
    transform: translateX(2px);
}

.dashboard-nav-link:hover .dashboard-nav-icon {
    background: rgba(255, 255, 255, 0.1);
    color: var(--dashboard-text);
}

.dashboard-nav-link-active {
    background: rgba(138, 180, 248, 0.12);
    color: var(--dashboard-text);
    box-shadow: inset 0 0 0 1px rgba(138, 180, 248, 0.18);
}

.dashboard-nav-link-active:hover {
    background: rgba(138, 180, 248, 0.16);
    transform: none;
}

.dashboard-nav-link-active .dashboard-nav-icon,
.dashboard-nav-icon-active {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.95), rgba(32, 99, 214, 0.96));
    color: #ffffff;
    box-shadow: 0 12px 28px rgba(66, 133, 244, 0.24);
}

.dashboard-nav-sublink {
    color: var(--dashboard-text-muted);
    transition: background-color 160ms ease, color 160ms ease;
}

.dashboard-nav-sublink:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--dashboard-text);
}

.dashboard-nav-sublink-active {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dashboard-text);
}

.dashboard-nav-bullet {
    height: 8px;
    width: 8px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(163, 163, 163, 0.55);
}

.dashboard-nav-bullet-active {
    background: var(--dashboard-accent-strong);
    box-shadow: 0 0 0 4px rgba(66, 133, 244, 0.14);
}

.dashboard-page-sublink,
.dashboard-page-create {
    color: #8f8f8f;
    transition: background-color 160ms ease, color 160ms ease;
}

.dashboard-page-sublink:hover,
.dashboard-page-create:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--dashboard-text);
}

.dashboard-page-sublink-active {
    background: rgba(138, 180, 248, 0.1);
    color: var(--dashboard-text);
}

.dashboard-page-dot {
    height: 6px;
    width: 6px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.55);
}

.dashboard-page-dot-active,
.dashboard-page-dot-create {
    background: var(--dashboard-accent);
}

.dashboard-surface {
    border: 1px solid var(--dashboard-border);
    background: var(--dashboard-panel);
    box-shadow: var(--dashboard-shadow);
}

.dashboard-surface-muted {
    border: 1px solid var(--dashboard-border);
    background: var(--dashboard-panel-muted);
    box-shadow: var(--dashboard-shadow);
}

.dashboard-surface-strong {
    border: 1px solid var(--dashboard-border);
    background: linear-gradient(145deg, rgba(28, 28, 28, 0.97), rgba(8, 8, 8, 0.98));
    box-shadow: var(--dashboard-shadow);
}

.dashboard-panel-label {
    color: var(--dashboard-accent);
}

.dashboard-panel-title {
    color: var(--dashboard-text);
}

.dashboard-copy {
    color: var(--dashboard-text-muted);
}

.dashboard-table thead {
    border-bottom: 1px solid var(--dashboard-border);
    color: var(--dashboard-text-muted);
}

.dashboard-table tbody {
    color: var(--dashboard-text-muted);
}

.dashboard-table tbody tr {
    border-color: rgba(82, 82, 82, 0.35);
}

.dashboard-table-strong {
    color: var(--dashboard-text);
    font-weight: 600;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(138, 180, 248, 0.22);
    background: rgba(138, 180, 248, 0.12);
    color: #dbeafe;
}

.dashboard-btn-primary {
    background: var(--dashboard-accent-strong);
    color: #fff;
    box-shadow: 0 14px 36px rgba(66, 133, 244, 0.28);
}

.dashboard-btn-secondary {
    border: 1px solid var(--dashboard-border);
    background: var(--dashboard-panel-strong);
    color: var(--dashboard-text);
}

.dashboard-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dashboard-text);
}

.dashboard-btn-danger {
    background: rgba(220, 38, 38, 0.18);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.dashboard-btn-danger:hover {
    background: rgba(220, 38, 38, 0.26);
    color: #fee2e2;
}

.dashboard-alerts summary::-webkit-details-marker {
    display: none;
}

.dashboard-alert-trigger {
    transition: border-color 160ms ease, transform 160ms ease, background-color 160ms ease;
}

.dashboard-alert-trigger:hover {
    border-color: rgba(138, 180, 248, 0.3);
    transform: translateY(-1px);
}

.dashboard-alerts[open] .dashboard-alert-trigger {
    border-color: rgba(138, 180, 248, 0.35);
    background: rgba(24, 24, 24, 0.98);
}

.dashboard-alert-bell {
    background: rgba(255, 255, 255, 0.06);
    color: var(--dashboard-text);
}

.dashboard-alert-badge {
    background: var(--dashboard-accent-strong);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(66, 133, 244, 0.28);
}

.dashboard-alert-panel {
    backdrop-filter: blur(18px);
}

.dashboard-alert-card {
    border: 1px solid rgba(82, 82, 82, 0.4);
    background: rgba(24, 24, 24, 0.92);
}

.dashboard-alert-card-warning {
    border-color: rgba(245, 158, 11, 0.24);
    background: rgba(120, 53, 15, 0.16);
}

.dashboard-alert-card-danger {
    border-color: rgba(248, 113, 113, 0.24);
    background: rgba(127, 29, 29, 0.18);
}

.dashboard-alert-card-info {
    border-color: rgba(96, 165, 250, 0.24);
    background: rgba(30, 64, 175, 0.14);
}

.dashboard-alert-dot {
    height: 10px;
    width: 10px;
    flex: 0 0 auto;
    border-radius: 999px;
    background: var(--dashboard-accent);
    box-shadow: 0 0 0 4px rgba(138, 180, 248, 0.12);
}

.dashboard-alert-card-warning .dashboard-alert-dot {
    background: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.12);
}

.dashboard-alert-card-danger .dashboard-alert-dot {
    background: #f87171;
    box-shadow: 0 0 0 4px rgba(248, 113, 113, 0.12);
}

.dashboard-chip-blue {
    background: rgba(138, 180, 248, 0.14);
    color: #dbeafe;
}

.dashboard-chip-emerald {
    background: rgba(52, 211, 153, 0.14);
    color: #d1fae5;
}

.dashboard-chip-violet {
    background: rgba(167, 139, 250, 0.16);
    color: #ede9fe;
}

.dashboard-chip-amber {
    background: rgba(251, 191, 36, 0.16);
    color: #fef3c7;
}

.dashboard-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),
.dashboard-shell select,
.dashboard-shell textarea {
    border-color: rgba(82, 82, 82, 0.52) !important;
    background: rgba(15, 15, 15, 0.94) !important;
    color: var(--dashboard-text) !important;
    box-shadow: none !important;
}

.dashboard-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"])::placeholder,
.dashboard-shell textarea::placeholder {
    color: #737373 !important;
}

.dashboard-shell input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):focus,
.dashboard-shell select:focus,
.dashboard-shell textarea:focus {
    border-color: rgba(138, 180, 248, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.22) !important;
    outline: none !important;
}

.dashboard-shell option {
    background: #111;
    color: #f5f5f5;
}

.dashboard-editor {
    border: 1px solid var(--dashboard-border);
    background: rgba(10, 10, 10, 0.9);
}

.console-auth-shell {
    background:
        radial-gradient(circle at top left, rgba(66, 133, 244, 0.18), transparent 32%),
        radial-gradient(circle at bottom right, rgba(120, 120, 120, 0.14), transparent 28%),
        linear-gradient(180deg, #050505 0%, #0b0b0b 100%);
}

.console-auth-panel {
    border: 1px solid rgba(82, 82, 82, 0.42);
    background: rgba(14, 14, 14, 0.96);
    box-shadow: 0 32px 96px rgba(0, 0, 0, 0.46);
}

.console-auth-side {
    background: linear-gradient(145deg, rgba(66, 133, 244, 0.18), rgba(10, 10, 10, 0.98));
}

.console-auth-form {
    background: rgba(18, 18, 18, 0.98);
}

.console-auth-form input {
    border-color: rgba(82, 82, 82, 0.52) !important;
    background: rgba(7, 7, 7, 0.96) !important;
    color: #f5f5f5 !important;
    box-shadow: none !important;
}

.console-auth-form input::placeholder {
    color: #737373 !important;
}

.console-auth-form input:focus {
    border-color: rgba(138, 180, 248, 0.72) !important;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.22) !important;
    outline: none !important;
}

.prose a {
    color: #0284c7;
}

.prose img {
    border-radius: 1rem;
}
