:root {
    --primary-color: #7d4e2b; /* Marrom suave ou verde do seu logo */
    --bg-light: #f8f9fa;
    --text-dark: #333;
    --border-color: #eee;
}

body { font-family: 'Segoe UI', sans-serif; background: var(--bg-light); margin: 0; padding-bottom: 70px; }

/* Header */
.main-header { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px 20px; background: white; border-bottom: 1px solid var(--border-color);
}
.header-actions i { font-size: 1.5rem; margin-left: 15px; color: #666; }

/* Filtros */
.filter-bar { display: flex; gap: 10px; padding: 15px; }
.filter-bar button { 
    flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 8px; 
    background: white; color: #555; font-weight: 500;
}

/* Card de Lote */
.lote-card { 
    background: white; margin: 0 15px 20px; border-radius: 12px; 
    overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
}
.video-wrapper { position: relative; height: 200px; background: #ddd; }
.lote-tag { 
    position: absolute; top: 10px; left: 10px; background: rgba(0,0,0,0.7); 
    color: white; padding: 4px 10px; border-radius: 4px; font-size: 0.8rem;
}
/* Remove formatação padrão dos links do header e dos cards */
.profile-link, .link-cadastro-card {
    color: inherit;
    text-decoration: none;
}

.link-cadastro-card:hover {
    text-decoration: underline; /* Apenas um feedback visual ao tocar/passar o mouse */
}
.video-wrapper img { width: 100%; height: 100%; object-fit: cover; }

.lote-info { padding: 15px; border-bottom: 1px solid #f0f0f0; }
.info-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 0.9rem; }
.price-call { font-weight: bold; font-size: 0.85rem; }
.free-badge { background: #d35400; color: white; padding: 2px 5px; border-radius: 4px; }
.second-row { color: #888; }

.ver-lote { 
    display: flex; justify-content: space-between; align-items: center; 
    padding: 15px; text-decoration: none; color: var(--text-dark); font-weight: bold; 
}

/* Rodapé Fixo */
.bottom-nav { 
    position: fixed; bottom: 0; width: 100%; background: white; 
    display: flex; justify-content: space-around; padding: 10px 0;
    border-top: 1px solid var(--border-color);
}
.bottom-nav a { text-decoration: none; color: #888; font-size: 0.75rem; text-align: center; }
.bottom-nav i { display: block; font-size: 1.4rem; margin-bottom: 4px; }
.bottom-nav a.active { color: var(--primary-color); }
/* =========================================
   ESTILOS DAS PÁGINAS DE LOGIN E CADASTRO
========================================= */
.bg-gray { background-color: var(--bg-light); }

.simple-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; background: white; border-bottom: 1px solid var(--border-color);
}

.btn-voltar {
    text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 1rem;
}

.auth-wrapper { 
    padding: 20px; display: flex; justify-content: center; margin-top: 30px;
}

.auth-container {
    background: white; padding: 30px 25px; border-radius: 12px;
    width: 100%; max-width: 400px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); text-align: center;
}

.auth-container h3 { margin-top: 0; color: var(--primary-color); font-size: 1.5rem;}
.auth-container p { color: #666; font-size: 0.95rem; margin-bottom: 25px; }

.input-agro {
    width: 100%; padding: 14px; margin-bottom: 15px;
    border: 1px solid #ccc; border-radius: 8px;
    font-size: 1rem; box-sizing: border-box; background-color: #fafafa;
}
.input-agro:focus { 
    border-color: var(--primary-color); outline: none; background-color: #fff;
}

.btn-primary {
    width: 100%; padding: 14px;
    background-color: var(--primary-color); color: white;
    border: none; border-radius: 8px;
    font-size: 1rem; font-weight: bold; cursor: pointer;
    transition: background 0.3s; margin-top: 10px;
}
.btn-primary:hover { background-color: #5c3920; /* Tom um pouco mais escuro da cor primária */ }

.code-inputs input {
    width: 100%; padding: 15px; font-size: 2rem;
    text-align: center; letter-spacing: 15px;
    border: 1px solid #ccc; border-radius: 8px; margin-bottom: 25px;
    box-sizing: border-box;
}
.code-inputs input:focus { border-color: var(--primary-color); outline: none; }
/* =========================================
   ESTILOS DA PÁGINA DE PERFIL
========================================= */
.pb-bottom-nav { padding-bottom: 90px; } /* Espaço para o menu inferior */
.mt-15 { margin-top: 15px; }

/* Cabeçalho do Perfil (Avatar, Nome, Telefone) */
.profile-header {
    text-align: center;
    padding: 40px 20px 20px;
    background: #ffffff; /* Fundo branco para receber a imagem de padrão circular se necessário */
}
.avatar-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.profile-avatar { width: 60%; height: auto; }
.profile-name { margin: 0; font-size: 1.2rem; color: #333; font-weight: bold; }
.profile-phone { margin: 5px 0 0; font-size: 0.9rem; color: #666; }

.profile-content { padding: 15px; }

/* Banner de Alerta (Não perca boas oportunidades) */
.alert-banner {
    display: flex;
    align-items: center;
    background-color: #fff4ed; /* Laranja bem claro */
    border: 1px solid #f2dac9;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}
.alert-icon {
    background-color: #c85a17; /* Laranja/Marrom forte */
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}
.alert-text { flex: 1; }
.alert-text strong { display: block; font-size: 0.95rem; color: #333; margin-bottom: 3px; }
.alert-text span { display: block; font-size: 0.8rem; color: #c85a17; }
.alert-arrow { color: #c85a17; font-size: 0.9rem; margin-left: 10px; }

/* Menu de Opções (Cards) */
.menu-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}
.menu-item {
    display: flex;
    align-items: center;
    padding: 18px 20px;
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    color: #333;
}
.menu-item:last-child, .no-border { border-bottom: none; }
.menu-icon {
    width: 30px;
    color: #df7a42; /* Laranja dos ícones */
    font-size: 1.1rem;
    display: flex;
    justify-content: flex-start;
}
.menu-title { flex: 1; font-size: 0.95rem; font-weight: 500; }
.menu-actions {
    display: flex;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* Indicadores (Ponto e Badge) */
.dot-indicator {
    width: 8px; height: 8px;
    background-color: #d35400;
    border-radius: 50%;
    margin-right: 10px;
}
.badge-new {
    background-color: #d35400;
    color: white;
    font-size: 0.65rem;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 12px;
    margin-right: 10px;
}

/* Rodapé do Perfil (Social e Links) */
.profile-footer { text-align: center; margin-top: 30px; padding-bottom: 20px; }
.social-links { margin-bottom: 20px; }
.social-links a {
    color: #888;
    font-size: 1.5rem;
    margin: 0 10px;
    text-decoration: none;
}
.legal-links { font-size: 0.8rem; color: #aaa; margin-bottom: 15px; }
.legal-links a { color: #d35400; text-decoration: none; font-weight: 500; }
.delete-account { font-size: 0.8rem; color: #aaa; text-decoration: none; }

/* Ajuste no Nav Bottom para o Perfil (Ponto Laranja) */
.nav-dot {
    position: absolute;
    top: 5px; right: 20px;
    width: 6px; height: 6px;
    background-color: #d35400;
    border-radius: 50%;
}
.bottom-nav a { position: relative; }
/* =========================================
   ESTILOS DA PÁGINA "MEU CADASTRO"
========================================= */

/* Header com botão voltar circular */
.btn-voltar-icon {
    width: 35px; height: 35px;
    border: 1px solid #ccc;
    border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    color: #333; text-decoration: none;
}
.header-title { font-size: 1.2rem; font-weight: 600; margin: 0; color: #333; }

.cadastro-content { padding: 0 15px 20px; }

/* Cabeçalhos de Seção */
.section-header {
    margin: 25px 0 10px 5px;
    font-size: 0.8rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.flex-between { display: flex; justify-content: space-between; align-items: center; }

/* Cards de Dados */
.data-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}

/* Linhas dentro do Card */
.data-row {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}
.data-row.no-border { border-bottom: none; }

/* Ícones dos campos */
.data-icon {
    width: 36px; height: 36px;
    background-color: #fff4ed; /* Laranja bem clarinho */
    color: #c85a17; /* Laranja escuro */
    border-radius: 8px;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.1rem;
    margin-right: 15px;
    flex-shrink: 0;
}

/* Textos e Labels */
.data-text { flex: 1; display: flex; flex-direction: column; }
.data-label { font-size: 0.75rem; color: #999; margin-bottom: 3px; }
.data-value { font-size: 0.95rem; }
.data-value.filled { font-weight: 600; color: #333; }
.data-value.empty { color: #aaa; font-style: italic; }
.mt-only { margin-top: 5px; } /* Usado quando não tem label (ex: Raças) */

/* Botões Editar */
.btn-edit {
    color: #c85a17;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    margin-left: 10px;
}

/* Barra de Ação Inferior (Fixa) */
.pb-action-bar { padding-bottom: 90px; }
.bottom-action-bar {
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: white;
    padding: 15px 20px;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
    z-index: 10;
}
.btn-action-full {
    width: 100%;
    background-color: #b54a10; /* Marrom/Laranja da imagem */
    color: white;
    padding: 15px;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}
.btn-action-full:hover { background-color: #8f3a0c; }

/* =========================================
   COMPONENTES DE FORMULÁRIO (Telas de Edição)
========================================= */
.edit-header-btn {
    border: 1px solid #c85a17; color: #c85a17;
    background: transparent; padding: 5px 12px;
    border-radius: 20px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
}
.icon-title-section { text-align: center; margin: 30px 0; }
.icon-title-section h3 { margin: 0; font-size: 1.4rem; color: #333; }
.icon-title-section p { margin: 5px 0 0; color: #888; font-size: 0.9rem; }

/* Botões Estilo "Pill" (Quero Comprar / Vender) */
.pill-group { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 25px; }
.pill-btn {
    border: 1px solid #ddd; background: white; color: #555;
    padding: 10px 20px; border-radius: 25px;
    font-size: 0.9rem; font-weight: 500; cursor: pointer; transition: 0.3s;
}
.pill-btn.active {
    border-color: #c85a17; background-color: #fff4ed; color: #c85a17;
}

/* Cards Estilo Radio (Imediatamente / Próximas semanas) */
.radio-card-group { display: flex; flex-direction: column; gap: 10px; }
.radio-card {
    display: flex; align-items: center; justify-content: space-between;
    border: 1px solid #ddd; background: white;
    padding: 15px; border-radius: 12px; cursor: pointer; transition: 0.3s;
}
.radio-card.active { border-color: #c85a17; background-color: #fff4ed; }
.radio-card-content { display: flex; align-items: center; gap: 15px; }
.radio-card-icon { font-size: 1.2rem; }
.radio-card-text strong { display: block; font-size: 0.95rem; color: #333; }
.radio-card-text span { font-size: 0.8rem; color: #888; }
.radio-circle {
    width: 20px; height: 20px; border: 2px solid #ddd;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.radio-card.active .radio-circle { border-color: #c85a17; }
.radio-card.active .radio-circle::after {
    content: ''; width: 10px; height: 10px; background: #c85a17; border-radius: 50%;
}
/* =========================================
   WRAPPER PARA INPUT COM ÍCONE INTERNO
========================================= */
.input-icon-wrapper {
    position: relative;
    margin-top: 40px;
}
.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 15px;
    color: #c85a17;
    font-size: 1.1rem;
}
.input-icon-wrapper input.input-agro {
    padding-left: 45px; /* Empurra o texto para não ficar em cima do ícone */
}