/* Modern, responsive CSS for DIEMTDC3 */

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(120deg, #f8fafc 0%, #e0e7ef 100%);
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  /* max-width: 700px; */
  margin: 40px auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  padding: 32px 24px 24px 24px;
}

h2 {
  text-align: center;
  color: #2d3a4b;
  margin-bottom: 24px;
}

form {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-bottom: 24px;
}

label {
  font-weight: 500;
  color: #34495e;
}

select,
button[type='submit'] {
  padding: 8px 16px;
  border-radius: 6px;
  border: 1px solid #cfd8dc;
  font-size: 1rem;
  margin-left: 8px;
}

button[type='submit'] {
  background: #2563eb;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
button[type='submit']:hover {
  background: #1e40af;
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-top: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #f9fafb;
  border-radius: 8px;
  overflow: hidden;
  font-size: 1rem;
}

th,
td {
  padding: 12px 10px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

th {
  background: #2563eb;
  color: #fff;
  font-weight: 600;
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: #eef2f7;
}

@media (max-width: 600px) {
  .container {
    padding: 16px 4px;
  }
  th,
  td {
    padding: 8px 4px;
    font-size: 0.95rem;
  }
  h2 {
    font-size: 1.2rem;
  }
  form {
    flex-direction: column;
    gap: 8px;
  }
}
