/* www/custom.css */

/* ==== Header ==== */
.app-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* left content empieza a la izquierda - center será absolute */
  padding: 16px 40px;
  width: 100%;
  padding-top: 28px;       
  padding-bottom: 28px;
  box-sizing: border-box;
  min-height: 190px;  /* altura mínima, más flexible que height fija */
  background: linear-gradient(
    90deg,
    rgba(200,220,235,1) 0%,
    rgba(210,230,245,1) 50%,
    rgba(200,220,235,1) 100%
  );
  border-bottom: 1px solid rgba(0,0,0,0.08);
  overflow: visible;
  z-index: 1;
}

/* Zones */
.app-header .header-zone {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}
.app-header .header-left {
  justify-content: flex-start;
  flex: 0 0 auto;
}


.app-header .header-center {
  position: absolute;
  left: 60%;
  top: 50%;
  transform: translate(-50%, -50%); /* centrado horizontal y vertical dentro del header */
  text-align: center;
  z-index: 3;
  width: min(80%, 900px); 
  pointer-events: none; 
}


.app-header .header-right {
  justify-content: flex-end;
  flex: 0 0 auto;
}
  


/* Logos */
.logo-header{
  height: 110px;
  margin: 10px 10px 10px 25px; /* top right bottom left */
  transition: transform 0.3s ease;
}
.logo-footer {
  height: 80px;
  max-width: 250px;
  margin: 10px;
  display: inline-block;
  vertical-align: middle;
}

.logos-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.logos-container a,
.logos-container img {
  display: inline-block;
  vertical-align: middle;
}

/* Title */
.app-header .app-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.7rem); 
  font-weight: 700;
  color: #406c8b;
  margin: 0;
  line-height: 1.05;
  text-align: center;
  text-shadow: 2px 3px 3px rgba(255,255,255,0.9);
}

/* DNA picture background */
.app-header::before {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: url('dna.png') no-repeat right center;
  background-size: cover;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}


/* ==== Tabs ==== */
.navbar {
  position: relative;       
  top: auto;
  margin-bottom: 0 !important;
  z-index: 1000;               
  background: #406c8bcf !important;
  border: none !important;
  padding-top: 6px !important;
  padding-bottom: 2px !important;
}

/* Links */
.navbar-nav > li > a {
  font-size: 1.5rem;
  font-weight:700;
  padding: 10px 10px;
  color: #ffffff !important;
  text-shadow: 0px 0px 1px rgba(0, 0, 0, 0.5);
}

.navbar-nav > li > a:hover,
.navbar-nav > .active > a {
  background-color: #6e8ca8 !important;
  color: #ffffff !important;
  border-radius: 4px 4px 0 0;
}



/* ==== Dropdown tabs ==== */
.navbar-nav .dropdown-menu {
  z-index: 2000 !important;
  position: absolute;
}

.navbar-nav .dropdown-menu > li > a {
  font-size: 1.6rem;   
  font-weight: 700;
  color: #595959 !important; /* opcional */
  background-color: #f4f7fa; /* opcional: mismo color que navbar */
}

.navbar-nav .dropdown-menu > li > a:hover {
  background-color: #406c8bcf;  /* opcional: mismo hover que tabs */
  color: #ffffff !important;
}

/* ==== Tables ==== */
table.dataTable thead th {
  background-color: #406c8bcf !important; /* same greyish blue as navbar */
  color: #ffffff !important;
  font-weight: 700;
  text-align: center;
}
table.dataTable tbody tr:nth-child(even) {
  background-color: #ffffff;
}
table.dataTable tbody tr:nth-child(odd) {
  background-color: #f4f7fa;
}