
html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.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;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#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-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5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pbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }

code {
    color: #c02d76;
}

/* ESTILOS PERSONALIZADOS */
body {
    height: 100%;
    margin: 0;
}

.separador {
    margin-top: 100px;
}

.centrarboton {
    width: 60%;
    margin-left: 50%;
}

/* HEADER
---------------------------------------------------*/
header {
    background-color: #000;
    min-height: 15vh;
    height: auto; /* clave para que crezca */
}

.form-control-dark {
    border-color: var(--bs-gray);
}

    .form-control-dark:focus {
        border-color: #fff;
        box-shadow: 0 0 0 .25rem rgba(255, 255, 255, .25);
    }

.text-small {
    font-size: 85%;
}

.dropdown-toggle {
    outline: 0;
}

.text-white:hover {
    color: #0c63e4 !important;
}

/* RESPONSIVE HEADER FIXED
---------------------------------------------------*/
@media (max-width: 768px) {
    header,
    .navbar {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 15px 10px;
    }

    .navbar-nav {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }

        .navbar-nav li {
            list-style: none;
            width: 100%;
            margin: 5px 0;
        }

            .navbar-nav li a {
                display: block;
                padding: 10px;
                width: 100%;
                text-align: center;
            }

            .navbar-nav li:last-child {
                margin-bottom: 15px !important;
            }

    .dropdown-menu {
        width: 100%;
        text-align: center;
        position: static !important;
        transform: none !important;
        display: block !important;
    }

    .collapse,
    .navbar-collapse {
        display: flex !important;
        flex-direction: column;
        width: 100%;
    }
}

/* VIDEO


/* CUSTOMIZE THE CAROUSEL
-------------------------------------------------- */

/* Carousel base class */
.carousel {
    margin-bottom: 4rem;
}

/* Since positioning the image, we need to help out the caption */
.carousel-caption {
    bottom: 3rem;
    z-index: 10;
}

/* Declare heights because of positioning of img element */
.carousel-item {
    height: 32rem;
}

/* MARKETING CONTENT
-------------------------------------------------- */

/* Center align the text within the three columns below the carousel */
.marketing .col-lg-4 {
    margin-top: 5rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

    /* rtl:begin:ignore */
    .marketing .col-lg-4 p {
        margin-right: .75rem;
        margin-left: .75rem;
    }

/* rtl:end:ignore */


/* Featurettes
------------------------- */

.featurette-divider {
    margin: 5rem 0;
    /* Space out the Bootstrap <hr> more */
}

/* Thin out the marketing headings */
/* rtl:begin:remove */
.featurette-heading {
    letter-spacing: -.05rem;
}

/* rtl:end:remove */

/* RESPONSIVE CSS
-------------------------------------------------- */

@media (min-width: 40em) {

    /* Bump up size of carousel content */
    .carousel-caption p {
        margin-bottom: 1.25rem;
        font-size: 1.25rem;
        line-height: 1.4;
    }

    .featurette-heading {
        font-size: 50px;
    }
}

@media (min-width: 62em) {
    .featurette-heading {
        margin-top: 7rem;
    }

    .acortador {
        margin-top: -100px;
    }
}

/*AFECTA HERO*/
@media (min-width: 992px) {
    .rounded-lg-3 {
        border-radius: .3rem;
    }
}

/* ICON GRID
-----------------------------------------------------*/
.feature-icon {
    width: 4rem;
    height: 4rem;
    border-radius: .75rem;
}

.icon-link > .bi {
    margin-top: .125rem;
    margin-left: .125rem;
    fill: currentcolor;
    transition: transform .25s ease-in-out;
}

.icon-link:hover > .bi {
    transform: translate(.25rem);
}

.icon-square {
    width: 3rem;
    height: 3rem;
    border-radius: .75rem;
}

.text-shadow-1 {
    text-shadow: 0 .125rem .25rem rgba(0, 0, 0, .25);
}

.text-shadow-2 {
    text-shadow: 0 .25rem .5rem rgba(0, 0, 0, .25);
}

.text-shadow-3 {
    text-shadow: 0 .5rem 1.5rem rgba(0, 0, 0, .25);
}

.card-cover {
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

.feature-icon-small {
    width: 3rem;
    height: 3rem;
}

.accordion-button:focus {
    z-index: 3;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.accordion-button:not(.collapsed) {
    color: #fff;
    background-color: #0c63e4;
    box-shadow: inset 0 -1px 0 rgba(0, 0, 0, .125);
}

.accordion-body {
    text-align: justify;
}

/* CHARACTER PRESENTATION
---------------------------------------------------*/
.contenedor-personajes {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #f9f9f9;
}

.personajesHorizontal {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;
}

.personaje {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 45%;
    text-align: center;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

    .personaje .nombre {
        font-size: 1.5rem;
        font-weight: bold;
        margin-bottom: 10px;
        color: #333;
    }

.contenedor-img-bocadillo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
}

.personaje .imgPersonaje {
    margin-right: 15px;
    display: flex;
    justify-content: center;
}

    .personaje .imgPersonaje img {
        width: 100%;
        max-width: 150px;
        border-radius: 50%;
        transition: transform 0.3s ease;
    }

        .personaje .imgPersonaje img:hover {
            transform: scale(1.05);
        }

.personaje .bocadillo {
    font-size: 1rem;
    color: #555;
    background-color: #f1f1f1;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 70%;
}

.personaje .nombre,
.personaje .bocadillo {
    opacity: 0;
    animation: fadeIn 1s forwards;
}

.personaje .nombre {
    animation-delay: 0.5s;
}

.personaje .bocadillo {
    animation-delay: 1s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .personajesHorizontal {
        flex-direction: column;
        align-items: center;
    }

    .personaje {
        width: 80%;
    }

        .personaje .bocadillo {
            max-width: 100%;
        }

    .contenedor-img-bocadillo {
        flex-direction: column;
        align-items: center;
    }

    .personaje .imgPersonaje {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .personaje .nombre {
        font-size: 1.3rem;
    }

    .personaje .bocadillo {
        font-size: 0.9rem;
    }
}

/* FORM
---------------------------------------------------*/
#form {
    background-color: #f3f3f3;
    padding: 4rem 1rem;
}

.form-wrapper h3 {
    text-align: center;
    margin-bottom: 30px;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
    width: 100%;
}

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: bold;
    }

.form-control {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    padding: 0.5rem;
    box-sizing: border-box;
}

/* Campos en fila en pantallas grandes */
.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

    .form-row .form-group {
        flex: 1;
        min-width: 45%;
    }

/* Checkbox */
.form-group.check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Botón */
button.btn {
    background-color: #0C63E4;
    color: #fff;
    font-weight: bold;
    border: none;
    padding: 0.75rem;
    width: 100%;
    border-radius: 6px;
    font-size: 1.1rem;
    transition: 0.7s;
    cursor: pointer;
}

    button.btn:hover {
        background-color: #0C63E4;
        color: white;
        scale: 1.05;
    }

/* FORMULARIO RESPONSIVE
---------------------------------------------------*/
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }

        .form-row .form-group {
            min-width: 100%;
        }

    .form-group {
        margin-bottom: 1.5rem;
    }
}

