body, html {
  margin: 0;
  padding: 0;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(31,48,69,1) 52%, rgba(64,91,125,1) 100%);
}

header {
  text-align: center;
  margin-top: 30px;
}


h1 {
  color: white;
  font-size: 1.75rem;
  font-family: Arial;
  margin: 20px 0 40px;
  font-weight: 400;
}

hr {
  width: 29%;
  height: 2px;
  background-color: #B1D366;
  border-radius: 20px;
  margin: 20px auto 30px;
  border: none;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-container {
  background-color: rgba(102, 119, 127, 0.2);
  border-radius: 15px;
  padding: 25px;
  border: solid 2px rgba(255, 255, 255, 0.3);
  width: 25%;
}

.login-box {
  display: flex;
  flex-direction: column;
  align-items: center;

}


.group-input {
  display: flex;
  width: 100%;
  position: relative;
}

.group-input i{
  position: absolute;
  margin-top: 14px;
  margin-left: 12px;
  font-size: 1.2rem;
}


input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 12px 0px 10px 0px;
  font-size: 1.3rem;
  margin-bottom: 20px;
  border-radius: 8px;
  border: solid 1px whitesmoke;
  outline: none;
  font-size: large;
  text-indent: 40px;
  font-weight: 500;
  font-family: Arial;

}



input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #c4c4c4;
  font-family: Arial;
  font-size: 1.3rem;
  font-weight: 500;
}

input[type="email"]:focus,
input[type="password"]:focus {
  box-sizing: border-box;
  border: solid 2px #91bd33;
}

button {
  width: 100%;
  padding: 12px 0px;
  background-color: rgba(204, 210, 212, 0.3);
  margin-top: 5px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.4rem;
  font-weight: 500;
}

button:hover {
  background-color: #a2cc4a;
  color: white;

}

button:active {
  background-color: #D0E5A3;
  color: #001c2a;
}

@media (max-width: 768px) {

  .login-container {
    width: 60%;
  }

  hr {
    width: 65%;
  }
}

/* Estilos para el Modal Genético */
.modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border-radius: 10px;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-header {
  background: linear-gradient(135deg, #667f7f 0%, #3f5a5a 100%);
  color: white;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.close {
  color: white;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close:hover {
  color: #ff6b6b;
}

.modal-body {
  padding: 20px;
}

.info-basica, .info-genetica {
  margin-bottom: 25px;
}

.info-basica h4, .info-genetica h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 2px solid #b1d366;
  padding-bottom: 5px;
}

.info-genetica h5 {
  color: #34495e;
  margin: 15px 0 10px 0;
  font-size: 1.1rem;
}

.tabla-info, .tabla-genetica, .tabla-composicion, .tabla-eventos {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 15px;
}

.tabla-info td, .tabla-genetica td, .tabla-composicion td, .tabla-eventos td {
  padding: 8px 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}

.tabla-info td:nth-child(odd), 
.tabla-genetica td:nth-child(odd), 
.tabla-composicion td:nth-child(odd) {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #495057;
  width: 30%;
}

.tabla-info td:nth-child(even), 
.tabla-genetica td:nth-child(even), 
.tabla-composicion td:nth-child(even) {
  background-color: #ffffff;
  color: #212529;
  width: 20%;
}

/* Estilos específicos para tabla de eventos */
.tabla-eventos th {
  background-color: #667f7f;
  color: white;
  font-weight: 600;
  padding: 10px 12px;
  text-align: left;
}

.tabla-eventos tr:nth-child(even) {
  background-color: #f8f9fa;
}

.tabla-eventos tr:nth-child(odd) {
  background-color: #ffffff;
}

.tabla-eventos td {
  padding: 10px 12px;
  border: 1px solid #ddd;
  vertical-align: top;
}

#eventos-mensaje, #ciclos-mensaje {
  text-align: center;
  color: #6c757d;
  font-style: italic;
  padding: 20px;
  background-color: #f8f9fa;
  border-radius: 5px;
  margin: 10px 0;
}

.modal-footer {
  padding: 15px 20px;
  background-color: #f8f9fa;
  border-radius: 0 0 10px 10px;
  text-align: right;
}

.btn-cerrar {
  background-color: #6c757d;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  width: auto;
  margin: 0;
}

.btn-cerrar:hover {
  background-color: #5a6268;
}

/* Responsive para el modal */
@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10px;
  }
  
  .tabla-info, .tabla-genetica, .tabla-composicion, .tabla-eventos {
    font-size: 0.9rem;
  }
  
  .tabla-info td, .tabla-genetica td, .tabla-composicion td, .tabla-eventos td {
    padding: 6px 8px;
  }
}




