/* ========================
   Parte 1 - Reset, Layout e Header
======================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Poppins", sans-serif;
}
body {
  background-color: #fff;
  color: #333;
  min-height: 100vh;
}

main {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

header {
  width: 100%;
  color: white;
  text-align: center;
}

.header-fixo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background-color: white; /* Ou a cor que desejar */
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: #64a002;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1em;
  padding: 5px 20px;
  height: 60px; /* ajuste conforme necessário */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.top-bar img {
  max-width: 100%;
  height: auto;
}
.top-bar div {
  display: flex;
  align-items: center;
  gap: 40px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: white;
  padding: 15px 20px;
  border-bottom: 2px solid #f0eef6;
  font-size: 1em;
  position: sticky; /* Faz o menu "grudar" na tela */
  top: 0; /* Define que ele deve ficar no topo da janela de visualização */
  z-index: 1000; /* Garante que o menu fique por cima de outros elementos da página */
  
}
nav .logo {
  width: 150px;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
}

.nav-bar {
  position: fixed;
  top: 0px; /* altura exata da .top-bar */
  left: 0;
  right: 0;
  z-index: 999;
  background-color: rgb(255, 255, 255);
  padding: 10px 20px;
  display: flex;
  min-height: 20px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
  height: 60px; /* ou ajuste conforme seu layout */
}

/* slot central que contém o breadcrumb */
.nav-crumb-slot{
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translate(-50%,-50%); /* centraliza na barra */
  padding: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  
  display: inline-block;

  /* truque: o container não captura cliques, mas os links sim */
  pointer-events: none;
  z-index: 1; /* acima do fundo da nav, abaixo dos botões se necessário */
}
.nav-crumb-slot a,
.nav-crumb-slot button,
.nav-crumb-slot * { pointer-events: auto; }

