body {
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f4f4f9;
  margin: 0;
  padding: 10px;
      align-items: center;   /* centers horizontally */

  color: #333;
}

.header {
  text-align: center;
  margin-bottom: 15px;
}
.table-container {
    overflow-x: auto;
    display: flex;
    justify-content: center;  /* center horizontally */
    width: 100%;
}

#search-input {
  width: 95%;
  max-width: 400px;
  margin: 10px auto;
  padding: 10px;
  border: 1px solid #003366;
  border-radius: 6px;
  font-size: 16px;
  display: block;
}

.cards-container {
  display: flex;
  flex-direction: column;
  gap: 20px;   /* increase space between cards */
  padding-bottom: 20px; /* extra space at bottom */
}


.card {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
      margin-bottom: 15px; /* <-- space between cards */

}

.card strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: #003366;
}

.card small {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #555;
}

.editable {
  border: 1px solid #ccc;
  padding: 8px;
  border-radius: 6px;
  min-height: 34px;
  font-size: 15px;
  background: #fafafa;
}
.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 51, 102, 0.9); /* dark blue overlay */
  color: #fff;
  padding: 14px 22px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 500;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  animation: fadeInOut 3s ease-in-out forwards;
}

/* Smooth fade animation */
@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  10% { opacity: 1; transform: translate(-50%, -50%); }
  90% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -40%); }
}
