@import url('https://fonts.googleapis.com/css2?family=Diphylleia&display=swap');

@keyframes aparecer {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.elemento-animado {
    animation: aparecer 1s
}

.elemento-animado {
    margin: 0;
    padding: 0;
}

.elemento-animado {
    position: relative;
    /* ou position: absolute; conforme necessário */
}


h1,
h2 {
    text-align: center;
    font-size: 25px;
    margin-top: 20px;

}

h4 {
    color: black;
}


#titulo {
    padding-top: 30px;
    font-family: 'Noto Serif Tamil', serif;

}

#titulo2 {
    padding-top: 80px;
    color: white;
    font-family: 'Noto Serif Tamil', serif;

}

#subtitulo {
    font-size: 20px;
    color: black;
    font-family: 'Noto Serif Tamil', serif;
}

body {

    background-color: #251f18;
    background-size: cover;
    /* Garante que a imagem cubra todo o fundo */
    background-position: center;
    /* Centraliza a imagem */
    width: 100%;
    font-family: 'Diphylleia', serif;
}

#nomeBarbeiro {
    font-size: 19px;
    color: #8f3836;

}

.topo {
    background-color: #8f3836;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.123);
    height: 30px;
    margin-bottom: 25px;
}

#logo {
    width: 200px;
    padding-bottom: 20px;
    border-radius: 10%;
    margin-top: 1%;
    margin-bottom: 25px;

    animation: grow 0.3s ease-in-out;
}

#banner {
    max-width: 600px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 10px;
}

.opcoes {
    width: 350px;
    margin: auto;
}

.btn-primary {

    width: 300px;
    margin: auto;
    margin-top: 20px;
    background-color: #6c757d;
    border: none;
    animation: grow 0.3s ease-in-out;
    color: white;

}

.btn-primary:hover {
    background-color: #eaeaea;
    color: #06215f;
}

.atalho {
    width: 75px;
    font-size: 12px;
}

.atalhos {
    width: 340px;
    margin: auto;
}

.imgBarbeiro {
    width: 200px;
    border-radius: 5px;
}

.imgServico {
    width: 120px;
    border-radius: 5px;
}

#logorodape {
    width: 25px;
    margin-right: 5px;
}

/*==========style do agendamento===================*/

#label {

    font-family: 'Noto Serif Tamil', serif;
    font-size: 14px;
    width: 340px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0;
    color: white;
    text-align: center;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    animation: grow 0.3s ease-in-out;
}

#container_card {
    border-radius: 10px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    margin: auto;
    background-color: white;
    width: 340px;
    padding-top: 15px;
    padding-bottom: 30px;
    animation: grow 0.3s ease-in-out;

}

.botaobarbeiro {
    padding-bottom: 15px;
}

#no-spin {
    text-align: center;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.agendar {
    width: 100px;
    background-color: black;

}

.checkbox-button {
    display: inline-block;
    padding: 8px 16px;
    width: 75px;
    background-color: black;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    margin: 5px;

}

.checkbox-label input[type="checkbox"]:checked+.checkbox-button {
    background-color: #0056b3;
    color: white;
}

#nome {
    margin-bottom: 10px;
}


.rodape {
    background-color: #8f3836;
    box-shadow: 5px 0px 0px rgba(0, 0, 0, 0.123);
    height: 100px;
    text-align: center;
    margin-top: 30%;
    margin-bottom: 0;
    color: white;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Adicione estilos para o alerta personalizado */
.custom-alert {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f2f2f2;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

.esmaece {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
}

/* Adicione estilos para o alerta personalizado */
.alerta {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    max-width: 400px;
    transform: translate(-50%, -50%);
    background-color: #f2f2f2;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 10000;
}

.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
}

.card-barbeiro {
    width: 300px;
    margin: auto;
    background-color: #eaeaea;
    margin-top: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo-rede-social {
    width: 20px;
}

.btn-social {
    color: white;
    border: none;
    margin-top: 25px;
    width: 340px;
}

#siga-nos {
    color: white;
    margin-top: 25px;
}

.confirmar {
    padding-top: 15px;
    width: 150px;
    margin: auto;
    font-size: 12px;
}

#spinner {
    position: fixed;
    top: 50%;
    left: 50%;

    padding: 20px;
    z-index: 10000;
    background-color: rgba(255, 255, 255, 0.8);
    /* Fundo semi-transparente */
    pointer-events: none;
    /* Torna o elemento não clicável */
}

.card-barbeiro {
    width: 300px;
    margin: auto;

    margin-top: 20px;
    border-radius: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

#logocentro {
    width: 280px;
    border-radius: 20px;
}

.confirmar {
    width: 250px;
    margin: auto;
}

#data {
    width: 300px;
    margin: auto;
    text-align: center;
}



footer {
    margin-top: 80%;
}

.checkmark-container {
    margin: auto;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #4caf50;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: pop-in 0.5s ease-in-out;
}