/* aparência do breadcrumb dentro da nav (sem barra cinza) */
.nav-crumb-slot .breadcrumb-list{
  list-style: none;
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-size: .92rem;
}
.nav-crumb-slot .breadcrumb-list li{ color:#6b7280; }
.nav-crumb-slot .breadcrumb-list li::after{
  content: "›"; margin: 0 2px; color:#ffffff;
}
.nav-crumb-slot .breadcrumb-list li:last-child::after{ content:""; }
.nav-crumb-slot .breadcrumb-list a{
  color:#64a002; text-decoration:none; font-weight:500;
}
.nav-crumb-slot .breadcrumb-list .active{
  font-weight:700; color:#ffffff;
}

/* MOBILE: manter breadcrumb visível e compacto */
@media (max-width: 768px){
  .nav-crumb-slot{
    display:block;                 /* não esconder */
    position:absolute;
    left:32%;
    top:60%;
    transform:translate(-50%,-50%);
    max-width: 72vw;               /* cabe entre logo e botão Sair */
    font-size: .85rem;             /* menor no mobile */
    white-space: nowrap;
    overflow-x: auto;              /* rolagem se não couber */
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;         /* Firefox: oculta barra */
  }
  .nav-crumb-slot::-webkit-scrollbar{ display:none; } /* WebKit: oculta barra */

  .nav-crumb-slot .breadcrumb-list{
    gap: 4px;
  }
}

/* opcional: garanta que fique por cima do fundo da nav */
.nav-crumb-slot{ z-index: 5; }

.user-actions button {
  background-color: #fe5668;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.button {
  background-color: #fe5668;
  color: white;
  border: none;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
}

/* ========================
   Parte 2 - Hero, Formulários e Inputs
======================== */
.hero {
  text-align: center;
  padding: 50px 20px;
  justify-content: center;
}
.hero img {
  max-width: 100%;
  height: auto;
}
.hero h1 {
  font-size: 2rem;
  color: #4d4b5c;
}
span {
  border-radius: 14px;
  padding: 0px 16px;
  background: #64A002;
  color: #fff;
}
span-chat {
  border-radius: 10px;
  padding: 0px 7px;
  background: #000000;
  color: #fff;
}
.home-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.home-intro-banner {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
}

.form-container {
  background: white;
  border-radius: 16px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 960px;
  padding: 40px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  }
  
.form-header {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 20px;
}
.form-header span {
  background: #48a048;
  font-weight: 700;
}
.options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  justify-content: space-between;
  gap: 15px;
  align-items: stretch;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.options .option {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 80px;
}

.option {
  flex: 1 1 120px;
  padding: 10px;
  border: 2px solid #e4e4e4;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 1em;
  justify-content: center;
  height: 100%;
}

.option img {
  width: 32px;
  height: 32px;
  transition: 0.2s ease;
}

/* Aqui aplicamos aumento com base na classe diretamente na IMG */
.option img.icon-adestramento,
.option img.icon-veterinario-em-casa {
  width: 40px;
  height: 40px;
}

.option img.icon-taxi-dog {
  /*width: 32px;
 height: 32px;*/
 transform: scale(1.50); 
 margin-bottom: 2px;
}

.option.active {
  border-color: #f75d5d;
  background-color: #fff5f5;
}

.inputs {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.input-group {
  flex: 1 1 25%;
  display: flex;
  flex-direction: column;
  padding: 12px;
  min-width: 100px;
}
.input-group label {
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 8px;
}
.input-group select,
.input-group input {
  padding: 12px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
}
input[type="date"] {
  padding: 12px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  cursor: pointer;
}

.submit-btn {
  padding: 12px 24px;
  background-color: #f75d5d;
  color: white;
  font-size: 1em;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 100%;
}
.submit-btn:hover {
  background-color: #e04c4c;
}

/* ========================
   Parte 3 - Serviços e Seção Saiba Mais
======================== */
.services-section {
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  text-align: center;
}
.services-header h2 {
  font-size: 24px;
  color: #64A002;
  margin-bottom: 10px;
}
.services-header p {
  font-size: 1em;
  font-family: Poppins;
  color: #282733;
  text-align: center;
  padding-bottom: 20px;
}
.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.service-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  padding: 12px;
  width: 100%;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.service-info {
  width: 100%;
  padding-top: 8px;
  display: flex;
  justify-content: center;
}


.service-info h3 {
  width: 100%; /* garante que ocupe toda a largura */
  margin: 0;
  font-size: 16px;
  background-color: #ff6584;
  color: white;
  padding: 8px 0;
  border-radius: 8px;
  box-sizing: border-box; /* para respeitar padding */
  text-align: center;
}


/* ========================
   Seção FAQ (Saiba mais)
======================== */
.section-03 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding: 0 24px;
  background: #FAFFF2;
  border-radius: 14px;
  gap: 2rem;
  padding: 2rem 1rem;
}
.image img {
  width: 100%;
  height: auto;
  border-radius: 14px;
}
.content {
  width: 558px;
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.title {
  font-size: 32px;
  font-weight: 600;
  color: #040405;
}
.subtitle {
  font-size: 1em;
  font-weight: 400;
  color: #282733;
}
.accordion {
  border: 1px solid #D7D3E1;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-header {
  background: white;
  padding: 16px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.accordion-content {
  background: white;
  padding: 16px;
  display: none;
  font-size: 1em;
}
.accordion.active .accordion-content {
  display: block;
}
/* ========================
   Parte 4 - Formulário de Cadastro e Responsividade
======================== */
.signup {
  padding: 50px 20px;
  text-align: center;
  width: 100%;
}
.signup h2 {
  color: #67B13D;
}
.signup form {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.signup form label {
  font-weight: bold;
  text-align: left;
}
.signup form input,
.signup form select {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
}
.signup form button {
  background-color: #fe5668;
  color: white;
  padding: 10px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
}
.signup form button:hover {
  background-color: #e04c4c;
}

@media (max-width: 768px) {
  .signup form {
    padding: 0 10px;
  }
  .signup h2 {
    font-size: 1.5rem;
  }
  .signup form button {
    width: 100%;
  }
}
/* ========================
   Parte 5 - Newsletter e Rodapé
======================== */
.cta-section {
  background-color: #67B13D;
  padding: 20px 32px;
  border-radius: 16px;
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  width: 100%;
}
.cta-text {
  color: #fff;
  flex: 1;
}
.cta-text h2 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
}
.cta-text p {
  font-size: 1em;
  font-weight: 400;
}
.cta-form {
  display: flex;
  gap: 16px;
  flex-direction: row;
  flex: 2;
}
.cta-input {
  width: 100%;
  flex: 1;
  padding: 12px 16px;
  font-size: 1em;
  font-weight: 400;
  color: #333;
  border: none;
  border-radius: 8px;
  outline: none;
  background-color: #fff;
}
.cta-input::placeholder {
  color: #8D8B9C;
}
.cta-input:focus {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
}
.cta-button {
  padding: 12px 24px;
  font-size: 1em;
  font-weight: 600;
  color: #fff;
  background-color: #FE5668;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.cta-button:hover {
  background-color: #e65475;
}

.footer {
  width: 100%;
  background-color: #FAFFF2;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  flex: 1;
  min-width: 250px;
}
.footer-logo p {
  font-size: 1em;
  color: #333;
  margin: 8px 0;
}
.social-media {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
}
.social-media p {
  font-size: 1em;
  font-weight: 600;
  color: #333;
}
.social-media a img {
  max-width: 100%;
  height: auto;
}
.footer-links {
  flex: 1;
  min-width: 200px;
}
.footer-links h3 {
  font-size: 16px;
  font-weight: 600;
  color: #000;
  margin-bottom: 12px;
}
.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-links ul li a {
  font-size: 1em;
  font-weight: 400;
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links ul li a:hover {
  color: #67B13D;
}
.footer-bottom {
  width: 100%;
  background-color: #67B13D;
  text-align: center;
  padding: 16px;
  color: #fff;
  font-size: 1em;
  font-weight: 400;
}

@media (max-width: 768px) {
  .cta-container,
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .cta-form {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }
  .cta-input,
  .cta-button {
    width: 100%;
  }
  .footer-logo,
  .footer-links {
    text-align: center;
  }
}
#login-section {
  background: #ffffff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 30px 20px;
  margin: 40px auto;
  max-width: 400px;
  width: 90%;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  text-align: left;
}

#login-section h2 {
  font-size: 1.8rem;
  color: #67B13D;
  margin-bottom: 20px;
  text-align: center;
}

#login-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
}

#login-form input {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 1rem;
}

