/* Base Elements */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

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

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(139, 139, 167, 0.2);
    /* textMuted with opacity */
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 139, 167, 0.4);
}

/* Number Inputs: Hide spin buttons */
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;
    /* Firefox */
}

/* Glassmorphism Panels */
.glass-panel {
    background: rgba(26, 24, 49, 0.6);
    /* panel with opacity */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Form Inputs */
.custom-input,
.custom-select {
    background-color: #0D0B1E;
    /* bgd */
    border: 1px solid #2D2B4A;
    /* borderClr */
    color: #F8F8FF;
    /* textMain */
    padding: 0.5rem 0.75rem;
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.custom-input:focus,
.custom-select:focus {
    outline: none;
    border-color: #6C5CE7;
    /* primary */
    box-shadow: 0 0 0 1px #6C5CE7;
}

.custom-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%238B8BA7' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Action Buttons */
.action-btn:hover {
    background-color: rgba(45, 43, 74, 0.5);
    /* borderClr hover */
}

/* Toast Animation */
.toast-show {
    transform: translateY(0) translateX(-50%) !important;
    opacity: 1 !important;
}