/* Base Stylings */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #1A0A0A;
    /* Deep dark reddish-black */
}

/* Glass UI Elements */
.glass-panel {
    background: rgba(38, 18, 18, 0.6);
    /* surface / 60% */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

/* Form Styles */
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23D63031' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem;
}

/* Scrollbar tweaks */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #3D1C1C;
    border-radius: 10px;
}

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

body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #1A0A0A;
}

body::-webkit-scrollbar-thumb {
    background: #3D1C1C;
    border-radius: 4px;
}

/* Tooltips */
.tooltip-trigger {
    cursor: help;
    border-bottom: 1px dotted rgba(154, 160, 166, 0.5);
    /* textMuted */
}

/* Asset List Items */
.asset-item {
    transition: all 0.2s ease;
}

.asset-item:hover {
    background-color: rgba(61, 28, 28, 0.5);
    /* border color */
}

/* Correlation Matrix Grid Elements */
.corr-cell {
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    border: 1px solid #3D1C1C;
    font-weight: 500;
}

.corr-header {
    width: 40px;
    height: 40px;
    text-align: center;
    vertical-align: middle;
    color: #9aa0a6;
    border: 1px solid #3D1C1C;
    background: rgba(38, 18, 18, 0.8);
}