:root {
    color-scheme: dark;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #020617;
}

.text-gradient {
    background-image: linear-gradient(135deg, #67e8f9 0%, #a78bfa 55%, #f0abfc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.page-fade-in {
    animation: eno-fade-in 0.42s ease-out both;
}

@keyframes eno-fade-in {
    from {
        opacity: 0;
        transform: translateY(0.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::selection {
    background: rgba(34, 211, 238, 0.28);
    color: #ffffff;
}

::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

::-webkit-scrollbar-track {
    background: rgba(2, 6, 23, 0.88);
}

::-webkit-scrollbar-thumb {
    border: 2px solid rgba(2, 6, 23, 0.92);
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(34, 211, 238, 0.88), rgba(99, 102, 241, 0.88));
}

.eno-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.88), rgba(2, 6, 23, 0.9)),
        radial-gradient(circle at top right, rgba(34, 211, 238, 0.08), transparent 32%);
    box-shadow:
        0 24px 80px rgba(2, 6, 23, 0.48),
        inset 0 1px 0 rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(18px);
}

.eno-panel::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 1px;
    background: linear-gradient(90deg, rgba(34, 211, 238, 0), rgba(34, 211, 238, 0.6), rgba(168, 85, 247, 0.5), rgba(34, 211, 238, 0));
}

.eno-panel-muted {
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.76), rgba(2, 6, 23, 0.82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.eno-metric {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.92), rgba(2, 6, 23, 0.9));
    box-shadow:
        0 18px 42px rgba(2, 6, 23, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.eno-metric:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.24);
    box-shadow:
        0 24px 50px rgba(2, 6, 23, 0.42),
        0 0 0 1px rgba(34, 211, 238, 0.08);
}

.eno-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border: 1px solid rgba(34, 211, 238, 0.24);
    background: rgba(8, 47, 73, 0.48);
    color: #a5f3fc;
    padding: 0.58rem 0.95rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.eno-badge::before {
    content: '';
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: radial-gradient(circle at 30% 30%, #ffffff, #22d3ee 50%, #0f766e 100%);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.eno-btn {
    background: linear-gradient(135deg, #22d3ee 0%, #38bdf8 45%, #818cf8 100%);
    color: #020617;
    box-shadow: 0 16px 35px rgba(56, 189, 248, 0.26);
    transition:
        transform 180ms ease,
        filter 180ms ease,
        box-shadow 180ms ease;
}

.eno-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
    box-shadow: 0 20px 40px rgba(56, 189, 248, 0.34);
}

.shadow-glow-lg {
    box-shadow: 0 25px 80px rgba(34, 211, 238, 0.22);
}

.eno-btn-secondary {
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.72);
    color: #e2e8f0;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        background-color 180ms ease;
}

.eno-btn-secondary:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.28);
    background: rgba(15, 23, 42, 0.94);
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.42);
    padding: 0.72rem 1rem;
    color: #cbd5e1;
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        color 180ms ease,
        background-color 180ms ease;
}

.nav-pill:hover {
    transform: translateY(-1px);
    border-color: rgba(34, 211, 238, 0.24);
    background: rgba(8, 47, 73, 0.44);
    color: #f8fafc;
}

.nav-pill-active {
    border-color: rgba(34, 211, 238, 0.34);
    background: linear-gradient(135deg, rgba(8, 47, 73, 0.82), rgba(30, 41, 59, 0.86));
    color: #f8fafc;
    box-shadow: 0 12px 30px rgba(6, 182, 212, 0.16);
}

.eno-label {
    display: block;
    margin-bottom: 0.65rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 500;
}

.eno-input,
.eno-textarea,
.eno-select {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(71, 85, 105, 0.72);
    background: rgba(2, 6, 23, 0.72);
    padding: 0.95rem 1rem;
    color: #ffffff;
    outline: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease,
        background-color 180ms ease;
}

.eno-input:focus,
.eno-textarea:focus,
.eno-select:focus {
    border-color: rgba(34, 211, 238, 0.8);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.12);
}

.eno-input:disabled {
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.82);
    color: #94a3b8;
}

.eno-textarea {
    min-height: 9rem;
    resize: vertical;
}

.line-clamp-1,
.line-clamp-3 {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.line-clamp-1 {
    -webkit-line-clamp: 1;
}

.line-clamp-3 {
    -webkit-line-clamp: 3;
}

.eno-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(148, 163, 184, 0), rgba(148, 163, 184, 0.24), rgba(148, 163, 184, 0));
}

.eno-card-link {
    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.eno-card-link:hover {
    transform: translateY(-2px);
    border-color: rgba(34, 211, 238, 0.22);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.36);
}

.eno-thread-message {
    position: relative;
    overflow: hidden;
    border-radius: 1.6rem;
    border: 1px solid rgba(148, 163, 184, 0.14);
    padding: 1.25rem;
}

.eno-thread-message--staff {
    border-color: rgba(34, 211, 238, 0.22);
    background: linear-gradient(180deg, rgba(8, 47, 73, 0.76), rgba(15, 23, 42, 0.92));
}

.eno-thread-message--client {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.7), rgba(2, 6, 23, 0.92));
}

.prose {
    color: #cbd5e1;
}

.prose p {
    margin: 0;
}

.prose-invert {
    color: #cbd5e1;
}

.eno-support-list li {
    position: relative;
    padding-left: 1.1rem;
}

.eno-support-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.58rem;
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #22d3ee, #818cf8);
    box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.1);
}

.eno-muted-box {
    border: 1px solid rgba(148, 163, 184, 0.12);
    background: rgba(15, 23, 42, 0.46);
}

.eno-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    background: rgba(15, 23, 42, 0.64);
    padding: 0.45rem 0.8rem;
    font-size: 0.78rem;
    color: #cbd5e1;
}

.eno-status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.16);
    padding: 0.45rem 0.8rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
}

.eno-status-open,
.eno-status-new,
.eno-status-in_progress {
    border-color: rgba(34, 211, 238, 0.24);
    background: rgba(8, 47, 73, 0.45);
    color: #a5f3fc;
}

.eno-status-pending {
    border-color: rgba(251, 191, 36, 0.24);
    background: rgba(120, 53, 15, 0.4);
    color: #fde68a;
}

.eno-status-done,
.eno-status-closed,
.eno-status-resolved {
    border-color: rgba(74, 222, 128, 0.24);
    background: rgba(20, 83, 45, 0.42);
    color: #bbf7d0;
}

.eno-priority-low {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(30, 41, 59, 0.72);
    color: #cbd5e1;
}

.eno-priority-normal {
    border-color: rgba(59, 130, 246, 0.22);
    background: rgba(30, 58, 138, 0.35);
    color: #bfdbfe;
}

.eno-priority-high {
    border-color: rgba(249, 115, 22, 0.22);
    background: rgba(124, 45, 18, 0.35);
    color: #fdba74;
}

.eno-priority-urgent {
    border-color: rgba(244, 63, 94, 0.24);
    background: rgba(136, 19, 55, 0.4);
    color: #fda4af;
}

.animate-in.fade-in.slide-in-from-top-2 {
    animation: eno-slide-fade-in 0.32s ease-out both;
}

@keyframes eno-slide-fade-in {
    from {
        opacity: 0;
        transform: translateY(-0.5rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 767px) {
    .nav-pill {
        width: 100%;
        justify-content: flex-start;
    }

    .eno-panel,
    .eno-metric {
        border-radius: 1.5rem;
    }
}