* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: #0d1117;
  color: #e4e6eb;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  background-color: #1c1f26;
  padding: 30px;
  border-radius: 12px;
  width: 600px;
  max-width: 95%;
  box-shadow: 0 0 15px 3px #5865f2;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #3755cf;
}

.form {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

input[type="text"],
input[type="date"] {
  flex: 1;
  padding: 10px;
  border-radius: 6px;
  background-color: #0d1117;
  border: 1px solid #30363d;
  color: #f1f5f96d;
  transition: border 0.2s;
}

input[type="text"]:focus,
input[type="date"]:focus {
  outline: none;
  border-color: #5865f2;
}

input::placeholder {
  color: #6b7280;
}

input[type="date"]:not(:valid) {
  color: #6b7280;
}

button {
  padding: 10px 16px;
  background-color: #5865f2;
  color: white;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

button:hover {
  background-color: #4752c4;
}

.actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}

table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 10px #5865f2;
}

thead {
  background-color: #161b22;
  color: #e4e6eb;
}

th,
td {
  padding: 12px;
  text-align: left;
  color: #f3f4f6;
}

tbody tr:nth-child(even) {
  background-color: #1f242d;
}

tbody tr:nth-child(odd) {
  background-color: #0d1117;
}

td[colspan="4"] {
  text-align: center;
  color: #8b949e;
}

@media screen and (max-width: 600px) {
  .form {
    flex-direction: column;
  }

  .actions {
    flex-direction: column;
    gap: 10px;
  }

  table,
  th,
  td {
    font-size: 14px;
  }
}
