/***************************************************************/
/*              Preprints CSS 		                       */
/***************************************************************/
* {
        margin:0px;
        padding:0px;
        font-family:verdana, arial, sans-serif;
        font-size:10pt;
        color:#1282AA;
        /* border:1px solid black; */
}

html, body {
        height:100%
}

P { margin-bottom:15px }

select { height:19px; }
input[type="text"] { height:14px; }


label {
	margin-right:6px;
}
a {
	color: #1252AA;
        font-weight: bold;
        text-align:left;
	font-size: 9pt;
	text-decoration: none;
}
a:visited {
	color: #fff;
        font-weight: bold;
        text-align:left;
        font-size: 9pt;
        text-decoration: none;
}

	
/* Divs generiques structure */

div#fond {
	position: relative;
	width:620px;
	margin:auto;
	padding:10px;
}
div.list {
    position: relative;
    max-width: 1500px;
		width: 90%;
    min-width:600px;
    margin:auto;
}
div#form {
	position: relative;
	width:600px;
	margin:auto;
	margin-bottom:10px;
	font-weight: bold;
	border: 2px solid #bfcfd6;
	padding:4px;
	line-height:30px;
}
div#form select {
	font-weight: bold;
	margin-right:6px;
	padding-right:2px;
}
div#form input[type=button] {
	font-weight: bold;
        padding:1px;
        margin-left:20px;
}
div.prepub {
	position: relative;
        width:600px;
        margin:auto;
	margin-bottom: 10px;
	padding: 2px;
	padding-top:4px;
	border-top: 1px dotted #1282AA;
}
div.abstr {
	float:left;
	text-align:justify;
	margin:2px;
	margin-top:4px;
	padding:3px;
	color:#1252AA;
	width:500px;
}
.titre {
	color: #ffffff;
	font-weight: 1000;
	text-align:left;
	font-size: 25px;
}
span.dat {
        font-style: italic;
}

div.links {
	text-align:right;
	padding-bottom:10px;
}


.pagination {
	display: flex;
    list-style: none;
    gap: 5px;
    margin-top: 10px;
    justify-content: center;
}

.pagination li  a{
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    background-color: rgb(168 215 237 / 26%);
	transition: ease-in 0.5s;
}

.pagination li a:hover{
    border: 1px solid #5c5c5c;
	background-color: white;
}

.active a{
	background-color: #01bbff !important;
	color: white !important;
}

body {
  background: #f5f6fa;
  color: #222;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 16px;
  line-height: 1.7;
}

.preprint-card {
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s;
}

.preprint-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

.preprint-card h2,
.titre {
  color: #1a237e;
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.preprint-card .authors,
.auteurs {
  color: #374151;
  font-size: 1rem;
  font-style: italic;
  font-weight: normal;
}

.resum {
  font-size: 1.05rem;
  color: #222;
  margin-bottom: 1.2rem;
  font-family: 'Georgia', serif;
}

footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  font-size: 0.95rem;
  margin-top: 15px;
  border-top: 1px solid #e5e7eb;
  padding-top: 10px;
}

.tag {
  background: #e5e7eb;
  color: #1a237e;
  padding: 4px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}
.tag span{
  font-size: 20px;
}

.date {
  font-family: 'Fira Code', monospace;
  color: #374151;
  margin-left: 0.5rem;
  font-size: 0.95rem;
}

.btn-read {
  background: #1a237e;
  color: #fff;
  padding: 7px 15px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  transition: background 0.2s;
}

.btn-read:hover {
  background: #4071bb;
  color: #fff;
}

.controls {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin-bottom: 24px;
  background: #1252AA;
  padding: 1.2rem 0;
  box-shadow: 0 2px 8px #0001;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  justify-content: center;
}

.controls-content {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  max-width: 1200px;
  width: 85%;
  min-width: 320px;
  margin: auto;
  padding: 0 1rem;
}

.controls-content img {
  width: 100px;
  padding: 8px;
}

.controls-content input.search {
    padding: 0.5rem 1rem;
    border: 1px solid #bfcfd6;
    border-radius: 5px;
    font-size: 1rem;
    background: #f5f6fa;
    color: #222;
    transition: border 0.2s;
    max-width: 550px;
    width: 50%;
}

.controls-content input.search:focus {
  border: 1.5px solid #1a237e;
  outline: none;
}

.controls-content select {
  border: 1px solid #bfcfd6;
  border-radius: 5px;
  font-size: 1rem;
  background: #f5f6fa;
  color: #222;
  transition: border 0.2s;
}

.controls-content select:focus {
  border: 1.5px solid #1a237e;
  outline: none;
}

.preprint-card .status {
  position: absolute;
  top: 18px;
  right: 28px;
  font-size: 15px;
  color: #3949ab;
  background: none;
  padding: 0;
}

.pagination li a {
  background-color: #e5e7eb;
  color: #222;
  border-radius: 5px;
  padding: 5px 10px;
  transition: background 0.2s;
}

.pagination li a:hover {
  background-color: #1a237e;
  color: #fff;
}

.active a {
  background-color: #3949ab !important;
  color: #fff !important;
}

/* Pied de page académique */
.ihes-footer {
  background: #1a237e;
  color: #fff;
  padding: 32px 0 16px 0;
  margin-top: 40px;
  font-family: 'Georgia', 'Times New Roman', serif;
}

.ihes-footer-content {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-left: 40px;
}

.ihes-footer-logo {
  height: 48px;
  width: auto;
}

.ihes-footer-title {
  font-size: 1.3rem;
  letter-spacing: 1px;
  font-weight: 400;
  color: #fff;
}

.ihes-footer-sep {
  border: none;
  border-top: 1px solid #fff;
  margin: 16px 40px 12px 40px;
}

.ihes-footer-address {
  padding-left: 40px;
  font-size: 1rem;
  color: #fff;
}

@media (max-width: 700px) {
  .controls {
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
  }
}