/* This is a fix for Remixicon icons not displaying correctly with Tailwind's preflight */
:where([class^="ri-"])::before {
    content: "\f3c2";
}

.tab-indicator {
    transition: transform 0.2s ease;
}

.product-card {
    transition: all 0.2s ease;
}

.product-card.expanded {
    max-height: 800px;
}

.fade-in {
    animation: fadeIn 0.2s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.toast {
    animation: slideUp 0.2s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Hides the default file input but keeps it accessible */
input[type="file"] {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    cursor: pointer;
    left: 0;
    top: 0;
}