/* Custom CSS for Calculadora de Materiales */

/* Custom scrollbars */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: #161b22;
    border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 4px;
}

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

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Thumbnail item hover */
.img-thumb-item {
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.img-thumb-item:hover {
    transform: scale(1.05);
}

/* Input number arrows hide */
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;
}

/* Highlight badge */
.badge-slot {
    background: #251b16;
    border: 1px solid #3d2d24;
}

/* Toast styling */
.toast-item {
    animation: fadeIn 0.2s ease-out;
}