/* FOOTER
---------------------------------------------------*/
.footer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background-color: #1a1a1a;
    color: white;
    width: 100%;
    border-top: 1px solid #444;
    text-align: center;
    padding: 20px 10px;
    margin-top: auto;
}

    .footer h4 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        border-bottom: 1px solid #444;
        padding-bottom: 5px;
        color: white;
    }

.datosEmpresa,
.redesSociales,
.menu {
    flex: 1 1 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 250px;
}

    .datosEmpresa ul,
    .menu ul {
        list-style: none;
        padding: 0;
    }

        .datosEmpresa ul li,
        .menu ul li {
            display: flex;
            align-items: center;
            font-size: 0.95rem;
            line-height: 1.6;
        }

    .redesSociales,
    .datosEmpresa li {
        padding-top: 8px;
        padding-bottom: 10px;
    }

    .menu ul li a {
        color: white;
        text-decoration: none;
        transition: all 0.3s ease-in-out;
    }

        .menu ul li a:hover {
            color: #0C63E4;
        }

.iconoDatos {
    width: 20px;
    margin-right: 10px;
}

.iconoRedesSociales {
    width: 30px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.redesSociales {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
}

    .redesSociales a img:hover {
        transform: scale(1.1);
        filter: brightness(1.3);
    }

/* BUTTON SCROLL
---------------------------------------------------*/
.btn-empezar {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 15px 25px;
    background-color: #0C68EE;
    color: white;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 30px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 1000;
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    transition: opacity 0.5s ease, transform 0.5s ease;
}


    .btn-empezar.show {
        opacity: 1;
        transform: scale(1);
        pointer-events: auto;
        animation: bubbleIn 0.6s ease forwards;
    }

/*----------------NAVSIDEBAR------------------------*/
.sidebar-container {
    width: 180px;
    background-color: #000;
    color: #fff;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    transition: transform 0.3s ease-in-out;
}

    .sidebar-container ul {
        list-style: none;
        padding: 0;
    }

        .sidebar-container ul li {
            padding-top: 5px;
            border-bottom: 1px solid #444;
            cursor: pointer;
        }
            .sidebar-container a {
                color: #fff;
                text-decoration: none;
                display: block;
                transition: background-color 0.3s ease;
            }

                .sidebar-container ul li a:hover {
                    background-color: #1a1a1a;
                }


.hidden-sidebar {
    transform: translateX(-100%);
}

.main-content-area {
    margin-left: 180px;
}
/* Estilos para cuando no hay autenticación */
.no-auth-layout {
    grid-template-columns: 0 auto !important;
}

.full-width {
    width: 100% !important;
    margin-left: 0 !important;
}

.hidden-header {
    display: none !important;
}

/* Estilos base del contenedor principal */
.app-container {
    display: grid;
    grid-template-columns: auto 1fr; /* Sidebar y contenido principal */
    min-height: 100vh;
}

@media screen and (max-width: 768px) {
    .main-content-area {
        margin-left: 0;
    }
}



@keyframes bubbleIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }

    60% {
        opacity: 1;
        transform: scale(1.25);
    }

    80% {
        transform: scale(0.9);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.btn-empezar.hide {
    animation: bubbleOut 0.5s ease forwards;
}

@keyframes bubbleOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

.btn-empezar.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-5px);
    }
}

.btn-empezar:hover {
    background-color: #155bd5;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

/* RESPONSIVE BUTTON Y FOOTER
---------------------------------------------------*/
@media (max-width: 768px) {

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* ======= FOOTER ======= */
    .footer {
        flex-direction: column;
        text-align: center;
        padding: 20px 10px;
        align-items: center;
        justify-content: center;
    }

    .datosEmpresa,
    .redesSociales,
    .menu {
        flex: 1 1 100%;
        margin-bottom: 20px;
        text-align: center;
    }

    .redesSociales {
        justify-content: center;
    }

    .menu ul li {
        margin-bottom: 10px;
    }

    .iconoRedesSociales {
        width: 40px;
    }
}
