

.container-agendamentos {
    display: grid;
    align-items: center;
    padding: 10px; 
    width: 100%;
    z-index: 10;
}

.busca-agendamentos {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 100%;
}

.formulario-agendamentos {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    width: 100%;
    margin: 20px 0;
}


h1 {
    color: #000081;
    margin-bottom: 20px;
    font-size: 36px;
    text-align: center;
    width: 100%; 
}

.buscador-agendamentos {
    background-color: white;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 400px;
    height: auto;    
    padding: 30px 20px 20px 20px; 
    border: 1px solid #00acc1;
}

.dados-agendamentos {
    width: 100%;
    display: grid;
    grid-template-rows: 30px 18px;
    margin-bottom: 10px;
    position: relative;
}

.buscador-agendamentos input {
    border: none;
    background-color: transparent;
    border-bottom: 1px solid #3737fa;
    font-size: 16px;
    height: 30px;
    display: block;
    width: 100%;
    padding: 10px 0; 
    z-index: 2;
}

.buscador-agendamentos input:focus {
    box-shadow: 0px 4px 10px -8px #000081;
    outline: none;
}
 
.label-agendamentos {
    position: absolute;
    top: 4px;
    left: 0;
    color: gray;
    transition: ease-in-out 0.2s;
    font-size: 18px;
    padding-left: 5px;
}


.buscador-agendamentos input:focus+.label-agendamentos,
.buscador-agendamentos input:not(:placeholder-shown)+.label-agendamentos {
    top: -20px;
    font-size: 14px;
    color: #000081;
    color: #000081;
    padding-left: 0px;
}

.buscador-agendamentos input::placeholder {
    color: transparent;
}


.botao-acao-formulario {
    padding: 6px 10px;
    cursor: pointer;
    background-color: #00acc1;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    height: 38px;
}

.botao-acao-formulario:hover {
    background-color: #008799; 
}

.aviso-agendamentos {
    margin-top: 4px;
    width: 100%;
    display: none;
    font-size: 14px;
    color: red;
    font-weight: 500;
    text-align: center;
}

.resultados-agendamentos{
    width: 100%;
    height: 100%;  
    display: flex; 
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 10px;
    position: relative;
}

.agendamento { 
    background-color: white; 
    padding: 12px;
    color: #000081;
    border-radius: 5px; 
    width: 370px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    row-gap: 10px;
    border: 2px solid #00acc1;
  }


   

.parte-1{
    display: grid;
    justify-content: space-between;
    grid-template-columns: 67% 30%; 
    min-height: 50px;
}

.nomes-quadras{
    border: 1px solid #00acc1;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 10px -8px #000081;
    text-align: center;
}

.nome-estabelecimento{
    font-size: 20px;
    font-weight: 600;
}

.modalidade-icone{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #00acc1;
    border-radius: 5px;
    font-weight: 600;
    padding: 3px 0;
    box-shadow: 0px 4px 10px -8px #000081;
}

.modalidade-icone img{
    width: 40px;
    height: 40px;  
}

.modalidade{
    width: 100%;
    text-align: center;
    padding: 0 2px;
}



.parte-4, 
.status-agendamento,
.valor-agendamento,
.data-agendamento,
.horario-agendamento,
.nome-agendamento,
.contato-agendamento,
.aviso-modificado{
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #00acc1;
    border-radius: 5px;
    min-height: 50px;
    gap: 5px;
    box-shadow: 0px 4px 10px -8px #000081;
    width: 100%;
    padding: 5px;
}

.parte-7{
    display: flex;
    align-items: center;
    justify-content: start;
    border: 1px solid #1a17c0;
    border-radius: 5px;
    min-height: 50px;
    gap: 5px;
    box-shadow: 0px 4px 10px -8px #000081;
    width: 100%;
    padding: 5px;
}

.parte-7 b{
    font-weight: 600;
}

.parte-7 div{
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 5px;
}

.status-agendamento{
    font-size: 20px;
    font-weight: 500;
}

.valor-agendamento{
    font-size: 22px;
    font-weight: 600;
}

.parte-2,
.parte-3,
.parte-5{
    display: grid;
    grid-template-columns: 48.5% 48.5%;
    justify-content: space-between;
    align-items: center;
}

