body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #e2e8f0;
  margin: 0;
}

.container {
  padding: 20px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h1 {
  margin: 0;
}

h2 {
  margin-top: 25px;
  margin-bottom: 10px;
}

/* SEARCH */
#search {
  width: 250px;
  padding: 10px;
  border-radius: 8px;
  border: none;
  outline: none;
  background: #1e293b;
  color: white;
}

#search::placeholder {
  color: #94a3b8;
}

/* STATS */
.stats {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.stats div {
  background: #1e293b;
  padding: 10px 15px;
  border-radius: 8px;
  font-weight: bold;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
}

th, td {
  padding: 10px;
  text-align: left;
}

th {
  background: #334155;
}

tr {
  border-bottom: 1px solid #334155;
}

tr:hover {
  background: #1e293b;
}

/* STATUS BADGE */
.status-badge {
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 12px;
}

.in_progress {
  background: #facc15;
  color: black;
}

.transferred {
  background: #38bdf8;
  color: black;
}

.ended {
  background: #f87171;
  color: white;
}

.Completed {
  background: #22c55e;
  color: black;
}

/* SUMMARY BUTTON */
.summary-btn {
  background: #1e40af;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
}

.summary-btn:hover {
  background: #2563eb;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.modal-content {
  background: #1e293b;
  margin: 10% auto;
  padding: 20px;
  width: 50%;
  border-radius: 10px;
}

#closeModal {
  float: right;
  cursor: pointer;
  font-size: 22px;
}