/* Global Styling */
body {
  font-family: Arial, sans-serif;
  background-color: #ffebef; /* Light pink background */
  color: #333;
  margin: 0;
  padding: 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px;
  background-color: rgba(
    255,
    255,
    255,
    0.9
  ); /* White with slight transparency */
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

h1 {
  text-align: center;
  color: #d04e5b; /* Deep red color */
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

/* Table Styling */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  background-color: #ffe8ec; /* Soft pink */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

th,
td {
  padding: 20px;
  text-align: center;
  font-size: 18px;
  color: #333;
  font-weight: 600; /* Slightly bolder font for cell text */
  border: 1px solid #f5a6b5; /* Light pink border for structure */
  transition: background-color 0.3s ease, transform 0.2s ease;
}

th {
  background: linear-gradient(
    135deg,
    #f38181,
    #f28b8b
  ); /* Gradient for headers */
  color: white;
  font-weight: bold;
}

td {
  background: #ffe8ec; /* Soft pink for cells */
  background: linear-gradient(
    135deg,
    #fff0f4,
    #ffe8ec
  ); /* Subtle gradient in cells */
}

tr:nth-child(even) td {
  background: linear-gradient(
    135deg,
    #ffd9df,
    #ffebef
  ); /* Slightly darker pink for even rows */
}

tr:hover td {
  background-color: #ffd1d8; /* Highlighted row background */
  transform: scale(1.03); /* Slight scale-up on hover */
}

/* Badge Image Styling */
.badge-img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Prompt and Button Styling */
.prompt {
  text-align: center;
  margin-top: 30px;
  padding: 15px;
  background-color: #ffe4e1; /* Very light pink */
  border-radius: 8px;
  font-size: 1.1rem;
  color: #5e1f1f;
}

#loginButton {
  background-color: #d04e5b; /* Deep red */
  color: #fff;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 5px;
  margin-top: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#loginButton:hover {
  background-color: #a94040; /* Darker red */
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .container {
    padding: 15px;
    overflow-x: auto;
  }

  table {
    width: 100%;
    font-size: 0.9rem; /* Slightly smaller font for smaller screens */
  }

  th,
  td {
    padding: 10px; /* Reduce padding to fit content */
  }
  table,
  th,
  td {
    font-size: 0.7rem;
  }

  .badge-img {
    width: 70px;
    height: 70px;
  }
}
