﻿
div.opcao-data,
div.opcao-brinquedo,
div.opcao-horario,
div.opcao-duracao,
div.opcao-ingresso {
    position: relative;
    margin: 5px;
    padding: 5px;
    border: none;
    text-align: center;
    background-color: var(--ingresso-background);
    box-shadow: 2px 2px 2px var(--box-shadow);
    flex-direction: column;
    justify-content: space-between;
    border-radius: 18px;
}

div.opcao-ingresso {
    text-align: left;
}

div.opcao-horario {
    overflow: hidden;
}

    div.opcao-data:hover,
    div.opcao-brinquedo:hover,
    div.opcao-horario:hover,
    div.opcao-duracao:hover,
    div.opcao-ingresso:hover,
    div.opcao-horario:hover .barra {
        background-color: var(--ingresso-hover) !important;
        cursor: pointer;
    }

    /*    div.opcao-horario span:hover + .barra {
        background-color: var(--ingresso-hover) !important;
        cursor: pointer;
    }
*/

    div.opcao-data.active,
    div.opcao-brinquedo.active,
    div.opcao-horario.active,
    div.opcao-duracao.active,
    div.opcao-ingresso.active {
        border: 2px solid var(--box-border-active);
        animation: brilhoBorda 0.8s infinite;
    }

div.opcao-data label {
    display: block;
    width: 100%;
    font-size: 12px;
}

    div.opcao-data label.dia-semana {
        color: #433dc3;
        font-weight: bolder;
    }

div.opcao-data span {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
}

div.opcao-horario label {
    display: block;
    width: 100%;
    font-size: 10px;
    z-index: 5;
    position: relative;
}

div.opcao-horario span {
    display: block;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    padding: 20px 0;
    position: relative;
    z-index: 5;
}

div.opcao-brinquedo span,
div.opcao-duracao span {
    display: block;
    padding: 15px 5px;
    width: 100%;
    font-size: 18px;
    font-weight: bold;
}

div.opcao-ingresso span {
    display: block;
    position: relative;
    float: left;
    padding: 15px 10px;
    width: 80%;
    font-size: 18px;
    font-weight: bold;
}

    div.opcao-ingresso span.valor {
        float: right;
        width: 20%;
        text-align: right;
    }

div.opcao-ingresso label {
    display: block;
    position: relative;
    padding: 0px 0px 15px 10px;
    text-align: left;
    width: 100%;
    font-size: 16px;
}

div.opcao-ingresso .contador {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    padding-right: 1.5rem;
}

    div.opcao-ingresso .contador button {
        padding: 5px 10px;
        font-size: 18px;
        cursor: pointer;
        margin-left: 0px;
        margin-right: 0px;
        border: var(--bs-border-width) solid var(--bs-border-color);
        border-radius: 0px !important;
    }

    div.opcao-ingresso .contador input.form-control[type="number"] {
        width: 40px !important;
        text-align: center !important;
        font-size: 16px !important;
        margin-left: 0px;
        margin-right: 0px;
        text-align: center;
        -moz-appearance: textfield;
        pointer-events: none;
        border-radius: 0px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

        div.opcao-ingresso .contador input.form-control[type="number"]::-webkit-inner-spin-button,
        div.opcao-ingresso .contador input.form-control[type="number"]::-webkit-outer-spin-button {
            -webkit-appearance: none;
            margin: 0;
        }


div.opcao-data:has(i) {
    width: 10% !important;
    vertical-align: middle;
}

div.opcao-data svg {
    margin-top: 7px;
    font-size: 26px;
    font-weight: bold;
}

div.opcao-horario .barra {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--barra-100);
    width: 100%;
    transition: width 0.5s ease;
    z-index: 1;
}

.hide {
    display: none !important;
}

.esconder {
    visibility: hidden;
}

.ui-datepicker {
    z-index: 2000 !important;
}

.link-ingresso {
    text-decoration: underline !important;
}

.text-right {
    text-align: right !important;
}

.display-flex {
    display: flex !important;
}

/* Botão flutuante */
.btn-carrinho {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #1ACEF1;
    color: white;
    border: none;
    font-size: 24px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: right 0.3s ease;
}