#login-form button {
  background-color: #fe5668;
  color: #fff;
  border: none;
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#login-form button:hover {
  background-color: #e04c4c;
}

.services-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.service-card {
  width: 200px;
  text-align: center;
}

@media (max-width: 768px) {
  .service-card {
    width: 100%;
    max-width: 300px;
  }
}

.section-03 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 40px 16px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.section-03 .image {
  flex: 1 1 300px;
  max-width: 100%;
  text-align: center;
}

.section-03 .image img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 16px;
  object-fit: cover;
  box-sizing: border-box;
}

.section-03 .content {
  flex: 1 1 300px;
  max-width: 600px;
  width: 100%;
  padding: 0 16px;
  box-sizing: border-box;
}

.section-03 .accordion-content {
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 768px) {
  .section-03 {
    flex-direction: column;
    text-align: center;
  }

  .section-03 .content {
    padding: 0 10px;
  }

  .section-03 .image img {
    max-width: 100%;
  }
}

.horarios-lista {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.horarios-lista li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  padding: 6px 10px;
  background-color: #f8f8f8;
  border-left: 4px solid #5cb85c;
  border-radius: 4px;
  font-size: 15px;
}

    .dashboard-card {
        min-height: 240px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
        border: none;
        padding: 20px;
        height: 100%;
    }

    .dashboard-card .card-header {
        font-weight: 600;
        font-size: 1.25rem;
        border-bottom: none;
        background-color: transparent;
        padding: 0;
        margin-bottom: 10px;
    }

    .dashboard-card .card-body p {
        flex: 1;
        margin-bottom: 15px;
        color: #444;
        font-size: 1rem;
    }

    @media (max-width: 768px) {
        .dashboard-card {
            padding: 16px;
        }

        .dashboard-card .card-header {
            font-size: 1.1rem;
        }

        .dashboard-card .card-body .btn {
            width: 100%;
        }

        .dashboard-card .card-body .btn + .btn {
            margin-top: 10px;
        }
        .acordeao-lista {
          padding: 0;
          margin: 0;
          list-style: none;
        }
        
        .acordeao-item {
          border-bottom: 1px solid #ddd;
          margin-bottom: 10px;
        }
        
        .acordeao-titulo {
          width: 100%;
          background: none;
          border: none;
          font-size: 16px;
          font-weight: bold;
          padding: 8px 0;
          cursor: pointer;
          text-align: left;
          color: #333;
        }
        
        .acordeao-conteudo {
          display: none;
          padding: 5px 0 10px;
          font-size: 14px;
          color: #444;
        }
        
        .acordeao-item.ativo .acordeao-conteudo {
          display: block;
        }
        
/* ========================
   Seção BUSCA
======================== */
    .form-busca-wrapper .form-container {
      background: #fff;
      border-radius: 16px;
      padding: 24px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
      max-width: 800px;
      margin: 0 auto;
      display: flex;
      flex-direction: column;
      gap: 20px;
    }
    
    .form-busca-wrapper .servico-opcoes {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      justify-content: center;
    }
    
    .form-busca-wrapper .servico-botao {
      border: 1px solid #ddd;
      background: #fff;
      padding: 10px 16px;
      border-radius: 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      font-weight: 500;
      transition: all 0.2s ease-in-out;
      font-size: 14px;
    }
    
    .form-busca-wrapper .servico-botao img {
      width: 32px;
      height: 32px;
    }
    
    .form-busca-wrapper .servico-botao.ativo {
      border: 2px solid #ff5c7c;
      background: #ffeef1;
      color: #ff5c7c;
    }
    
    .form-busca-wrapper .inputs {
      display: flex;
      flex-wrap: wrap;
      gap: 16px;
    }
    
    .form-busca-wrapper .input-group {
      flex: 1 1 250px;
      display: flex;
      flex-direction: column;
    }
    
    .form-busca-wrapper .input-group label {
      font-size: 14px;
      font-weight: 600;
      margin-bottom: 6px;
    }
    
    .form-busca-wrapper .input-group select,
    .form-busca-wrapper .input-group input {
      padding: 12px;
      border: 1px solid #e4e4e4;
      border-radius: 8px;
      font-size: 1em;
      width: 100%;
      box-sizing: border-box;
    }
    
    .form-busca-wrapper .submit-btn {
      background: #ff5c5c;
      border: none;
      color: white;
      padding: 14px;
      font-size: 16px;
      font-weight: bold;
      border-radius: 10px;
      width: 100%;
      cursor: pointer;
      transition: background 0.3s;
    }
    
    .form-busca-wrapper .submit-btn:hover {
      background: #e74c3c;
    }
    .btn-close {
      background-color: transparent;
      background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23333' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 4.646a.5.5 0 011 0L8 7.293l2.354-2.647a.5.5 0 11.708.708L8.707 8l2.647 2.354a.5.5 0 11-.708.708L8 8.707l-2.354 2.647a.5.5 0 11-.708-.708L7.293 8 4.646 5.646a.5.5 0 010-.708z'/%3E%3C/svg%3E");
      background-repeat: no-repeat;
      background-position: center;
      background-size: 1em;
      width: 1em;
      height: 1em;
      border: none;
      opacity: 1;
    }
.input-password {
  position: relative;
  display: flex;
  align-items: center;
}

.input-password input {
  width: 100%;
  padding-right: 40px; /* Garante espaço para o ícone */
  box-sizing: border-box;
}

/* Esta regra agora se aplica à tag <i> e não sofre interferência */
.toggle-password {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  cursor: pointer;
  
  /* Reset de estilos para garantir */
  background: none;
  border: none;
  padding: 0;
  
  /* Definindo o tamanho do ícone */
  width: 20px;
  height: 20px;
}

.toggle-password img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s ease-in-out;
}

