/*dados/dados.css*/
/* ============================================================
   VARIÁVEIS E RESETS (Comum a todas as páginas)
   ============================================================ */
:root {
    --primary-color: #1a73e8;
    --bg-color: #f8fafd;
    --text-main: #202124;
    --text-muted: #5f6368;
    --card-bg: #ffffff;
    --border-color: #dadce0;
	--cor-azul-vibrante: #3f51b5;
	--cor-azul: #1a73e8;
	--btn-brilho: brightness(0.8);
}

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* ============================================================
   ESTILOS GERAIS DE ESTRUTURA
   ============================================================ */
body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    flex-direction: column; /* Força o Header a ficar no topo e o conteúdo embaixo */
    min-height: 100vh;
}
.btn-normal {
    background: var(--cor-azul); 
    color: white;
    border: none;
    padding: 10px 17px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}
.btn-normal:hover {
	filter: var(--btn-brilho);
}

/* ============================================================
   RESPONSIVIDADE
   ============================================================ */
@media (max-width: 600px) {
    .row { flex-direction: column; }
    .med-item.row { gap: 0; }
    .profile-grid { grid-template-columns: repeat(3, 1fr); } /* Melhora em telas pequenas */
}
/* ============================================================
   DASHBOARD CONTAINER
   ============================================================ */
.dashboard-container {
	/*
	margin-top: 0px;
    padding-top: 0px;
	border: 1px solid var(--border-color);
	*/
}

/* ============================================================
   COMPONENTES DE FORMULÁRIO (Login, Cadastro e Anamnese)
   ============================================================ */
.form-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
	margin-bottom: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    text-align: left;
}

.input-group { margin-bottom: 15px; }
.input-group label { font-size: 13px; font-weight: 600; margin-bottom: 8px; }

input, textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fdfdfd;
}

textarea { resize: vertical; }

.row { display: flex; gap: 10px; }

/* Botão Principal (Salvar / Entrar) */
.btn-primary {
    width: 100%;
    background: var(--cor-azul);
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    display: flex;
	text-decoration: none;
    justify-content: center;
    align-items: center;
}

.btn-primary:hover {
	filter: var(--btn-brilho);
}

/* Ajustes para Anamnese / Grandes Formários */
.container-large { 
    width: 100%; 
    max-width: 800px;
    margin: 20px auto; 
}

fieldset { 
    border: 1px solid var(--border-color); 
    border-radius: 12px; 
    padding: 20px; 
    margin-bottom: 25px; 
}

legend { 
    font-weight: bold; 
    color: var(--primary-color); 
    padding: 0 10px; 
}

.checkbox-group { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 15px; 
    align-items: center; 
    background: #f1f3f4; 
    padding: 10px; 
    border-radius: 8px; 
}

.check-item { 
	/*width: 100px; border: 1px #000 solid;*/
    font-size: 14px; 
    display: flex; 
    align-items: center; 
    gap: 5px; 
    cursor: pointer; 
}

/* ============================================================
   COMPONENTES DE FORMULÁRIO (Cores Unificadas)
   ============================================================ */

/* Botão Salvar Anamnese */
.btn-add {
    background: var(--cor-azul);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
	color: white;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    transition: 0.3s;
}

.btn-add:hover {
	filter: var(--btn-brilho);
}

.btn-remove { 
    background: #ea4335; 
    width: 32px; 
    height: 32px; 
    border: none; 
    border-radius: 50%; 
    cursor: pointer; 
    color: white; 
    font-size: 13px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.2s;
}

.btn-remove:hover {
	filter: var(--btn-brilho);
}

/* ============================================================
   ESTILOS EXCLUSIVOS DA TELA DE ACESSO / LOGIN
   ============================================================ */

.pg-acesso .container {
    width: 100%;
    max-width: 450px;
    text-align: center;
    margin: 40px auto; /* Dá um espaçamento do header e centraliza horizontalmente */
    flex-grow: 1; /* Faz o container ocupar o espaço restante */
}

.pg-acesso .header-section h1 {
    font-size: 24px;
    margin-bottom: 8px;
}

.pg-acesso .header-section p {
    color: var(--text-muted);
    font-size: 14px;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
    margin: 25px 0;
}

