/* ===== ROOT VARIABLES ===== */
:root {
  --primary-blue: #1e3a8a;
  --secondary-blue: #2563eb;
  --light-blue: #eff6ff;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --border-radius: 10px;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: var(--white);
  color: var(--text-dark);
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  justify-content: center;
  gap: 20px;
  background: #1e3a8a;
  padding: 12px;
}

.navbar a {
  color: white;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: 0.3s;
  font-size: 15px;
}

.navbar a:hover {
  background: #2563eb;
}

.navbar a.active {
  background: #2563eb;
}

/* ===== HEADER ===== */
header {
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  text-align: center;
  padding: 25px 15px;
}

header h1 {
  font-size: 26px;
  margin-bottom: 5px;
}

header p {
  font-size: 14px;
  opacity: 0.9;
}

/* ===== MAIN CONTAINER ===== */
.container {
  width: 85%;
  margin: 20px auto;
}
/* ===== SEARCH CONTAINER ===== */
.search-container {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

/* ===== INPUT ===== */
.search-bar {
  width: 100%;
  padding: 12px 100px 12px 12px;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}

/* ===== BUTTON INSIDE INPUT ===== */
.search-btn {
  position: absolute;
  top: 50%;
  right: 5px;
  transform: translateY(-50%);
  
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 40px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.search-btn:hover {
  background: #1e3a8a;
}
/* ===== YEAR SECTION ===== */
.year-section {
  background: var(--white);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.year-title {
  margin-bottom: 15px;
  color: var(--primary-blue);
}

/* ===== PAPER LIST ===== */
.paper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
}

.paper:last-child {
  border-bottom: none;
}

/* ===== DOWNLOAD LINK ===== */
.paper a {
  background: var(--secondary-blue);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s;
}

.paper a:hover {
  background: var(--primary-blue);
}

/* ===== REQUEST SECTION ===== */
.request-section {
  background: #eff6ff; /* light blue */
  width: 60%;
  margin: 40px auto;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  text-align: center;
}

/* Title */
.request-section h2 {
  color: #1e3a8a;
  margin-bottom: 10px;
}

/* Description */
.request-section p {
  color: #6b7280;
  margin-bottom: 20px;
}

/* Inputs */
.request-section input {
  width: 80%;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-bottom: 15px;
  outline: none;
  font-size: 15px;
}

.request-section input:focus {
  border-color: #2563eb;
}

/* Button */
.request-section button {
  background: #2563eb;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.request-section button:hover {
  background: #1e3a8a;
}

/* ===== BUTTON ===== */
button {
  background: var(--secondary-blue);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

button:hover {
  background: var(--primary-blue);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(to right, var(--primary-blue), var(--secondary-blue));
  color: var(--white);
  text-align: center;
  padding: 15px;
  margin-top: 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  .paper {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}