/* ====== PADRÃO GLOBAL CÂMARA MSA ====== */
body {
  font-family: 'Poppins', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
  min-height: 100vh;
}

.navbar {
  box-shadow: 0 2px 8px 0 rgba(0,0,0,0.04);
}

.navbar .navbar-brand span {
  font-weight: 700;
  letter-spacing: 1px;
}

.navbar .nav-link {
  font-weight: 500;
  font-size: 1.08rem;
  transition: color 0.15s;
}

.navbar .nav-link.active, .navbar .nav-link:focus, .navbar .nav-link:hover {
  color: #2563eb !important;
}

.btn-primary, .btn-primary:focus {
  background: #2563eb;
  border: none;
  font-weight: 600;
  box-shadow: 0 2px 8px 0 rgba(37,99,235,0.08);
}

.btn-primary:hover {
  background: #004085;
}

.btn-outline-light {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
}

.btn-outline-light:hover {
  background: #fff;
  color: #2563eb;
}

.card {
  border-radius: 1.2rem;
  box-shadow: 0 2px 16px 0 rgba(0,0,0,0.07);
  border: none;
}

.card-header {
  border-radius: 1.2rem 1.2rem 0 0;
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

.table {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
}

.table th {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

.table td {
  vertical-align: middle;
}

input, select, textarea {
  border-radius: 0.5rem !important;
  border: 1.5px solid #e6e6e6 !important;
  font-size: 1.05rem !important;
}

.form-label {
  font-weight: 500;
}

footer {
  background: #004085;
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

footer a {
  color: #fff;
  text-decoration: underline;
  margin-right: 1.2rem;
}

footer a:hover {
  color: #cce0ff;
}

.alert {
  border-radius: 0.7rem;
  font-size: 1.08rem;
}

::-webkit-scrollbar {
  width: 8px;
  background: #e6e6e6;
}
::-webkit-scrollbar-thumb {
  background: #2563eb;
  border-radius: 8px;
}
/* ====== FIM PADRÃO GLOBAL ====== */
html {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  background-color: #f8f9fa;
  position: relative;
  overflow-x: hidden;
}

.wrapper {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 60px); /* 60px is approximate footer height */
  display: flex;
  flex-direction: column;
}

/* NAVBAR */
.navbar {
  background-color: #0d6efd;
}

.navbar .navbar-brand,
.navbar .nav-link,
.navbar .dropdown-item {
  color: white !important;
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .dropdown-item:hover {
  color: #dce3ff !important;
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5);
}

.navbar-toggler-icon {
  filter: invert(1);
}

/* SEÇÃO DE BOAS-VINDAS */
.welcome-section {
  background: linear-gradient(135deg, #0d6efd, #6610f2);
  color: white;
  text-align: center;
  padding: 80px 20px;
}

.welcome-section h1 {
  font-weight: 700;
}

.welcome-section p {
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto 20px;
}

/* CARROSSEL DE LIVROS */
.carousel-inner img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 10px;
}

.carousel-caption {
  background: (0, 0, 0, 0.5);
  border-radius: 8px;
  padding: 10px;
}

/* CATEGORIAS */
.category-card {
  background: white;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.category-card i {
  color: #0d6efd;
}

/* ESTATÍSTICAS */
.stats-section {
  background: white;
  border-radius: 10px;
  padding: 30px 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.stats-section h3 {
  font-weight: 600;
  color: #333;
}

.stats-section p {
  font-size: 1.5rem;
  color: #0d6efd;
  margin: 0;
}

/* FOOTER */
footer {
  background-color: #004085;
  color: white;
  text-align: center;
  padding: 1rem;
  width: 100%;
  margin-top: auto;
}

footer a {
  color: white;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

footer a:hover {
  opacity: 0.8;
}

/* AJUSTES GERAIS */
.card-title {
  font-weight: 600;
}

.btn-outline-light:hover {
  background-color: white;
  color: #0d6efd;
}

.welcome-section {
  background-color: #004085; 
  color: white;
  text-align: center;
  padding: 80px 20px;
}