/* Carrinho lateral */
.carrinho-lateral {
    position: fixed;
    top: 0;
    right: -300px; /* Oculto inicialmente */
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 1000;
    padding: 20px;
    transition: right 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

    /* Quando ativo */
    .carrinho-lateral.active {
        right: 0;
    }

.card {
    background-color: #fdffbf !important;
    padding-top: 3px;
    padding-bottom: 3px;
    display: inline-block !important;
    justify-content: space-between;
    flex-wrap: wrap;
}

    .card a.btn-excluir-cart {
        float: right;
    }

    .card small,
    .card a.btn-excluir-cart {
        font-weight: bold;
        display: inline-block;
        margin: 0;
        padding: 0;
        width: auto;
    }
        .card small.final {
            width: 100%;
        }

    .card abbr, .card em {
        width: 100%;
        display: inline-block;
    }
        .card abbr.final{
            display: block;
            width: 60%;
            position: relative;
            float: left;
        }
        .card em.final{
            font-size: 0.9rem;
            font-weight: bold;
        }

    .card cite {
        font-weight: bold;
        position: relative;
        float: right;
        text-align: right;
    }
        .card cite.final {
            display: block;
            width: 30%;
            position: relative;
            float: right;
        }

.carrinho-lateral .valor-total {
    display: inline-flex;
}

    .carrinho-lateral .valor-total label {
        position: relative;
        float: left;
        font-weight: bold;
        text-transform: uppercase;
    }

    .carrinho-lateral .valor-total span {
        position: relative;
        float: right;
        font-weight: bold;
        text-transform: uppercase;
    }

.btn-carrinho.active {
    right: 320px; /* Empurra o botão quando o carrinho está aberto */
}

.btn-carrinho.full {
    animation: brilhoBorda 0.8s infinite;
}

.dados-usuario {
    display: flex;
    align-items:center;
}

    .dados-usuario span {
        font-family: 'Poppins', sans-serif;
        color: #000;
        font-weight: 500;
    }

    .dados-usuario .card {
        width: 90%;
        padding: 15px 10px;
    }


@keyframes brilhoBorda {
    0% {
        box-shadow: 0 0 2px var(--box-border-active), 0 0 4px var(--box-border-active), 0 0 6px var(--box-border-active);
    }

    50% {
        box-shadow: 0 0 4px var(--box-border-active), 0 0 8px var(--box-border-active), 0 0 12px var(--box-border-active);
    }

    100% {
        box-shadow: 0 0 2px var(--box-border-active), 0 0 4px var(--box-border-active), 0 0 6px var(--box-border-active);
    }
}


@media screen and (max-width: 992px) {
    div.opcao-data span {
        display: block;
        width: 100%;
        font-size: 16px;
        font-weight: bold;
    }
}



/*  COMPONENTES FORMULÁRIO  */
.form-control {
    border-radius: 0.7rem;
    border: none;
    font-size: 1.7rem;
    font-weight: 400;
}

.form-control2 {
    border: 0px solid var(--c-eye) !important;
    /*border-radius: 12px;*/
}

    .form-control2::placeholder {
        text-transform: none;
        font-weight: 600;
    }

.eye.form-control2 [data-togglepassword] {
    color: var(--c-eye) !important;
}

    .eye.form-control2 [data-togglepassword]:hover {
        color: var(--c-eye) !important;
    }

/* Regras de senha personalizadas */
#Senha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha ~ .senha-regras,
#Senha.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#Senha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha ~ .senha-regras {
    display: none;
}

#Senha1:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha1 ~ .senha-regras,
#Senha1.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#Senha1:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha1 ~ .senha-regras {
    display: none;
}

#Senha2:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha2 ~ .senha-regras,
#Senha2.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#Senha2:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha2 ~ .senha-regras {
    display: none;
}

#Senha3:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha3 ~ .senha-regras,
#Senha3.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#Senha3:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#Senha3 ~ .senha-regras {
    display: none;
}

#NovaSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#NovaSenha ~ .senha-regras,
#NovaSenha.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#NovaSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#NovaSenha ~ .senha-regras {
    display: none;
}

#txtSenhaNova:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtSenhaNova ~ .senha-regras,
#txtSenhaNova.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#txtSenhaNova:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtSenhaNova ~ .senha-regras {
    display: none;
}

#txtSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtSenha ~ .senha-regras,
#txtSenha.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#txtSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtSenha ~ .senha-regras {
    display: none;
}

#txtNovaSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtNovaSenha ~ .senha-regras,
#txtNovaSenha.valid:not(:focus) ~ .senha-regras {
    display: none;
}

#txtNovaSenha:not([data-senha-vazio]) ~ .senha-regras,
[data-senha-vazio="true"]#txtNovaSenha ~ .senha-regras {
    display: none;
}
.senha-regras {
    text-align: left;
    font-size: 0.8rem;
    background-color: #fff;
    border: none;
    border-radius: 10px 10px 10px 10px;
    position: absolute;
    z-index: 999;
    width: 195px;
    padding: 1.5rem 10px 1.5rem 10px;
    margin-top: 0px;
    font-weight: 400;
}

@media (max-width: 991px) {
    .senha-regras {
        font-size: 1.5rem;
    }
}

.senha-regras::before {
    content: "\edc4";
    font-family: 'icomoon', Arial, sans-serif;
    width: 35px;
    height: 12px;
    text-align: center;
    font-size: 30px;
    line-height: 100%;
    border-radius: 0;
    margin-right: 0px;
    display: inline-block;
    background: transparent;
    position: absolute;
    top: -18px;
    left: 3px;
    z-index: 1;
}

