* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
  }
  
  body {
    display: flex;
    min-height: 100vh;
    background: #f6f8fa;
  }
  
  .sidebar {
    width: 220px;
    background: #1e293b;
    color: white;
    padding: 20px;
  }
  
  .sidebar h2 {
    margin-bottom: 20px;
    font-size: 22px;
  }
  
  .sidebar ul {
    list-style: none;
    padding: 0;
  }
  
  .sidebar ul li {
    margin: 10px 0;
  }
  
  .sidebar ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
  }
  
  .sidebar ul li a:hover {
    color: white;
  }
  
  .sidebar {
  display: flex;
  flex-direction: column;
  height: 100vh;
}

.sidebar-spacer {
  flex: 1;
}

.login-btn {
  width: 70%;
  align-self: center;
  margin-bottom: 10px;
  margin-top: 0;
  padding: 8px 0;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s;
}

.login-btn:hover {
  background: #2563eb;
}

  .main-content {
    flex: 1;
    padding: 20px;
  }
  
  header {
    margin-bottom: 30px;
  }
  
  .cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
  }
  
  .card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }
  
  footer {
    margin-top: 30px;
    text-align: center;
    color: #6b7280;
  }
  
  .alertas-grid {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Mapa maior à esquerda, cards à direita */
    gap: 40px;
    margin-top: 40px;
    align-items: start;
  }
  
  .mapa-container {
    width: 100%;
    height: 480px;
    border-radius: 16px;
    overflow: hidden;
  }
  
  .alertas {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
  }
  
  .alert-card {
    padding: 15px;
    margin-bottom: 20px;
    border-left: 6px solid;
    border-radius: 8px;
    background-color: #f9fafb;
  }
  
  .alert-card h3 {
    margin-bottom: 10px;
    font-size: 16px;
  }
  
  .alert-card.moderado { border-color: #facc15; }
  .alert-card.severo { border-color: #ef4444; }
  .alert-card.informativo { border-color: #3b82f6; }
  
  .nivel {
    float: right;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 4px;
    background-color: #e2e8f0;
    color: #334155;
  }
  
  @media (max-width: 900px) {
    .alertas-grid {
      grid-template-columns: 1fr;
    }
  
    .mapa-container {
      height: 300px;
      margin-bottom: 20px;
    }
  }
      
  