.toggle-password:hover img {
  opacity: 1;
}

/* Contêiner principal do autocomplete */
.pac-container {
    z-index: 9999 !important;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
    font-size: 14px;
}

/* Cada item da lista */
.pac-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    background-color: #fff;
    transition: background 0.2s;
}

.pac-item:hover {
    background-color: #f1f1f1;
}

/* Texto destacado (ex: parte em negrito que foi digitada) */
.pac-item-query {
    font-weight: bold;
    color: #333;
}

/* Ícone do pin */
.pac-icon {
    display: none; /* ou customize com background-image se quiser */
}

/* Localização (parte do país, cidade, etc.) */
.pac-item .pac-item-details {
    color: #666;
    font-size: 12px;
}

.modal {
  display: none; /* escondido por padrão */
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  border: 1px solid #888;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  color: #333;
  z-index: 10000;
  position: relative;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
}
}

.breadcrumb-nav {
  padding: 10px 20px;
  background-color: transparent;
  font-size: 1em;
  border: none;
  margin-top: 60px; /* se tiver header fixo */
  max-width: 100%;
  overflow: hidden;            /* corta excesso */
  white-space: nowrap;         /* tudo em uma linha */
  padding: 0;
}

.breadcrumb-nav .ap-bc{
  display: flex;
  align-items: center;
  gap: .5rem;
  overflow: hidden;            /* corta dentro da lista também */
}