.parte-5{
    display: grid;
    grid-template-columns: 48.5% 48.5%;
    justify-content: space-between;
    align-items: center;
}

 

.parte-6{
    display: flex;
    justify-content: space-between; 
    min-height: 50px;
}

.aviso-modificado{
    font-size: 12px;
    color: red;
    padding: 0 5px;
    text-align: center;
    width: 100%;
 }

.cancelamento-agendamento button {
padding: 6px 10px;
cursor: pointer;
background-color: white;
border: 1px solid red;
border-radius: 5px;
color: #030434;
font-size: 14px;
font-weight: 600; 
min-height: 50px;
box-shadow: 0px 4px 10px -8px #000081;
margin-left: 10px;
}

.cancelamento-agendamento button:hover {
    background-color: red;
    border: 1px solid red;
    color: white;
}

.aviso-retorno{
    color: red; 
    width: 100%;
    text-align: center;
    font-size: 26px;
    font-weight: 500;
}

.popup-formulario-cancelamento {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 100;
}

.formulario-cancelamento {
    width: auto;
    position: relative;
    border: 2px solid #00acc1;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    justify-self: center;
    align-items: center;
    padding: 20px;
    background-color: white;
    margin: 6% 0;
}

.titulo {
    font-size: 22px;
    font-weight: 500;
    color: #000081;
    margin-bottom: 15px;
    text-align: center;
  }
  
  
  .subtitulo-regras {
    color: #1a17c0;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
  }
  
  .opcoes-cancelamento {
    background-color: white;
    width: 100%;
    border: 1px solid #00acc1;
    margin-bottom: 10px;
  }
  
  .regra-cancelamento {
    padding: 3px;
    cursor: pointer;
    color: #000081;
    font-size: 16px;
    height: 30px;
  }
  
  .regra-cancelamento:hover {
    background-color: #00acc1;
    color: white;
  }
  
  .regra-cancelamento.selecionada {
    background-color: #00acc1;
    color: white;
  }
    
  .salvar-cancelamento {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin-top: 10px;
    gap: 10px;
  }
  
  #botao-salvar-cancelamento,
  #botao-fechar-cancelamento {
    padding: 6px 10px;
    cursor: pointer;
    background-color: #00acc1;
    border: none;
    border-radius: 5px;
    color: white;
    font-size: 20px;
    font-weight: 600;
    height: 38px;
    align-self: center;
    transition: background-color 0.3s;
  }
  
  #botao-salvar-cancelamento:hover,
  #botao-fechar-cancelamento:hover {
    background-color: #008799; 
  }
  
  .aviso-dados-cancelamento {
    display: none;
    font-size: 16px;
    color: red;
    height: auto;
    font-weight: 500; 
  }

  .aviso-prazo-cancelamento{
    max-width: 400px;
    text-align: center;
    font-size: 14px;
    margin-top: 10px;
  }
  
  .dentro-do-prazo {
    color: #000081;  
    font-weight: 500; 
  }
  
  .fora-do-prazo {
    color: red;  
    font-weight: 500; 
  }
  
  .prazo-livre {
    color: green;  
    font-weight: 500; 
  }
  
  .prazo-indefinido {
    color: gray;  
    font-weight: 500; 
  }
  
  .central-ajuda{
    position: fixed;
    z-index: 10;
    bottom: 30px;
    right: 30px;
    border-radius: 50%;
    background-color: #00acc1;
    color: white;
    display: flex;
    flex-direction: column; 
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: 40px;
    height: 40px; 
    text-decoration: none;
    font-size: 30px;
}

.central-ajuda:hover{
    background-color: #008799;
}

.ajuda-mobile{
    display: none;
}


@media (max-width: 800px) {
    .agendamento {
        width: 100%; 
    }

    .buscador-agendamentos{
        width: 100%;
    }
    
    h1{
        font-size: 35px;
    }

    .opcao-navbar p{
        display: none;
    } 

    .ajuda-mobile{
        display: block;
    }

    .central-ajuda{
        display: none;
    }

    .container-agendamentos { 
        padding: 0 5px;  
    }
    
}