/* ==========================================================================
   1. CONFIGURAÇÕES GERAIS E RESETS
   ========================================================================== */
html {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 20;
	font-weight: normal;
	line-height: 1.5; 
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%; 	
	background-color: #fff;	
	color: #000;
	}

	body {
	margin: 0;
	position: relative; 
	background-color: #fffcf5;   
	}

*, *:before, *:after {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}

header {
position: fixed; 
width: 100%;
top: 0;
left: 0;   
background-color: #f7f1e8;
background-image: url('../img/predios.png');
background-repeat: no-repeat; 
background-size: cover;
color: white;
padding: 10px;
text-align: center;
border-bottom: 1px solid #d9d7d4;
z-index: 500;
}

footer{
position: fixed; 
width: 100%;
bottom: 0;
left: 0; 
background-color: #f7f1e8;
padding-left: 10px;
padding-right: 10px;
padding-bottom: 2px;
padding-top: 2px;
text-align: center;
}

footer button{
	width: 100%;
	max-width: 900px;
}

main {
width: 100%;
max-width: 900px;
margin: 215px auto;  
padding: 5px;			
}

fieldset{
	 border: 1px solid #ccc; 
	 border-radius: 8px;
     margin-top: 2px;       	 
	}

#imgconteiner{
	position: relative;
	width: 100%;
    max-width: 900px;
	margin: 0 auto;
}

#imgconteiner img{
	width: 25%;
	border: 0;
}

#imgconteiner button{
	width: 35%;
	margin: 0 auto;
}

/* Container principal que simula a largura máxima de um celular */
.app-container, .cadastro-container, .login-container, .painel-container {
    width: 100%;  
    padding: 10px;
    border-radius: 16px;   	
	background-color: #f7f1e8;       
	box-shadow: 0 10px 25px rgba(0,0,0,0.3);             
	color: #fff;  
}

h2, h3 {
    color:#043b64;
    margin-bottom: 20px;
    font-weight: 700;
    text-align: center;
}

/* ==========================================================================
   2. FORMULÁRIOS (Cadastro, Login e Painel)
   ========================================================================== */
form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-top: 12px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
    width: 100%;
    padding: 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px; /* Evita zoom automático indesejado no iOS */
    color: #1e293b;
    background-color: #f8fafc;
    transition: border-color 0.2s, background-color 0.2s;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
}

textarea {
    resize: vertical;
}

/* Estilo específico para grupos de Checkbox no Painel */
.checkbox-group {
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border: 1.5px solid #e2e8f0;
    max-height: 250px;
    overflow-y: auto; /* Cria uma barra de rolagem se houver muitas categorias */
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 8px 0;
    cursor: pointer;	
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
}

.checkbox-label:last-child {
    border-bottom: none;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #2563eb; /* Cor do check azul moderno */
}

/* ==========================================================================
   3. BOTÕES
   ========================================================================== */
button, .btn {
    width: 100%;
    padding: 14px;
    background-color: #f97316; /* Laranja */
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
    margin-top: 20px;
    text-align: center;
    text-decoration: none;
}

button:active, .btn:active {
    transform: scale(0.98);
}

/* Botão específico do WhatsApp (Verde oficial) */
.btn-whatsapp {
	position: absolute;
	bottom: 3%;
	left: 4%;
	width: 100%;
	max-width:92%;	
    background-color: #25d366;   
    justify-content: center;
    align-items: center;
	border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
	text-decoration: none;
	padding: 14px;  
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

.btn-danger {
    background-color: #ef4444;
}

/* ==========================================================================
   4. CARDS DE PROFISSIONAIS (Resultado da Busca)
   ========================================================================== */
#lista-profissionais {
    margin-top: 15px;
}

