:root {
  --radius: 0.75rem;                /* Border radius for rounded corners */
  --space: 1rem;                    /* Base spacing unit */
 --color-dark: #f9fdff;
 --color-light:  #ffc700;
    --color-button: #044cd4;
    --color-button-hover: #00c8b9  ;
    --color-orange-red: #ff6245; 
    --color-button-active: rgb(0, 0, 0);
    --color-background-container: #f9fdff;
  --shadow: 0 30px 60px -10px rgba(4,77,212,0.15); /* Card shadow */
  --transition: 0.6s cubic-bezier(.22,.61,.36,1);  /* Default transition */
  --fs-base: 1.5rem;                  /* Base font size */
  --break-md: 768px;                /* Medium breakpoint for responsiveness */
  font-family: 'Inter', system-ui,-apple-system,BlinkMacSystemFont,sans-serif; /* Font stack */
}


h2 {
	margin-bottom: 0;
}
h3 {
	margin: 0;
}

hr {
	margin-bottom: 1.5em;
}

a {
	text-decoration: none;
	
}

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

textarea {
	width: calc(100% - 1.5em);
	resize: vertical;
	padding: 0.5em;
	font: inherit;
	white-space: pre;
	height: 8em;
}

select {
	text-align: center;
}

input {
	font: inherit;
}

.header {
	position: relative;
}

.container {
	width: auto;
	min-width: 500px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 2em 3em;

	box-shadow: 0px 20px 20px -25px rgb(0, 0, 0);
	background-color: var(--color-background-container);
}


.sticky {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 100;
}

/* RESULTS */

.outer-container {
	position: relative;
}

.panel-container {
	position: fixed;
	top: 6rem;
	left: 0;

	width: calc(50% - 6em);
	min-width: calc(500px - 6em);
	max-width: calc(900px - 6em);
	height: calc(100% - 8rem);
	padding: 0 3em 2em 3em;

	box-shadow: 0px 20px 20px -25px rgb(0, 0, 0);
	background-color: var(--color-background-container);

	overflow: auto;
}

.results-container {
	position: absolute;
	top: 6rem;
	left: min(max(50%, 500px), 900px);

	width: calc(100% - min(max(50%, 500px), 900px) - 6em);
	padding: 0 3em 2em 3em;

	/* box-shadow: 0px 20px 20px -25px rgb(0, 0, 0);
	background-color: var(--color-background-container); */
}

.results-header {
	padding-top: 2em;
	top: 5rem;
	background-color: var(--color-background-container);
}

.results-header-panel {
	position: fixed;
	padding: 2em 3em 0 3em;
	width: calc(100% - 6em);
	height: 5rem;
	background-color: var(--color-background-container);
}

/* RESULTS */


.rounded-corners {
	border-radius: 1em;
}

.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); /*this */
	gap: 2em;
}

.search-option {
	padding: 1em 0 2em 0;
	position: relative;
	height: fit-content;
}

.options {
	position: relative;
}

.section {
	position: relative;
	margin: 2em 0;
	min-height: 2em;
}

.centered-elements {
	display: flex;
	justify-content: center;
	align-items: center;
}
.center {
	margin: 0 auto;
	width: fit-content;
	text-align: center;
}
.left {
	position: absolute;
	left: 0;
}
.right {
	position: absolute;
	right: 0;
}
.flex-row {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}
.flex-row-center {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-evenly;
	align-items: center;
}
.flex-col-center {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
}

.button, .button-square, .button-small, .button-big, .button-fit, .button-full-width, .button-not {
	background-color: var(--color-button);
	border: none;
	color: white;
	border-radius: 1em;
	padding: 0 0.5em;
	height: 2em;
	overflow: hidden;
	
	display: inline-flex;
    align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.1s ease-in-out;
}

.button {
	width: 11em;
}
.button-square {
	width: 2em;
}
.button-small {
	width: 7em;
}
.button-big {
	width: 15em;
}
.button-tall {
	height: 3em;
}
.button-fit {
	width: fit-content;
}
.button-full-width {
	width: 100%;
	justify-content: left;
	padding-left: 1em;
}
.button-not {
	width: 3em;
	opacity: 0.25;
	user-select: none;
	padding: 0;
}
.button-not.active {
	opacity: 1;
}

.button:hover, .button-square:hover, .button-small:hover, .button-big:hover, .button-fit:hover, .button-full-width:hover, .button-not:hover {
	background-color: var(--color-button-hover);
}

.button-explanation {
	background-color: var(--color-button);
	border: none;
	color:var(--color-background-container);
	border-radius: 1em;
	padding: 0.4em;
	margin: 0 0.4em;
	display: inline-flex;
	width: fit-content;
	text-align: center;
	justify-content: center;
	vertical-align: center;
}

