/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #000000, #0a1a33);
  color: white;
  min-height: 100vh;
}

/* Header con logo */
header {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 15px 20px;
  background-color: rgba(0, 0, 0, 0.6);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 200;
}

.logo img {
  height: 50px;
}

/* Contenido principal */
main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding-top: 60px;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.login-main {
  background: #1a73e8;
  border: none;
  padding: 12px 24px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
}

.login-main:hover {
  background: #135ab6;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #1b2b44;
  padding: 20px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.5);
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.8rem;
  cursor: pointer;
  color: #fff;
}

/* Formulario */
form {
  display: flex;
  flex-direction: column;
}

form label {
  margin-top: 10px;
  font-weight: bold;
}

form input {
  padding: 10px;
  margin-top: 5px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}

form button {
  margin-top: 15px;
  background: #1a73e8;
  padding: 10px;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: bold;
}

form button:hover {
  background: #135ab6;
}

.panel-button {
  background-color: #1e3a8a; /* azul marino */
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s;
}

.panel-button:hover {
  background-color: #2563eb; /* azul más claro al pasar el ratón */
}
.panel-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.panel-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #1e3a8a;
  color: white;
  border: none;
  border-radius: 10px;
  padding: 20px 20px;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
  width: 45%; /* dos por fila en pantallas medianas */
  max-width: 220px; /* evita que sean gigantes en pantallas grandes */
  min-width: 140px;
  box-sizing: border-box;
}

.panel-button:hover {
  background-color: #2563eb;
}

.btn-icon {
  width: 24px; /* ancho fijo */
  height: 24px; /* alto fijo */
  margin-right: 10px; /* espacio a la derecha */
  object-fit: contain; /* ajusta imagen sin deformar */
  flex-shrink: 0; /* evita que se reduzca más */
  vertical-align: middle;
}

/* Responsivo: en móviles, 1 botón por fila */
@media (max-width: 600px) {
  .panel-container {
    grid-template-columns: 1fr;
  }
  .panel-button {
    width: 70%; /* no ocupan toda la fila */
    max-width: none;
  }
}