/* Glass panels */
.glass-panel {
    background-color: rgba(30, 41, 59, 0.7);
    /* slate-800 with opacity */
    border: 1px solid #334155;
    border-radius: 0.75rem;
    /* 12px */
}

/* Nav Buttons */
.nav-btn {
    width: 100%;
    text-align: left;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #94a3b8;
    /* slate-400 */
    transition: all 0.2s;
}

.nav-btn:hover {
    background-color: rgba(51, 65, 85, 0.5);
    /* border color with opacity */
    color: #f8fafc;
}

.nav-btn.active {
    background-color: #3b82f6;
    /* primary */
    color: #ffffff;
    box-shadow: 0 4px 14px 0 rgba(59, 130, 246, 0.39);
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #334155;
    border-radius: 2px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Base resets */
input:focus,
select:focus {
    box-shadow: 0 0 0 1px #3b82f6 !important;
}

.pt-safe {
    padding-top: env(safe-area-inset-top);
}

/* Transitions */
#output-container>div {
    transition: opacity 0.3s ease;
}

/* Table styling */
td {
    word-break: break-all;
}

tr:hover td {
    background-color: rgba(255, 255, 255, 0.02);
}

/* Loader */
.loader {
    border-top-color: transparent;
}