.complex-option:hover{
	background-color: var(--color-button);
}

.file-upload-button {
	height: 4em;
}
input[type="file"] {
	display: none;
}
select {
	scale: 1.1;
}

#date-from, #date-to {
	width: 4em;
	margin: 0 0.5em;
	background-color:var(--color-background-container);
	border: none;
}

#field_options {
	position:relative;
	width: 100%;
	overflow-x: auto;
	padding: 2em 0;
	background-color: var(--color-light);
}
.search-field {
	display: grid;
	grid-template-columns: 7em 7em 11em 15em 2em;
	grid-gap: 2em;
	padding: 0.5em;
}
.complex-inst {
	grid-column: 1;
}
.complex-textid {
	grid-column: 2;
}
.complex-option {
	grid-column: 3;
}
.complex-text {
	grid-column: 4;
}
.complex-trash {
	grid-column: 5;
}

.complex-textid{
	width: 4em;
	text-align: center;
}
.complex-text, .search-selection {
	width: 15em;
	text-align: center;
}

.cell {
	margin: auto;
	padding: 0;
	height: 2em;
}


.two-cols {
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-gap: 3em;
}

.results-button {
	margin: 0.5em;
}

.accordion {
	margin-top: 1em;
}
.panel {
	margin: 1em 0;
	margin-top: -1em;
	padding: 1em;
	background-color: var(--color-light);
	border-radius: 0 0 1em 1em;
}

#back_button {
	position: absolute;
	top: 0;
	left: 0;
}

.results-title {
	display: inline-block;
	margin: 0.1em;
}

.journal-info-ul {
	margin-top: 0;
}
.journal-info-p {
	margin-bottom: 0.3em;
}

.slider {
	width: 100%;
	max-width: 20em;
	text-align: center;
}

#remove-repeated-div {
	max-width: 220px;
	margin-top: 0.5em;
}

