/* ==============================
   VARIÁVEIS DE CONFIG
   ============================== */
.navbar-larose { background-color: var(--cor-topo); }
.footer { background-color: var(--cor-rodape); }

.btn-config {
  background-color: var(--cor-botoes);
  border-color: var(--cor-botoes);
  color: #fff;
}
.btn-config:hover {
  filter: brightness(0.92);
  color: #fff;
}

.navbar-larose .navbar-toggler {
  border: none;
  background-color: var(--cor-botoes);
  padding: 6px 10px;
  border-radius: 6px;
}

.navbar-larose .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* ==============================
   GERAL
   ============================== */
.display-none {display: none;}

/* =========================
   PADDING TOP
   ========================= */
.pt-15  { padding-top: 15px !important; }
.pt-25  { padding-top: 25px !important; }
.pt-35  { padding-top: 35px !important; }
.pt-45  { padding-top: 45px !important; }
.pt-50  { padding-top: 50px !important; }
.pt-75  { padding-top: 75px !important; }
.pt-100 { padding-top: 100px !important; }
.pt-125 { padding-top: 125px !important; }
.pt-150 { padding-top: 150px !important; }

/* =========================
   PADDING BOTTOM
   ========================= */
.pb-15  { padding-bottom: 15px !important; }
.pb-25  { padding-bottom: 25px !important; }
.pb-35  { padding-bottom: 35px !important; }
.pb-50  { padding-bottom: 50px !important; }
.pb-75  { padding-bottom: 75px !important; }
.pb-100 { padding-bottom: 100px !important; }
.pb-125 { padding-bottom: 125px !important; }
.pb-150 { padding-bottom: 150px !important; }

/* =========================
   MARGIN TOP
   ========================= */
.mt-15  { margin-top: 15px !important; }
.mt-25  { margin-top: 25px !important; }
.mt-35  { margin-top: 35px !important; }
.mt-50  { margin-top: 50px !important; }
.mt-75  { margin-top: 75px !important; }
.mt-100 { margin-top: 100px !important; }
.mt-125 { margin-top: 125px !important; }
.mt-150 { margin-top: 150px !important; }

/* =========================
   MARGIN BOTTOM
   ========================= */
.mb-15  { margin-bottom: 15px !important; }
.mb-25  { margin-bottom: 25px !important; }
.mb-35  { margin-bottom: 35px !important; }
.mb-50  { margin-bottom: 50px !important; }
.mb-75  { margin-bottom: 75px !important; }
.mb-100 { margin-bottom: 100px !important; }
.mb-125 { margin-bottom: 125px !important; }
.mb-150 { margin-bottom: 150px !important; }



html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 80px 20px 60px;
  box-sizing: border-box;
}

/* ==============================
   LOGIN
   ============================== */
.login-body {
  background-color: #f6c300;
}
.login-card,
.larose-card {
  max-width: 400px;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  border: none;
}
.larose-logo,
.login-logo {
  max-width: 180px;
}
.larose-logo { filter: brightness(0) invert(1); }
.login-logo { margin: 0 auto; }
.larose-login { background-color: #E9B24C; }

/* ==============================
   CABEÇALHO E RODAPÉ
   ============================== */
.navbar-larose {
  color: #fff;
  height: 60px;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-larose .navbar-brand,
.navbar-larose .nav-link,
.footer p,
.footer a {
  color: #fff !important;
  transition: color 0.3s ease;
  text-decoration: none !important;
}

.navbar-larose .navbar-brand:hover,
.navbar-larose .nav-link:hover,
.footer a:hover {
  color: #E9B24C !important;
}

/* Logo no cabeçalho */
.navbar-larose .logo-header {
  max-height: 40px;
  width: auto;
  filter: brightness(0) invert(1);
}

.footer {
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: auto;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

/* ==============================
   BOTÕES PADRÕES
   ============================== */
.btn-larose {
  background-color: #E9B24C;
  border: none;
  color: #fff;
  font-weight: bold;
  transition: 0.3s;
}
.btn-larose:hover {
  background-color: #d49f40;
  color: #fff;
}

/* ==============================
   CARDS DOS MÓDULOS
   ============================== */
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  width: 100%;
  max-width: 1000px;
}
.main-content .card,
.modules-grid .card {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
  cursor: pointer;
}
.main-content .card:hover,
.modules-grid .card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
  text-decoration: none !important;
}

/*.card-body {margin-bottom: 75px !important}*/

/* ==============================
   FICHA DE CADASTRO
   ============================== */
.ficha-container {
  max-width: 900px;
  margin: 0 auto;
}
.ficha-container .card {
  border-radius: 10px;
  border: 1px solid #ddd;
}
.ficha-container h5 {
  font-weight: bold;
  margin-bottom: 1rem;
}
.ficha-container table {
  font-size: 0.95rem;
}
.ficha-container th {
  width: 25%;
  background: #f8f9fa;
}

/* ==============================
   IMPRESSÃO
   ============================== */
@media print {
  body * { visibility: hidden; }
  .ficha-container, .ficha-container * { visibility: visible; }
  .ficha-container {
    position: absolute;
    left: 0; top: 0;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    padding: 20px !important;
  }
  .ficha-actions { display: none !important; }
  .navbar-larose, .footer { display: none !important; }
}

@media (max-width: 991px) {
  .navbar-collapse.show .nav-item {
    background: var(--cor-topo);
    width: 200px;
    padding-left: 25px;
    float: right;
  }
}

