/* VersalAI — Global styles (Tailwind handles most of the styling) */

/* Blazor error boundary */
.blazor-error-boundary {
    background: #b32121;
    padding: 1rem 1rem 1rem 1.5rem;
    color: white;
    border-radius: 0.5rem;
    margin: 1rem;
}

.blazor-error-boundary::after {
    content: "Ha ocurrido un error inesperado.";
}

#blazor-error-ui {
    color-scheme: light only;
    background: #fef3c7;
    border-top: 2px solid #f59e0b;
    bottom: 0;
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* Toast fade-in animation */
.animate-fade-in {
    animation: fadeIn 0.25s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Hide action buttons during export capture and printing */
.versal-exporting [data-no-print] { display: none !important; }

@media print {
    [data-no-print] { display: none !important; }
}