.search-selection {
	position: fixed;
	z-index: 999;
	background-color:var(--color-background-container);
	min-height: 2em;
	max-height: 10em;
	overflow-y: auto;

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.search-selection > div, .search-selection > button {
	margin: 0.5em;
}

.search-options {
	width: 70%;
	text-align: left;
}
.search-item {
	display: block;
}
.search-options-button {
	display: block;
	margin: 0.5em 0;
}

.button-show-options {
	position: absolute;
	display: none;
}

.explanation-list {
	max-width: 65em;
	margin: 0;
}
.explanation-list > li {
	margin: 0.6em 0;
}

.warning {
	font-style: italic;
	margin-bottom: 1em;
}


.inst-021018s57 {
	color: rgb(23, 23, 222);
}
.inst-051escj72 {
	color: rgb(139, 23, 222);
}
.inst-04pp8hn57 {
	color: rgb(210, 22, 22);
}
.inst-02tyrky19 {
	color: rgb(62, 122, 21);
}
.inst-01jsq2704 {
	color: rgb(255, 136, 0);
}
.inst-029pk6x14 {
	color: rgb(42, 100, 120);
}
.inst-00fbnyb24 {
	color: rgb(169, 131, 7);
}
.inst-02nkxrq89 {
	color: rgb(234, 137, 154);
}
.inst-03zga2b32 {
	color: rgb(155, 17, 30);
}

.not-absolute {
	position: relative !important;
}


.footer-top {
	margin-top: 0;
	position: relative;
	padding: 25px 25px;
	background-color: var(--color-background-container);
	font-size: 12px;
	display: flex;
	-webkit-box-pack: center;
	justify-content: center;
}

.footer-top .logo-eu {
	width: 120px;
	height: auto;
	margin-left: 20px;
	margin-top: -7px;
}

.footer-top-content{
	display: flex;
	text-align: justify;
	vertical-align: middle;
	-webkit-box-pack: center;
	justify-content: center;
	width: 33%;
	user-select: none;
}

.footer-top-logos {
	margin-top: 0;
	position: relative;
	padding: 25px 25px;
	background-color: var(--color-background-container);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-top-logos a{
	color:var(--color-background-container);
	user-select: none;
	transition: opacity 0.1s ease-in-out;
}

.footer-top-logos a:hover {
	opacity: 0.5;
}

.footer-top-logos img{
	width: 140px;
	height: auto;
	margin-top: 10px;
}

.footer-top-logos2 {
	margin-top: 0;
	position: relative;
	padding: 25px 425px;
	background-color:var(--color-background-container);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-top-logos2 a {
	color:var(--color-background-container);
	user-select: none;
	transition: opacity 0.1s ease-in-out;
}

.footer-top-logos2 a:hover {
	opacity: 0.6;
}

.footer-top-logos2 img {
	width: 130px;
	height: auto;
	margin-top: 10px;
}

.footer-top-logos3 {
	margin-top: 0;
	position: relative;
	padding: 10px 25px;
	background-color:var(--color-background-container);
	/* display: flex;
	justify-content: space-between;
	align-items: center; */
	user-select: none;
	font-family: inherit;
}

.footer-top-logos3 p{
	color: var(--color-text);
	font-size: 12px;
	text-align: center;
}

.footer-top-logos4 {
	margin-top: 0;
	position: relative;
	padding: 20px 450px;
	background-color:var(--color-background-container);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-top-logos4 a {
	color: var(--color-background-container);
	user-select: none;
	transition: opacity 0.1s ease-in-out;
}

.footer-top-logos4 a:hover {
	opacity: 0.6;
}

.footer-top-logos4 img {
	width: 100px;
	height: auto;
	margin-top: 10px;
}

.footer-top-logos3 a{
	color: var(--color-light);
	text-emphasis: bold;
}

.search-selection_example {
	width: 15em;
}

.search-selection_example {
	border-width: 2px;
	border-style: solid;
	border-color: var(--color-button);
	border-radius: 2%;
	position: relative;
	z-index: 999;
	background-color:var(--color-background-container);
	min-height: 2em;
	max-height: 10em;
	overflow-y: auto;

	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
}

.search-selection_example > div, .search-selection_example > button {
	margin: 0.5em;
}

.search-options_example {
	width: 70%;
	text-align: left;
}

.footer-top-logos4_tc {
	margin-top: 0;
	position: relative;
	padding: 15px 100px;
	background-color:var(--color-background-container);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.footer-top-logos4_tc a {
	color:var(--color-background-container);
	user-select: none;
	transition: opacity 0.1s ease-in-out;
}

.footer-top-logos4_tc a:hover {
	opacity: 0.6;
}

.footer-top-logos4_tc img {
	width: 100px;
	height: auto;
	margin-top: 10px;
}

.merge-container{
	margin-top: -40px;
	border-radius: 8px;
	border-color: var(--color-button);
	background-color: rgba(255, 232, 195, 0);
	padding-left: 20px;
	padding-right: 20px;
	width: auto;
	height: auto;
	vertical-align: center;
}

@media (max-width: 1500px) {
	.merge-container {
	  margin-top: -70px;
	}
  }

.merge-disc{
	margin-left: 200px;
	text-align:center;
}

.disc-max-authors{
	margin-top: 20px;
	margin-bottom: -10px;
	border-radius: 8px;
	background-color: var(--color-light);
	width: auto;
	height: auto;
	vertical-align: center;
	text-align: center;
}

.filler-flex-col{
	height: 3em;
}

@media (max-width: 1500px) {
	.filler-flex-col {
	  height: 0em;
	}
  }

a.paper-link-a, a.paper-link-a:visited{
	font-size: 16px;
	color: var(--color-button);
}

p.paper{
	line-height: 150%;
	font-size: 14px;
}

img.doi-icon{
	vertical-align: center;
	user-select: none;
}
/* =========================
   Box Sizing
   ========================= */
/* Use border-box for all elements for easier sizing */
*,
*::before,
*::after { box-sizing:border-box; }
/* ==========================
Logo
===========================*/
.logo {
  display: flex;
  align-items: center;
  /* optional: limit size so it stays compact in header */
  max-height: 100px;
}

.logo img {
  display: block;
  height: 5vh;        /* desired visual height */
  width: auto;         /* preserve aspect ratio */
  max-width: 100%;     /* responsive */
}


/* =========================
   Body Styles
   ========================= */
/* Set up background, text color, and base layout */
body {
  margin:0;
  background: linear-gradient(135deg, var(--color-background) 0%, #d1d1d1 80%);
  color: var(--color-text);
  line-height:1.5;
  font-size: 1rem;
  min-height:100vh;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

/* =========================
   Background Canvas
   ========================= */
/* Fixed canvas for network background, behind all content */
#network-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Ensure it's behind other content */
  pointer-events: none;
  display: block;
}

/* Ensure main content is above the background canvas */
body > * {
  position: relative;
  z-index: 1;
}

.page-glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2; /* behind the network canvas (which is z-index:0) */
  background:
    radial-gradient(circle at 30% 40%, rgba(3,200,185,0.35), transparent 60%),
    radial-gradient(circle at 70% 60%, rgba(254,198,1,0.2), transparent 55%);
  filter: blur(140px);
  will-change: transform;
}


/* =========================
   Header Styles
   ========================= */
/* Sticky header with blur and border */
.site-header {
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter: blur(14px);
  background: rgba(255,255,255,0.85);
  border-bottom:1px solid rgba(31,41,55,0.08);
}
.site-header .inner {
  max-width:1120px;
  margin:0 auto;
  padding:0.75rem 1rem;
  display:flex;
  align-items:center;
  gap:1rem;
  justify-content:space-between;
}
.logo {
  font-weight:700;
  font-size:1rem;
  letter-spacing:0.5px;
  color: var(--color-blue); /* Logo uses main blue */
}

/* =========================
   Navigation Styles
   ========================= */
/* Hide navigation by default (shown on desktop) */
.nav {
  display:none;
  gap:1.25rem;
}
.nav a {
  position:relative;
  font-weight:500;
  padding:0.35rem 0.5rem;
  text-decoration:none;
  color: var(--color-text);
}
/* Underline animation on hover */
.nav a::after {
  content:'';
  position:absolute;
  left:0;
  bottom:-4px;
  width:0;
  height:3px;
  background: var(--color-aqua-green);
  border-radius:2px;
  transition: width .3s;
}
.nav a:hover::after { width:100%; }


/* =========================
   Hero Section
   ========================= */
/* Main hero area with centered content */
.hero {
  position:relative;
  padding:5rem 1rem 6rem;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
}
.hero-content {
  max-width:900px;
  position:relative;
  z-index:2;
  gap:1rem;
  display:flex;
  flex-direction:column;
}
.hero h1 {
  font-size:clamp(1.8rem, 6vw, 3rem); /* Responsive heading */
  margin:0;
}
.hero p {
  font-size:1rem;
  margin:0;
}


/* =========================
   Hero Background Glow
   ========================= */
/* Parallax-like blurred glow behind hero */
.hero-bg {
  position:absolute;
  inset:0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(3,200,185,0.35), transparent 60%), 
    radial-gradient(circle at 70% 60%, rgba(254,198,1,0.2), transparent 55%);
  filter: blur(120px);
  transform: translateZ(0);
  pointer-events:none;
  will-change: transform;
}

/* Footer General */
.expanded-footer {
  background-color: var(--color-background);
  color: black;
  padding: 4rem 2rem 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 2rem;
}

.footer-col {
  flex: 1 1 220px;
  min-width: 220px;
}

.footer-col h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--color-blue);
}


.newsletter-form {
  display: flex;
  border-radius: 5px;
  overflow: hidden;
  background-color: var(--color-background);
  border: var(--color-blue) 1px solid;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 0.6rem;
  border: none;
  background: transparent;
  color: var(--color-text);
}

.newsletter-form button {
  background: var(--color-blue);
  border: none;
  padding: 0 1rem;
  color: var(--color-background);
  cursor: pointer;
}

.membership-logos img {
  height: 50px;
  margin-right: 1rem;
}

.membership-logos a img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.membership-logos a:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}


/* University Logos Section */
.university-logos-container {
  text-align: center;
  padding: 2rem 1rem 1rem;
  border-top: 1px solid #333;
}

.university-logos-container h3 {
  color: var(--color-blue);
  margin-bottom: 1rem;
}

.university-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.university-logos img {
  height: 50px;
  object-fit: contain;
  filter: brightness(0.9);
}

.university-logos a img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

.university-logos a:hover img {
  transform: scale(1.05);
  filter: brightness(1.2);
}

/* Disclaimer */
.footer-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: black;
  margin-top: 2rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  padding: 1rem;
  border-top: 1px solid #333;
}

.footer-top-logos3_tc {
  display: flex;
  justify-content: center; /* centra horizontalmente */
  align-items: center;     /* centra verticalmente si hay altura fija */
  gap: 16px;               /* espacio entre iconos */
  padding: 10px 0;         /* opcional, da algo de aire arriba y abajo */
}

.footer-top-logos3_tc .social-icon ion-icon {
  font-size: 32px; /* aumenta el tamaño del icono */
  color: inherit;  /* mantiene el color heredado */
}

.footer-top-logos3_tc .social-icon {
  display: inline-flex;        /* centra icono dentro del enlace */
  align-items: center;
  justify-content: center;
  text-decoration: none;       /* quita subrayado si lo hubiera */
}

.footer-top-logos3_tc .social-icon ion-icon:hover {
  transform: scale(1.2);
  transition: transform 0.2s ease;
}


/* Responsive Adaptation */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .newsletter-form button {
    width: 100%;
  }

  .university-logos {
    gap: 1rem;
  }
}
