/* --- ESTILOS GLOBALES Y TIPOGRAFÍA --- */
html, body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

body {
    background-color: #f0f2f5;
    min-height: 100vh;
}

/* --- ESTILOS DE LA PÁGINA DE INICIO (HOME) --- */
.bg-gradient-animated {
    background-color: #4e73df;
    /* Gradiente y animación */
    background: linear-gradient(-45deg, #4e73df, #1cc88a, #36b9cc, #f6c23e);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    color: white;
}

@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hover-card {
    transition: transform 0.3s, box-shadow 0.3s;
}

    .hover-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }

.feature-icon-small i {
    transition: transform 0.3s;
}

.feature-icon-small:hover i {
    transform: scale(1.2) rotate(15deg);
}

/* --- ESTILOS GENERALES DE BOOTSTRAP Y VALIDACIÓN --- */
a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.validation-message {
    color: #e50000;
}

/* --- INTERFAZ DE ERROR DE BLAZOR --- */
#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    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;
    }

    #blazor-error-ui.show {
        display: block;
    }

/* --- ESTILOS PARA EL FOOTER --- */
footer a.text-reset {
    text-decoration: none;
    transition: color 0.2s;
}

    footer a.text-reset:hover {
        text-decoration: underline;
        color: #adb5bd !important; 
    }
