.spum-header, .spum-footer {
  display: flex;
  justify-content: space-between;
  padding: 1rem;
  margin: 10px auto;
  max-width: 800px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.spum-footer {
  font-size: 14px;
  justify-content: center;
  color: #666;
}

.spum-card table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.spum-card th, .spum-card td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

@media screen and (max-width: 768px) {
  .spum-card table, 
  .spum-card thead, 
  .spum-card tbody, 
  .spum-card th, 
  .spum-card td, 
  .spum-card tr {
    display: block;
    width: 100%;
  }

  .spum-card thead tr {
    display: none;
  }

  .spum-card tr {
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #ccc;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
  }

  .spum-card td {
    position: relative;
    padding-left: 50%;
    font-size: 14px;
    border: none;
  }

  .spum-card td::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 45%;
    padding-left: 10px;
    font-weight: bold;
    white-space: nowrap;
    color: #555;
  }
}

.spum-card form input[type="text"],
.spum-card form input[type="date"],
.spum-card form textarea,
.spum-card form select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  box-sizing: border-box;
}

.spum-card form button[type="submit"] {
  background-color: #0073aa;
  color: white;
  padding: 12px 20px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.spum-card form button[type="submit"]:hover {
  background-color: #005f8d;
}

.spum-card button {
  background-color: #0073aa;
  color: white;
  padding: 8px 12px;
  font-size: 14px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.spum-card button:hover {
  background-color: #005f8d;
}
