@import url('colores_opciones.css');

nav {
    background-color: var(--marca-900);
    position: sticky;
    top: -0.5px;
    width: 100%;
    z-index: 1000;
}

.nav_cont {
    width: min(95%, 1400px);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.logo_cont {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    gap: 12px;
    color: var(--detalle-suave);
    font-family: 'Albert Sans', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-left: 8px;
}

.logo_cont img {
    width: 30px;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1000;
}

.men_Btn {
    color: var(--marca-900);
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    display: none;
}

.nav_links {
    position: fixed;
    background-color: var(--nav-solido);
    left: 0;
    width: min(90%, 420px);
    right: 0;
    height: 65px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: var(--radio-pill);
    transition: width 0.3s ease, height 0.3s ease, padding 0.3s ease;
}

.nav_links.compacto {
    width: min(66%, 280px);
    height: 48px;
    padding: 0 10px;
}

.nav_links.compacto .item{
    height: 40px;
    transition: height 0.3s ease;
}

.android .nav_links {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    margin: 0;
    border-radius: var(--radio) var(--radio) 0 0;
    padding: 0 20px env(safe-area-inset-bottom);
    background-color: var(--superficie) !important;
    box-shadow: 2px 1px 3px 0 var(--pizarra-900);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.android .nav_links.compacto {
    width: 100%;
    height: 55px;
    padding: 0 40px;
}

.android .nav_links .nav_lbl{
    color: var(--texto);
}

.android .nav_links.compacto .nav_lbl {
    opacity: 1;
    width: auto;
    display: none;
    color: var(--texto);
}

@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .nav_links {
        background-color: var(--nav-vidrio);
        -webkit-backdrop-filter: blur(16px) saturate(170%);
        backdrop-filter: blur(16px) saturate(170%);
    }
}

.nav_lbl {
    transition: opacity 0.2s ease;
}

.nav_links.compacto .nav_lbl {
    display: none;
    opacity: 0;
    width: 0;
    overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {

    .nav_links,
    .nav_lbl {
        transition: none;
    }
}

.nav_links a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    font-weight: 500;
    border-bottom: none;
    padding-bottom: 0;
    color: var(--texto-inverso);
    text-decoration: none;
    text-transform: uppercase;
    height: 80px;
    font-size: 13.5px;
    transition: border-color 0.2s ease, height 0.3s ease-out;
}

.nav_links li {
    list-style-type: none;
}

.nav_links li span:not(.nav_lbl) {
    font-size: 24px;
    color: var(--marca-900);
    width: auto;
    height: auto;
    padding: 4px;
    border-radius: 50%;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgb(228, 228, 228);
}

.item.active span:not(.nav_lbl) {
    background-color: var(--marca-900);
    color: white;
    border-color: transparent;
}




/*=====================*/
/*Verification Template*/
/*=====================*/
.verify_cont_temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-height: 70vh;
    font-family: 'Alber Sans', sans-serif;
    text-align: center;
    padding: 20px;
}

.succes_case {
    background-color: var(--marca-900);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
}

.succes_case h2 {
    color: white;
    font-size: 2rem;
}

.succes_case p {
    color: var(--acento-suave);
    font-size: 2rem;
}

.link_go_acc {
    display: inline-block;
    background-color: white;
    color: var(--marca-900);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 16px;
}

.fail_case {
    background-color: var(--fondo);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
}

.fail_case h2 {
    color: #e74c3c;
    font-size: 2rem;
}

.fail_case p {
    color: #aaa;
    font-size: 1rem;
    margin: 16px 0;
}

.fail_case a {
    display: inline-block;
    background-color: var(--marca-900);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 16px;
}

@media (min-width: 840px) {
    html .nav_links, html.android .nav_links {
        background-color: #fff;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    html .nav_links .item, html .nav_links .nav_lbl { color: #1E2A2E; }
}