.senha-regras > div {
    padding: 0.2rem;
}

    .senha-regras > div:before {
        content: "\e601";
        font-family: 'icomoon', Arial, sans-serif;
        width: 16px;
        height: 16px;
        text-align: center;
        line-height: 16px;
        border-radius: 50%;
        margin-right: 10px;
        display: inline-block;
        /* background: #ffffff; */
        background: #ccc;
        /* color: var(--c-white); */
        color: #ccc;
    }

[data-senha-maiusculas="true"] ~ .senha-regras .regra-maiusculas:before {
    color: transparent;
    background: #4caf50;
    /*    background: var(--c-bluelight1);*/
}

[data-senha-minusculas="true"] ~ .senha-regras .regra-minusculas:before {
    color: transparent;
    background: #4caf50;
    /*    background: var(--c-bluelight1);*/
}

[data-senha-numeros="true"] ~ .senha-regras .regra-numeros:before {
    color: transparent;
    background: #4caf50;
    /*    background: var(--c-bluelight1);*/
}

[data-senha-especiais="true"] ~ .senha-regras .regra-especiais:before {
    color: transparent;
    background: #4caf50;
    /*    background: var(--c-bluelight1);*/
}

[data-senha-tamanho="true"] ~ .senha-regras .regra-tamanho:before {
    color: transparent;
    background: #4caf50;
    /*    background: var(--c-bluelight1);*/
}



.eye.form-control [data-togglepassword] {
    color: var(--c-eye) !important;
}

    .eye.form-control [data-togglepassword]:hover {
        color: var(--c-eye) !important;
    }

/* Formulario */

[data-togglepassword] {
    float: right;
    width: 28px;
    height: 35px;
    line-height: 35px;
}

    [data-togglepassword] + input {
        width: calc(100% - 30px);
    }

    [data-togglepassword] .password-hide {
        display: none;
    }

/*Olho Senha*/
.eye {
    margin: auto;
    display: inherit;
}

    .eye [data-togglepassword] {
        height: 25px;
        width: 25px;
        line-height: 25px;
        text-decoration: none !important;
        position: absolute;
        color: var(--c-eye);
        top: 34px;
        right: 20px;
        z-index: 1;
        font-size: 1.6rem;
        cursor: pointer;
        transition: all .3s ease;
    }

        .eye [data-togglepassword]:hover {
            color: var(--c-yellow2);
            text-decoration: none !important;
            transition: all .3s ease;
        }

        .eye [data-togglepassword] .password-hide {
            text-decoration: none !important;
        }

@media (max-width: 991px) {
    .eye {
        top: 2px;
        right: 20px;
        position: absolute;
    }

        .eye [data-togglepassword] {
            text-align: center;
            width: 100%;
            font-size: 20px;
            height: 20px;
            line-height: 25px;
            top: 25px;
            right: 30px;
        }
}

.form-check-label:hover {
    cursor: pointer;
}

.link-ingresso {
    color: #303030;
    text-decoration: none !important;
    border-radius: 5px;
    padding: 5px 15px;
}
    .link-ingresso:hover {
        background-color: #fffcb3;
        text-decoration: underline;
        font-weight:bold;
    }
    .link-ingresso.active {
        background-color: #fffcb3;
        text-decoration: underline;
        font-weight: bold;
    }

.link-ingresso-finalizar {
    color: #303030;
    text-decoration: none !important;
    border-radius: 5px;
    padding: 5px 15px;
}

    .link-ingresso-finalizar:hover {
        text-decoration: underline;
        font-weight: bold;
        font-size: 16px;
    }

.link-ingresso-usuario {
    color: var(--c-link-new-usuario);
    text-decoration: none !important;
}
    .link-ingresso-usuario:hover {
        text-decoration: underline;
        font-weight: bold;
        font-size: 16px;
    }
    .link-ingresso-usuario.used {
        color: var(--c-link-usuario);
    }

.pl-5 {
    padding-left: 5px !important;
}

.pr-5 {
    padding-right: 5px !important;
}

.pl-10 {
    padding-left: 10px !important;
}

.pr-10 {
    padding-right: 10px !important;
}

.custom-modal.user-modal {
    width: 80%;
}

.custom-modal .content {
    min-height: 250px;
}

.card.error {
    animation: brilhoBorda 0.8s 5;
}

.adjust-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.nav-tabs .nav-link {
    border: none !important;
    color: #fff !important;
}
    .nav-tabs .nav-link.active {
        border: none !important;
        color: #000f62 !important;
        background-color: #fff !important;
    }

.selecionar-linha:hover td{
    background-color: var(--ingresso-hover);
    cursor: pointer;
}
.selecionar-linha.active td {
    background-color: var(--ingresso-hover);
    font-weight: bold;
}


.resumo-valor {
    font-size: 1.2rem;
    font-weight:bold;
}