/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
.turbo-progress-bar {
    visibility: hidden;
}

.modal-enter {
    transform: scale(0.8);
    opacity: 0;
    background: #ced0d1;
}

.modal-show {
    transform: scale(1);
    opacity: 1;
    transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.modal-leave {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.2s ease-in, opacity 0.2s ease-in;
}
.overlay-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
}

.overlay-visible {
    opacity: 1;
    pointer-events: auto;
    transition: opacity 0.3s ease-in;
}

/*Animación turbo*/

.animate-fade {
    animation: fade 0.3s ease-out;
}

.flash-border {
    position: relative;
}

.flash-border::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border: 2px solid #22c55e;
    border-radius: 6px;
    box-shadow: 0 0 8px 2px #22c55e60;
    background: rgba(34, 197, 94, 0.15);
    animation: border-fade 20s linear forwards;
}

@keyframes border-fade {
    0%   { opacity: 1; }
    100% { opacity: 0; }
}

.contenedor {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}