.lista-profissionais {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-profissional { 
  padding: 8px;
  border-radius: 8px;
  background: #f9fafb;
  border: 1.5px solid #cecece;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-conteudo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ficha-conteudo {
  display: flex;
  width: 100%;
  max-width: 900px;
  align-items: center;
  gap: 8px;
}

.avatar-wrapper {
  width: 30px;
  flex-shrink: 0;
}

.nome-profissional {
  margin: 0;
  font-size: 16px;
  text-align: left;
}

/* Alertas de Mensagem */
.alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}
.alert-success { background-color: #d1fae5; color: #065f46; }
.alert-danger { background-color: #fee2e2; color: #991b1b; }


/* Fundo escuro que cobre toda a tela */
.modal-overlay {
    display: none; /* Inicia oculto. O JavaScript mudará para 'flex' se necessário */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Efeito de desfoque/escurecimento */
    backdrop-filter: blur(5px);
    z-index: 9999; /* Garante que fica por cima de tudo */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-planos{
	position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: abrirModal 0.3s ease-out;
	color: #666666;
}

.modal-ficha-profissional {	
	position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: abrirModal 0.3s ease-out;
}

/* Caixa branca do modal */
.modal-conteudo {	
	position: relative;
    background-color: #ffffff;
    width: 100%;
    max-width: 500px;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: abrirModal 0.3s ease-out;
}

.modal-conteudo img{
	width: 40%;
	margin: 0 auto;
	border: 0;
	margin-top: -20px;
}

.modal-planos img{
	width: 40%;
	margin: 0 auto;
	border: 0;
	margin-top: -20px;
}

/* Título e textos */
.modal-header h2 {
    color: #1a1a1a;
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    color: #666666;
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 25px;
}

/* Estilo de cada botão de cidade */
.btn-cidade {
    background-color: #f8f9fa;
    color: #212529;
    border: 2px solid #e9ecef;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

/* Efeito de passar o mouse / Seleção */
.btn-cidade:hover {
    background-color: #007bff;
    color: #ffffff;
    border-color: #007bff;
    transform: translateY(-2px);
}

/* Animação suave de surgimento */
@keyframes abrirModal {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Estrutura básica do topo para alinhar os elementos */
.topo-sistema {
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #ffffff;
    border-bottom: 1px solid #e9ecef;
    position: sticky;
    top: 0;
    z-index: 100; /* Fica fixo no topo ao rolar a página */
}

/* Estilo do botão de troca */
.btn-mudar-cidade {
    background-color: #f1f3f5;
    color: #495057;
    border: 1px solid #dee2e6;
    padding: 8px 16px;
    border-radius: 20px; /* Cantos bem arredondados */
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

/* Efeito de hover no botão */
.btn-mudar-cidade:hover {
    background-color: #e2e6ea;
    color: #212529;
    border-color: #ced4da;
}

/* Pequena seta para indicar que é um menu clicável */
.seta-troca {
    font-size: 10px;
    color: #adb5bd;
}

.aviso{
	color: #282828;
	padding: 10px;
	margin-top: 10px;
	text-align: center;
}

#xfechar, #btnfechar {
	position:absolute;
	top : 10px;
	right : -10px;
	width: 50px;
	cursor: pointer;
	box-sizing: content-box;
	z-index: 1000;
	} 

#footer-butons {
position: relative;	
display: grid;
width: 100%; 
grid-template-columns: 1fr 1fr;  
gap: 5px;  
}

#bloco-cidade{
position: relative;	
display: grid;
width: 100%;  
grid-template-columns: 1fr 4fr 2fr; 
margin-bottom: 6px;
 margin-top: 12px; 	
gap: 5px;  	
}

#menu_vertical {
	position: fixed;
	top: 0;
	right: 0;
	width: 250px;
	height: 100%;
	background-color: #fff;
	box-shadow: 2px 0px 5px #333;
	transform: translateX(250px);
	transition: transform 0.3s ease-out;
    z-index: 1010!important;	
	}
	#menu_vertical.active {
	transform: translateX(0);
    background-color: #fff;	
	}
	#menu_vertical ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
	background-color: #fff;
	}
	#menu_vertical ul li span {
	display: block;
	padding: 15px;
	color: #333;
	text-decoration: none;
	background-color: #fff;
	}

	#menu_vertical li{
	border-bottom: 1px solid #ccc;
	}

	#menu-button {
	display: none;  
	} 
	
	#centerProf{
	font-weight: 700;
	line-height: 1.5;
	color: #536e7b;"
	}
	
	#imgNeteork{
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
	margin: 0 auto;
	}

#comofunciona{
	width: 100%;
	background-color: #eee;
	padding-left: 10px;
	padding-right: 30px;
	padding-bottom: 10px;
	font-size: 19.5;
	line-height: 1.5; 
	}
	#linksuteis{
	width: 32%;
	float: left;
	background-color: #d9edf7;
	padding-left: 10px;
	padding-right: 10px;	
	}

.btnCadastro{
	width: 100%!important;	
	padding: 12px;	
	font-size: 20px;  
	cursor: pointer;  
	background: rgb(61, 157, 179);
	color: #fff;
	border: 1px solid #fff;   
	margin-bottom: 5px;  
	text-shadow: 0 1px 1px #333;
	-webkit-border-radius: 10px;
	border-radius: 10px;
	transition: all 0.2s linear;	
	}

	/*estilo do botão submit no hover */
	.btnCadastro:hover{
	background: #4ab3c6;
	}

	/* Estilo do botão quando estiver desabilitado */
	.btnCadastro: disabled {
	background-color: #ddd; /* Cor de fundo do botão quando estiver desabilitado */
	color: #aaa; /* Cor do texto do botão quando estiver desabilitado */
	}

