/* Reset básico */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Corpo com estilo futurista */
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #001F54;
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-image: url('logo-mdias-branco.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 40%;
}

/* Cabeçalho */
header {
  text-align: center;
  padding: 20px;
}

.logo {
  max-width: 200px;
  display: block;
  margin: 0 auto 10px;
}

/* Conteúdo principal */
main {
  flex: 1;
  padding: 20px;
  backdrop-filter: blur(6px);
}

/* Formulário centralizado com animação suave */
form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 500px;
  margin: 0 auto 30px;
  gap: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

/* Label animada */
.animated-label {
  text-align: center;
  font-weight: bold;
  font-size: 1.1em;
  opacity: 0;
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

/* Inputs */
input[type="text"],
input[type="date"],
button {
  padding: 12px;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  width: 100%;
}

/* Input de data com estilo e ícone nativo */
input[type="date"] {
  background-color: #f2f2f2;
  color: #333;
  font-weight: bold;
  cursor: pointer;
}

/* Botão */
button {
  background-color: #007bff;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #0056b3;
}

/* Resultado */
#resultado {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.1);
}

/* Texto do resultado */
.shelf-box p {
  margin: 10px 0;
  font-size: 1.1em;
}

/* Rodapé */
footer {
  text-align: center;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  font-size: 0.9em;
}

/* Cores para status */
.critico {
  background-color: #ff2800;
  color: white;
}

.alerta {
  background-color: #fff700;
  color: #000;
}

.otimo {
  background-color: #001f3f;
  color: white;
}

/* Mensagem crítica */
#resultado p[style*="color:red"] {
  font-size: 1.2em;
  text-align: center;
  margin-top: 10px;
}

/* Responsividade */
@media (max-width: 600px) {
  .logo {
    max-width: 100px;
  }

  form, #resultado {
    width: 90%;
  }

  input, button {
    font-size: 1em;
  }
}

.data-critica {
    font-size: 42px; /* Maior tamanho */
    font-weight: bold; /* Negrito */
    color: black; /* Cor preta */
    text-shadow: 
        0 0 10px #fff,
        0 0 20px #fff,
        0 0 40px #00ffcc,
        0 0 80px #00ffcc,
        0 0 160px #00ffcc; /* Brilho mais intenso */
    animation: piscarNeon 0.8s infinite alternate; /* Pisca mais rápido */
    text-align: center; /* Centraliza */
}

@keyframes piscarNeon {
    0% {
        opacity: 1;
        text-shadow: 
            0 0 10px #fff,
            0 0 20px #fff,
            0 0 40px #00ffcc,
            0 0 80px #00ffcc,
            0 0 160px #00ffcc;
    }
    100% {
        opacity: 0.6;
        text-shadow: none;
    }
}


@keyframes neonBlink {
  0% { opacity: 1; }
  100% { opacity: 0.3; }
}