@keyframes pop-in {
    0% {
        transform: scale(0);
        opacity: 0;
    }

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

.checkmark {
    width: 60px;
    height: 30px;
    border-left: 5px solid white;
    border-bottom: 5px solid white;
    transform: rotate(-45deg);
    position: absolute;
    top: 30px;
    animation: draw-check 0.5s ease-in-out;
}

@keyframes draw-check {
    0% {
        width: 0;
        height: 0;
    }

    50% {
        width: 20px;
        height: 0;
    }

    100% {
        width: 40px;
        height: 20px;
    }
}

.infor {
    margin: auto;
    width: 350px;
    border-radius: 10px;
    padding-top: 5px;
    padding-bottom: 20px;
    margin-top: 20px;
    margin-bottom: 20px
}

h4 {
    text-align: center;
    color: white;
}

#desmarcar {
    margin-left: 50px;
}

#comprovante {
    margin-top: 20px;
    margin-bottom: 10px;
    text-align: center;

}

.btn-confirmacao {

    padding: 5px;
    width: 150px;
    font-size: 14px;
    background-color: green;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    border: none;
    margin-left: 20px
}

.btn-cadastrar {
    margin-top: 20px;
    padding: 5px;
    width: 150px;
    font-size: 14px;
    background-color: green;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 5px;
    ;
    border: none;
}

.card-btn {
    margin: auto;
    width: 360px;
}

#nomeServico {
    font-size: 14px;
}

#imgServico {
    width: 100px;
    max-height: 150px;
    margin-left: 8px;
    border-radius: 5px
}

.botaoBarbeiro {
    width: 250px;
}

#container_formulario {
    border-radius: 10px;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
    margin: auto;
    background-color: white;
    width: 300px;
    padding-top: 15px;
    padding-bottom: 30px;
    animation: grow 0.3s ease-in-out;
}

#labelFormulario {
    font-family: 'Noto Serif Tamil', serif;
    font-size: 14px;
    width: 300px;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0;
    color: white;
    text-align: center;
    margin: auto;
    margin-top: 25px;
    margin-bottom: 0;
    padding-top: 5px;
    padding-bottom: 5px;
    animation: grow 0.3s ease-in-out;
}

.btn-formulario {
    width: 276px;
    margin: auto;
    margin-top: 20px;
    background-color: #6c757d;
    border: none;
    animation: grow 0.3s ease-in-out;
    color: white;
}

#btnFiltrar {
    width: 100px;
    height: 36px;
    margin-left: 15px;
    background-color: #251f18;
    border-radius: 5px;
    border: none;
    color: white;

}

#categoria_servico {
    width: 160px;
    height: 36px;
    margin-left: 10%;
}

.botao-flutuante {
    position: fixed;
    width: 300px;
    /* Largura do botão */
    bottom: 20px;
    height: 40px;
    /* Distância do rodapé */
    left: 50%;
    /* Centraliza horizontalmente */
    transform: translateX(-50%);
    /* Ajusta a posição para centralizar */
    background-color: #0056b3;
    /* Cor de fundo do botão */
    color: white;
    /* Cor do texto */
    border: none;
    /* Sem borda */
    border-radius: 5px;
    /* Borda arredondada */
    display: flex;
    /* Centraliza o conteúdo */
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    font-size: 18px;
    /* Tamanho da fonte */
    text-decoration: none;
    /* Remove o sublinhado */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* Sombra para dar destaque */
    transition: background-color 0.3s;
    /* Animação suave */
}

tao-flutuante:hover {
    background-color: #0056b3;
    /* Cor mais escura ao passar o mouse */
    cursor: pointer;
    /* Cursor muda para "mãozinha" */
}

.botao-flutuante {
    position: fixed;
    width: 300px;
    /* Largura do botão */
    bottom: 20px;
    height: 40px;
    /* Distância do rodapé */
    left: 50%;
    /* Centraliza horizontalmente */
    transform: translateX(-50%);
    /* Ajusta a posição para centralizar */
    background-color: #0056b3;
    /* Cor de fundo do botão */
    color: white;
    /* Cor do texto */
    border: none;
    /* Sem borda */
    border-radius: 5px;
    /* Borda arredondada */
    display: flex;
    /* Centraliza o conteúdo */
    justify-content: center;
    /* Centraliza horizontalmente */
    align-items: center;
    /* Centraliza verticalmente */
    font-size: 18px;
    /* Tamanho da fonte */
    text-decoration: none;
    /* Remove o sublinhado */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    /* Sombra para dar destaque */
    transition: background-color 0.3s;
    /* Animação suave */
}

tao-flutuante:hover {
    background-color: #0056b3;
    /* Cor mais escura ao passar o mouse */
    cursor: pointer;
    /* Cursor muda para "mãozinha" */
}

#submitar {
    display: none;
    margin: auto;
}

/* Alinha a imagem e o texto horizontalmente */
.checkservico {
    display: flex;
    align-items: center;
    background-color: #111;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 2px 2px 10px rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 100%;
    transition: 0.3s;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Garante que a imagem fique fixa à esquerda */
.img-container img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 15px;
}

/* O texto ocupará o restante do espaço */
.text-container {
    flex-grow: 1;
    color: white;
    font-size: 14px;
}

/* Ajuste para telas menores */
@media (max-width: 768px) {
    .img-container img {
        width: 80px;
        height: 80px;
        margin-right: 10px;
    }

    .text-container p {
        font-size: 13px;
    }
}

#home {
    padding-left: 2%;

}

#casinha {
    border-radius: 10px;
}