body {
  font-family: Arial, sans-serif;
  background: #f4f6f9;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
}
/* Header Styles */
h1,
h3 {
  color: rebeccapurple;
}
p {
  color: rgb(162, 80, 244);
  font-size: 1rem;
  margin: 0.5rem 0;
}
/* Table Styles */
table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
}
caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}
thead,
tfoot {
  background-color: rgb(228 240 245);
}
th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}
td:last-of-type {
  text-align: center;
}
tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}
tfoot th {
  text-align: right;
}
tfoot td {
  font-weight: bold;
}
/* input Styles */

.form-group {
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
  border-radius: 0.5rem;
}

input[type="text"] {
  padding: 0.65rem;
  border: 2px solid #ccc;
  font-size: 16px;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0.5rem 0 0 0.5rem;
  border-right: none;
  min-width: 5rem;
  max-width: 15rem;
}

button {
  padding: 0.75rem;
  border: none;
  border-radius: 0 0.5rem 0.5rem 0;
  background: rebeccapurple;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s ease;
  width: 6rem;
}

button:hover {
  background: rgb(162, 80, 244);
}

@media (max-width: 480px) {
  .form-container {
    padding: 15px;
  }

  input,
  button {
    font-size: 14px;
    padding: 10px;
  }
}