/* itens */
.ap-bc__item{ 
  flex: 0 0 auto; 
  color: #6b7280;
}
.ap-bc__item a{ color: inherit; text-decoration: none; }
.ap-bc__item a:hover{ text-decoration: underline; }

/* separador */
.ap-bc__sep{ flex: 0 0 auto; color:#9ca3af; }

/* último item (página atual) com elipse quando faltar espaço */
.ap-bc__item.is-current{
  font-weight: 600;
  color: #1f2937;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60vw;             /* não deixa o último tomar tudo */
}

/* --- versões compactas por breakpoint --- */

/* < 992px: esconde os itens do meio e mostra só Home › Página */
@media (max-width: 992px){
  .breadcrumb-nav .ap-bc > .ap-bc__item:not(:first-of-type):not(.is-current),
  .breadcrumb-nav .ap-bc > .ap-bc__sep:not(:nth-last-child(2)){ 
    display: none; 
  }
  .ap-bc__item.is-current{ max-width: 50vw; }
}

/* < 576px: ainda mais compacto (só ícone Home + Página) */
@media (max-width: 576px){
  .ap-bc__item.is-current{ max-width: 42vw; }
}

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.breadcrumb li::after {
  content: ">";
  margin: 0 5px;
  color: #999;
}

.breadcrumb li:last-child::after {
  content: "";
}

.breadcrumb li a {
  text-decoration: none;
  color: #64a002;
  font-weight: 500;
}

.breadcrumb li.active {
  color: #555;
  font-weight: bold;
}

/* ===== Shell com sidebar à esquerda ===== */
.ap-shell{
  display: flex;
  gap: 24px;
}

/* Sidebar fixa (sticky) abaixo do header fixo */
.ap-sidebar{
  position: sticky;
  top: calc(var(--ap-header-h, 120px) + 12px);
  align-self: flex-start;
  width: 260px;
  max-height: calc(100vh - var(--ap-header-h, 120px) - 24px);
  overflow: auto;
  padding: 12px;
  background: #fff;
  border: 1px solid #eef1f4;
  border-radius: 14px;
}

/* Navegação da sidebar */
.ap-nav{ display:flex; flex-direction:column; gap:16px; }
.ap-nav-group{ display:flex; flex-direction:column; gap:6px; }
.ap-nav-title{
  font-weight: 700; font-size: .9rem; color:#6b7280; margin: 2px 6px;
}
.ap-nav-link{
  display:flex; align-items:center; gap:10px;
  padding:10px 12px; border-radius:10px;
  text-decoration:none; color:#1f2937; background:#fff;
  border:1px solid #eef1f4;
}
.ap-nav-link:hover{ background:#f9fafb; border-color:#e5e7eb; }
.ap-nav-logout{ width:100%; background:#fff; border:1px solid #fee2e2; color:#991b1b; cursor:pointer; }
.ap-nav-logout:hover{ background:#fef2f2; }
.ap-ico{ width:20px; text-align:center; }

/* Conteúdo central: largura limitada e centralizado visualmente */
.ap-main{
  flex: 1 1 0;
  min-width: 0;
  max-width: 900px;     /* ajuste a largura “ideal” do miolo */
  margin: 0 auto;       /* centraliza o miolo dentro do espaço disponível */
}

/* Responsivo: em telas pequenas, esconde a sidebar e deixa o conteúdo ocupar tudo */
@media (max-width: 992px){
  .ap-shell{ display:block; }
  .ap-sidebar{ display:none; }
  .ap-main{ max-width: 100%; }
}
