
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #f5f5f5;
}



.topo-direita {
  position: absolute;
  right: 20px;
  top: 15px;
}

.topo-direita a {
  color: white;
  margin-left: 15px;
  text-decoration: none;
  font-weight: bold;
}

main.grade {
  display: flex;
  flex-wrap: wrap;
  padding: 20px;
  gap: 20px;
  justify-content: center;
}

.area {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  flex: 1 1 400px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.area h2 {
  margin-top: 0;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
}

.salas-container {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.sala {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: 100%;
  max-width: 280px;
}

.botao {
  display: inline-block;
  margin-top: 10px;
  padding: 10px;
  background-color: #28a745;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  text-align: center;
}

.botao:hover {
  background-color: #218838;
}

.reserva {
  background-color: #eef;
  border-left: 5px solid #ff4901;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 4px;
}


header {
  background-color: #ff7b00b6;
  color: white;
  padding: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.form-login {
  display: flex;
  gap: 10px;
}

.form-login input[type="text"],
.form-login input[type="password"] {
  padding: 5px;
  border: none;
  border-radius: 3px;
}

.form-login button {
  background-color: #28a745;
  border: none;
  padding: 6px 10px;
  color: white;
  border-radius: 3px;
  cursor: pointer;
}

.form-login button:hover {
  background-color: #218838;
}


.login-links {
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.login-links a {
  font-size: 0.85em;
  color: white;
  text-decoration: underline;
}


.form-container {
  display: inline-block;
  vertical-align: top;
  text-align: left;
  margin-right: 20px;
}

.erro-login {
  color: #ff4444;
  font-size: 0.9em;
  font-weight: bold;
  margin-top: 8px;
}







@media (max-width: 768px) {




  .form-login {
    flex-direction: column;
    align-items: stretch;
  }

  .form-login input,
  .form-login button {
    width: 100%;
  }

  .login-links {
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .form-container {
    width: 100%;
    margin-right: 0;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .logado-info {
    margin-top: 10px;
  }
}

.rodape {
  background-color: #ff4901b2;
  color: white;
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
}

#h1sistemas {
  font-size: 32px;
  text-align: left;
  color: white;
}

/* Estilo responsivo */
@media (max-width: 768px) {
  #h1sistemas {
    font-size: 20px;
    text-align: center !important;
    color: rgb(238, 238, 236);
    padding: 10px;
  }
}