/* ==============================
   RESET PADRÃO
============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ==============================
   ESTILOS GLOBAIS DE BODY/FONTE
============================== */
body {
  font-family: 'Poppins', sans-serif;
  /* Fundo compartilhado com admin e escolas */
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); 
  background-attachment: fixed;
  color: #333;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==============================
   HEADER (COMPONENTE GLOBAL)
============================== */
header {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-left {
  display: flex;
  align-items: center;
}

.header-logo {
  background: linear-gradient(135deg, #1800ad 0%, #0063e6 100%);
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-right: 15px;
}

.header-info h1 {
  font-size: 18px;
  font-weight: 700;
  color: #1800ad;
  line-height: 1.2;
}

.header-info p {
  font-size: 13px;
  color: #666;
}

.header-right {
  display: flex;
  align-items: center;
}

.header-nav-link {
  color: #1800ad;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 15px;
  border-radius: 8px;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.header-nav-link i {
  margin-right: 8px;
}

.header-nav-link:hover {
  background: #f0f4ff;
}

/* Mídia Query para links do Header: Se aplica a ambas as páginas que usam o Header */
@media (max-width: 900px) {
  .header-nav-link span {
    display: none;
  }
}

.logout-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}

.logout-btn i {
  margin-right: 5px;
}

.logout-btn:hover {
  background: #c82333;
}

/* ==============================
    FOOTER FIXO (Direitos Autorais)
============================== */
.fixed-footer-copyright {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    color: #ffffff;
    font-size: 12px;
    background-color: #1800ad; /* Fundo azul escuro */
    z-index: 101; 
}

/* Opcional: Para resetar qualquer estilo de parágrafo dentro */
.fixed-footer-copyright p {
    margin: 0;
}