.profile-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 5px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 11px;
    color: var(--text-muted);
}

.profile-card.active {
    border-color: var(--primary-color);
    background-color: #eaf2fd;
    color: var(--primary-color);
    box-shadow: 0 0 0 1px var(--primary-color);
}

.icon-circle { font-size: 18px; margin-bottom: 5px; }

.subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.tabs-container {
    background: #eeeeee;
    border-radius: 10px;
    display: flex;
    padding: 4px;
    margin-bottom: 20px;
}

.tab-btn {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    background: transparent;
    color: var(--text-muted);
    font-weight: 500;
}

.tab-btn.active {
    background: white;
    color: var(--text-main);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.password-wrapper { position: relative; }
.toggle-pass {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    cursor: pointer;
}

.forgot-pass {
    display: block;
    text-align: right;
    font-size: 13px;
    color: var(--primary-color);
    text-decoration: none;
    margin-bottom: 20px;
}


/* ============================================================
   ESTILOS DO HEADER (header.html)
   ============================================================ */
.main-header {
    background-color: var(--cor-azul-vibrante); /* Azul vibrante da imagem */
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: bold;
}
.nav-links {
    display: flex;
    gap: 20px;
}
.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}
.btn-acessar {
    background: white;
    color: #3f51b5;
    padding: 8px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}
.btn-acessar:hover {
	filter: var(--btn-brilho);
}
.btn-desconectar {
	z-index: 1000; 
	position: fixed; 
	top: 15px; 
	right: 10px; 
	background: #d93025; 
    width:60px; 
	padding: 5px; 
	border-radius: 4px;
	text-align: center;
	text-decoration: none; 
	font-weight: bold;
	color:#eee; 
}
.btn-desconectar:hover {
	filter: var(--btn-brilho);
}

/* ============================================================
   ESTILOS DA PÁGINA INICIAL (INDEX)
   ============================================================ */
.hero-section {
    text-align: center;
    padding: 60px 20px;
}
.hero-section h2 {
    font-size: 36px;
    color: #202124;
    margin-bottom: 15px;
}
.hero-section p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    padding: 40px 5%;
    max-width: 1200px;
    margin: 0 auto;
}
.feature-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: left;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}
.feature-card:hover { transform: translateY(-5px); }
.feature-icon {
    width: 45px;
    height: 45px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 20px;
}

/* Cores dos ícones conforme a imagem */
.icon-blue { background: #e8f0fe; color: #1a73e8; }
.icon-green { background: #e6f4ea; color: #34a853; }
.icon-purple { background: #f3e8ff; color: #a855f7; }

.video-container-section {
    background-color: #f1f3f4;
    padding: 60px 5%;
    border-radius: 20px;
    max-width: 1100px;
    margin: 40px auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.video-text { flex: 1; }
.video-preview-box {
    flex: 1;
    background: linear-gradient(135deg, #1a73e8, #00d2ff);
    height: 250px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: bold;
    box-shadow: 0 10px 20px rgba(26, 115, 232, 0.3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.main-footer {
    background-color: #202124;
    color: #ffffff;
    padding: 40px 5% 20px 5%;
    margin-top: auto; /* Empurra o footer para o fim da página */
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-info p {
    color: #bdc1c6;
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.6;
}
.footer-links h4, .footer-social h4 {
    margin-bottom: 15px;
    font-size: 16px;
}
.footer-links a {
    display: block;
    color: #bdc1c6;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 14px;
    transition: 0.3s;
}
.footer-links a:hover { color: white; }
.social-icons {
    display: flex;
    gap: 15px;
    font-size: 20px;
}

.social-icons a { color: white; text-decoration: none; transition: 0.3s; }
.social-icons a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #3c4043;
    font-size: 12px;
    color: #bdc1c6;
}

/* ============================================================
   COOKIES
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 5%;
    right: 5%;
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.cookie-content { font-size: 14px; color: var(--text-main); max-width: 70%; }
.cookie-btns { display: flex; gap: 10px; }

.btn-outline {
    border: 1px solid #202124;
    padding: 8px 20px;
    border-radius: 6px;
    background: transparent;
    cursor: pointer;
    font-weight: bold;
}
