﻿body {
    height: 100%;
    margin: 0;
    padding: 0;
}


.bottom-sheetlogin {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70%;
    max-height: 70vh; /* Limita a altura em 75% da altura da viewport */
    background-color: white;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: bottom 0.4s ease-in-out;
    z-index: 2000; /* Ajuste o valor conforme necessário */
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    overflow-y: auto;
}

.bottom-sheetlogin-content {
    padding: 20px;
}

.drag-handle-login {
    width: 50px;
    height: 5px;
    background-color: #ccc;
    border-radius: 5px;
    margin: 10px auto;
    position: sticky;
    top: 0;
    cursor: move;
    z-index: 100; /* Garantir que fique acima do conteúdo */
}

.drag-handle-login-container {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    left: 0;
    padding: 10px 0; /* Ajuste o espaçamento conforme necessário */
    z-index: 4000
}


.close-btn-login {
    position: absolute;
    right: 7px;
    top: 4px;
    background-color: #aaa3a3;
    border: none;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: background-color 0.4s ease;
}

    .close-btn-login:hover {
        background-color: #aaa3a3;
    }

    .close-btn-login i {
        color: white;
        font-size: 15px;
    }


/*.close-btn-login {
    background-color: #22c55e;*/ /* Cor de fundo verde */
    /*border: none;
    border-radius: 50%;*/ /* Faz o botão ser circular */
    /*width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);*/ /* Adiciona uma leve sombra */
    /*transition: background-color 0.4s ease;*/ /* Animação suave para hover */
    /*position: relative;*/ /* Para que o deslocamento seja relativo à posição normal */
    /*right: 20px;*/ /* Move o botão 20px para a direita */
/*}

    .close-btn-login i {
        color: white;
        font-size: 18px;*/ /* Tamanho do ícone */
    /*}

    .close-btn-login:hover {
        background-color: #1d9e4a;*/ /* Cor verde mais escura no hover */
    /*}*/

.bottom-sheetlogin.open {
    bottom: 0;
}


.loader-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding-top: 5em;
}

.loader {
    width: 230px; /* Ajuste o tamanho conforme necessário */
    height: 230px;
}

.div-cadastro-login {    
    padding: 1em;
    font-size: 20px;
    height: 150%;
}

.h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #007bff;
}


.div-buttom {
    padding-top: 1em;
    width: 100%; /* A div ocupa 100% da largura */
    display: flex;
    justify-content: center; /* Centraliza o botão horizontalmente */
    align-items: center; /* Centraliza o botão verticalmente (caso necessário) */
    /*height: 100px;*/ /* Altura da div, ajuste conforme necessário */
}

.save-button {
    background-color: #1d9e4a; /* Cor roxa semelhante à da imagem */
    color: white; /* Cor do texto */
    border: none;
    padding: 10px 20px;
    border-radius: 8px; /* Cantos arredondados */
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.4s ease;
    width: 50%;
    text-align: center;
}

.hint {
    color: white;
    background-color: #ff6b6b; /* Fundo vermelho suave */
    border: 1px solid #ff4a4a; /* Borda um pouco mais escura */
    padding: 8px;
    border-radius: 4px;
    font-size: 0.9em;
    position: absolute;
    display: none; /* Escondido por padrão */
    max-width: 200px;
    z-index: 10;
    opacity: 0; /* Para animação de fade-in */
    transition: opacity 0.4s ease-in-out;
}


.delete-button {
    background-color: #3F009C; /* Cor roxa semelhante à da imagem */
    color: white; /* Cor do texto */
    border: none;
    padding: 10px 20px;
    border-radius: 8px; /* Cantos arredondados */
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.4s ease;
    width: 50%;
    text-align: center;
}

    /* Estilo para a seta */
    .hint::before {
        content: '';
        position: absolute;
        top: -5px;
        left: 10px;
        border-width: 5px;
        border-style: solid;
        border-color: transparent transparent #ff6b6b transparent;
    }

    /* Exibir o hint com fade-in */
    .hint.show {
        display: block;
        opacity: 1;
    }


.zindex-top.swal2-container {
    z-index: 999999 !important;
}