/* === Exam Search Pages === */
.exam-search-page {
  max-width: 100%;
}
.exam-search-form {
  background: #f7fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.exam-search-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
}
.exam-search-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.exam-search-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #2d3748;
}
.exam-search-select,
.exam-search-input {
  padding: 0.6rem 1rem;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  font-size: 0.95rem;
  min-width: 220px;
  background: #fff;
}
.exam-search-select:focus,
.exam-search-input:focus {
  outline: none;
  border-color: #3182ce;
  box-shadow: 0 0 0 2px rgba(49,130,206,0.2);
}
.exam-search-btn {
  padding: 0.6rem 2rem;
  background: #2b6cb0;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.exam-search-btn:hover {
  background: #2c5282;
}
.exam-search-count {
  font-size: 0.9rem;
  color: #4a5568;
  margin-bottom: 1rem;
}
table.exam-search-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
}
table.exam-search-table thead th {
  background: linear-gradient(135deg, #1a365d, #2b6cb0);
  color: #fff;
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  text-align: left;
}
table.exam-search-table tbody td {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid #e2e8f0;
}
table.exam-search-table tbody tr:nth-child(even) td {
  background: #f7fafc;
}
table.exam-search-table tbody tr:hover td {
  background: #ebf8ff;
}
table.exam-search-table tbody td a {
  color: #2b6cb0;
  font-weight: 500;
  text-decoration: none;
}
table.exam-search-table tbody td a:hover {
  color: #c6972b;
}
/* responsive */
@media (max-width: 768px) {
  .exam-search-controls {
    flex-direction: column;
  }
  .exam-search-select, .exam-search-input {
    min-width: 100%;
  }
  .exam-search-results {
    overflow-x: auto;
  }
  table.exam-search-table {
    min-width: 600px;
  }
}
