body { 
        font-family: sans-serif;
        display: flex; 
        justify-content: center; 
        align-items: center; 
        height: 100vh; 
        background-color: #f0f2f5; 
}

.login-box { 
        background: white; 
        padding: 2rem; 
        border-radius: 8px; 
        box-shadow: 0 4px 8px rgba(0,0,0,0.1); 
}

h1 { 
        text-align: center; 
}

.input-group { 
        margin-bottom: 1rem; 
}

input { 
        width: 100%; 
        padding: 0.5rem; 
        border: 1px solid #ccc; 
        border-radius: 4px; 
        box-sizing: border-box; 
}

button { 
        width: 100%; 
        padding: 0.7rem; 
        background-color: #2f00ff; 
        color: white; 
        border: none; 
        border-radius: 4px; 
        cursor: pointer; 
}

.flash-message { 
        padding: 1rem; 
        margin-bottom: 1rem; 
        border-radius: 4px; 
        background-color: #f8d7da; 
        color: #721c24; 
        border: 1px solid #f5c6cb;
}

/* Estilos do novo login */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f0f2f5;
}

/* Header igual ao do projeto original */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(15px);
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem 3rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'Courier New', monospace;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.header h1 {
  font-size: 1.875rem;
  font-weight: bold;
  text-align: center;
  color: #374151;
  margin: 0;
}

@media (min-width: 1024px) {
  .header h1 {
    text-align: left;
  }
}

/* Container principal */
.main-container {
  margin-top: 100px; /* Altura do header + margem */
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  color: #333;
}

.login-container {
  background: rgba(255, 255, 255, 0.95);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  min-width: 320px;
  max-width: 90vw;
}

.logo-mci {
  height: 60px;
  width: auto;
}

.logo-btg {
  height: 40px;
  width: auto;
}

.logo {
  width: 80px;
  height: 80px;
  margin-bottom: 1rem;
}

.icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0.5rem;
}

.login-title {
  font-size: 1.8rem;
  font-weight: bold;
  margin: 0;
  text-align: center;
  color: #333;
}

.login-subtitle {
  font-size: 1rem;
  text-align: center;
  margin: 0;
  color: #666;
  line-height: 1.5;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 300px;
}

input {
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 1rem;
  outline: none;
  background: #fff;
}

input:focus {
  border-color: #1100ff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

button {
  background: #09005a;
  color: #fff;
  font-weight: 500;
  padding: 0.75rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-size: 1rem;
}

button:hover {
  background: #0056b3;
}

/* Estilos para mensagens flash */
.flash-message {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 4px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  width: 100%;
  text-align: center;
}