.blocoscentrais{	
	width: 100%;
	color: #536e7b;	 
	}
	
	.linhadecorada{
	font-size: 22pt;
	color: #066a75;
	padding: 2px 0 10px 0;
	font-family: Arial,sans-serif;
	font-weight: bold;
	line-height: 1.2; 
	text-align: center;
	padding-bottom: 10px;
	}

	.linhadecorada:after{
	content: ' ';
	display: block;
	width: 100%;
	height: 2px;
	margin-top: 10px;
	background: -webkit-linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	background: linear-gradient(left, rgba(147,184,189,0) 0%,rgba(147,184,189,0.8) 20%,rgba(147,184,189,1) 53%,rgba(147,184,189,0.8) 79%,rgba(147,184,189,0) 100%); 
	}
	
.panelvrine{
position: relative;	
display: grid;
width: 100%;  
grid-template-columns: 1fr 1fr;  
gap: 5px; 	
}

.paneldisponivel{
position: relative;	
display: grid;
width: 100%;  
grid-template-columns: 1fr 1fr;  
gap: 5px; 	
}

.busca-container{
	position: relative;	
display: grid;
width: 100%;  
grid-template-columns: 1fr 1fr;  
gap: 5px; 
}

#quemsomos{
	 width: 40%;
     border: 1px solid #ccc;
     border-radius: 50%; 
	}
#faqperguntas{
	  width: 40%;	
	}
	
#imguser{
	width: 20%;
	margin-bottom: -25px;	
}

#iduserlogin{
	 width: 40%;	
	}
	
.link{	
	background: #e1eaeb;
	color: #7f7c7c;
	left: 0px;
	width: 100%;
	padding: 5px;
	padding-top: 20px;
	padding-bottom: 20px; 
	font-size: 16px;
	text-align: center;
	border-top: 1px solid #dbe5e8;
	cursor: pointer;
	-webkit-border-radius: 0 0  5px 5px;
	border-radius: 0 0  5px 5px;
	}

	.link a {
	font-weight: bold;
	background: #f7f8f1;
	padding: 6px;
	color: rgb(29, 162, 193);	
	border: 1px solid #cbd518;
	text-decoration: none;
	-webkit-border-radius: 4px;
	border-radius: 4px; 	
	-webkit-transition: all 0.4s linear;
	transition: all 0.4s  linear;
	}

	.link a:hover {
	color: #39bfd7;
	background: #f7f7f7;
	border: 1px solid #4ab3c6;
	}
	
.avatar-iniciais {
  display: inline-flex;
  align-items: center;
  justify-content: center; 
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  font-weight: bold;
  font-size: 13px;
  margin-right: 2px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#IdbtnCadastro{
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}


@media only screen and (max-width: 768px) {

body {   
padding: 10px;
}

#IdbtnCadastro{
	width: 80%;	
}

#imguser{
	width: 30%;
	margin-bottom: -25px;	
}


#comofunciona{	
	padding: 20px;
	}
	#linksuteis{
	width: 100%;
	height: auto;
	padding: 20px;	 
	}
	

#imgNeteork{
	width: 100%;
	max-width: 100%;	
	margin: 0 auto;
	}

#centerProf{
	font-weight: 700;
	line-height: 1.2;
	}

#imgconteiner img{
	width: 40%;
	margin: 0 auto;
	border: 0;
}

#imgconteiner button{
	width: 80%;
	margin: 0 auto;
}

main {
margin: 155px auto; 	
}

#footer-butons {
grid-template-columns: 1fr;  
gap: 0;
}

#bloco-cidade{
grid-template-columns: 1fr; 	
gap: 0;  	
}

.panelvrine{ 
grid-template-columns: 1fr;  
gap: 0; 	
}

.busca-container{ 
grid-template-columns: 1fr;  
gap: 0; 
}

button, .btn {   
    margin-top: 5px;
}

.modal-conteudo img{
	width: 50%;	
}

.modal-planos img{
	width: 50%;	
}

#menu-button {
	position: absolute;
	top: -5px;
	right: -5px;
	width: 100%;
	max-width: 50px;
	height: 50px;
	border-radius: 25px;      
	display: block;      
	cursor: pointer;
    z-index: 1011;	
	}
	
#quemsomos{
	 width: 80%;	
	}

#faqperguntas{
	  width: 80%;	
	}
	
#iduserlogin{
	 width: 60%;	
	}
	
footer button{
	width: 100%;	
}

.paneldisponivel{ 
grid-template-columns: 1fr;  
gap: 0;  	
}

.ficha-conteudo {
  display: flex;
  width: 98%;  
}

}