/* Default styles for larger screens */
.search-container {
  margin: 20px;
  width: 50%;
}

input {
  padding: 10px;
  width: 300px;
  font-size: 1em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.students-list {
  margin: 20px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

table th {
  background-color: #181d38;
  color: white;
}

table tr:nth-child(even) {
  background-color: #f9f9f9;
}

/* Styles for mobile screens */
@media (max-width: 768px) {
  .search-container {
    margin: 10px;
  }

  input {
    width: 100%;
  }

  .students-list {
    margin: 10px;
  }

  table th,
  table td {
    padding: 2px;
    font-size: 8px;
  }

  table {
    width: 100%;
  }
}
