:root {
  --upcExm-bg: #f8f9fa;
  --mtFil-text:black;
}
.dark {
  --upcExm-bg: #1a1a1b;
   --mtFil-text:rgb(250, 245, 245);
}
/* Container */
.exam-container {
  max-width: 95%;
  margin: auto;
  padding-top: 50px;
}

/* Header */
.exam-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  margin-bottom: 20px;
  padding: 10px;
  border: solid 2px #333;
  border-radius: 10px;
}
.exam-header div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
.exam-header div label {
  font-size: 20px;
  font-weight: 400;
}
/* Dropdown */
.filter-container {
  max-width: 300px;
  margin-bottom: 20px;
}

.filter-container label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

#monthFilter {
  width: 100%;
  padding: 10px 14px;
  font-size: 15px;
  color: var(--mtFil-text);
  border-radius: 8px;
  border: 1px solid #ccc;
  background:var(--upcExm-bg);
  cursor: pointer;
  transition: 0.3s ease;
}

#monthFilter:hover {
  border-color: #007bff;
}

#monthFilter:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}

/* Results */
.exam-list {
  display: grid;
  gap: 15px;
}
.result-card {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  border-radius: 10px;
  background:var(--upcExm-bg);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}

.result-info {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}
.result-desc {
  border: 2px solid #bfd7f1;
  padding: 10px 15px;
  border-radius: 10px;
  background: #007bff;
}
.result-desc a {
  text-decoration: none;
  color: #ede7e7;
  font-size: 15px;
}
