.amelia-checkin-panel {
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

.amelia-checkin-panel h2 {
  text-align: center;
  color: rgba(142, 119, 94, 1);
  margin-bottom: 20px;
}

.amelia-checkin-table {
  width: 100%;
  border-collapse: collapse;
}

.amelia-checkin-table th {
  background-color: rgba(142, 119, 94, 0.1);
  color: rgba(142, 119, 94, 1);
  padding: 12px;
  text-align: left;
  border-bottom: 2px solid rgba(142, 119, 94, 0.3);
}

.amelia-checkin-table td {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.checkin-button {
  padding: 6px 14px;
  background-color: rgba(142, 119, 94, 1);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.checkin-button:hover {
  background-color: rgba(110, 92, 72, 1);
}
.amelia-checkin-filter-form {
    margin-bottom: 20px;
    text-align: right;
}

.amelia-checkin-filter-form label {
    font-weight: bold;
    margin-right: 10px;
    font-family: 'Segoe UI', sans-serif;
}

.amelia-checkin-filter-form select {
    padding: 6px 10px;
    font-size: 14px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-family: 'Segoe UI', sans-serif;
}
/* Extra styling for expanded check-in table */
.amelia-checkin-table {
  font-size: 15px;
}

.amelia-checkin-table th,
.amelia-checkin-table td {
  padding: 12px 14px;
  text-align: center;
  vertical-align: middle;
  border-bottom: 1px solid #ddd;
}

.amelia-checkin-table td:nth-child(6),
.amelia-checkin-table td:nth-child(7) {
  text-align: left; /* Ticket Types + Notes left aligned for readability */
  white-space: normal; /* allow wrapping */
  word-break: break-word;
  max-width: 250px;
}
/* Expanded styling for the main check-in panel */
.amelia-checkin-panel {
  padding: 25px 30px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  max-width: 1200px;   /* wider box */
  margin: 30px auto;   /* add top/bottom spacing */
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Center and style the heading */
.amelia-checkin-panel h2 {
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  color: rgba(142, 119, 94, 1);
  margin-bottom: 25px;
}

/* Table improvements */
.amelia-checkin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto; /* flexible column widths */
}

.amelia-checkin-table th,
.amelia-checkin-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  font-size: 15px;
}

.amelia-checkin-table th {
  background-color: rgba(142, 119, 94, 0.12);
  color: rgba(90, 70, 50, 1);
  font-weight: bold;
}

.amelia-checkin-table td:nth-child(6),
.amelia-checkin-table td:nth-child(7) {
  text-align: left;      /* Notes + Ticket Types easier to read */
  white-space: normal;
  word-break: break-word;
  max-width: 280px;
}
/* Balance column widths for better readability */
.amelia-checkin-table th:nth-child(1), /* Name */
.amelia-checkin-table td:nth-child(1) {
  width: 12%;
}

.amelia-checkin-table th:nth-child(2), /* Email */
.amelia-checkin-table td:nth-child(2) {
  width: 18%;
  word-break: break-word; /* wrap long emails */
}

.amelia-checkin-table th:nth-child(3), /* Event */
.amelia-checkin-table td:nth-child(3) {
  width: 15%;
}

.amelia-checkin-table th:nth-child(4), /* Time */
.amelia-checkin-table td:nth-child(4) {
  width: 7%;
}

.amelia-checkin-table th:nth-child(5), /* Guests */
.amelia-checkin-table td:nth-child(5) {
  width: 6%;
}

.amelia-checkin-table th:nth-child(6), /* Ticket Types */
.amelia-checkin-table td:nth-child(6) {
  width: 18%;
  text-align: left;
  white-space: normal;
  word-break: break-word;
}

.amelia-checkin-table th:nth-child(7), /* Notes */
.amelia-checkin-table td:nth-child(7) {
  width: 8%;
}

.amelia-checkin-table th:nth-child(8), /* Bluelight */
.amelia-checkin-table td:nth-child(8) {
  width: 8%;
}

.amelia-checkin-table th:nth-child(9),
.amelia-checkin-table td:nth-child(9) {
  width: auto;         /* let it size naturally */
  min-width: 120px;    /* guarantee enough space for button */
  text-align: center;
}
/* Ensure Status column and button never shrink */
.amelia-checkin-table th:last-child,
.amelia-checkin-table td:last-child {
  width: 140px !important;   /* fixed width column */
  min-width: 140px !important;
  text-align: center;
}

.checkin-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(142, 119, 94, 1);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  width: auto;               /* fit content */
  max-width: 120px;          /* keep consistent */
  text-align: center;
}

