body {
  margin: 0;
  font-family: "Arial", sans-serif;
  background: #f7f7f7;
  color: #333;
}

.osu-header {
  background-color: #ff66aa;
  color: white;
  display: flex;
  align-items: center;
  padding: 1rem;
}

.osu-logo span {
  font-size: 2rem;
  font-weight: bold;
  border: 3px solid white;
  border-radius: 50%;
  padding: 0.5rem 1rem;
  margin-right: 1rem;
}

.osu-title h1 {
  margin: 0;
}

.osu-container {
  max-width: 900px;
  margin: 2rem auto;
  background: white;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.osu-button {
  display: inline-block;
  background-color: #ff66aa;
  color: white;
  text-decoration: none;
  padding: 0.7rem 1rem;
  margin-right: 8px;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease;
  cursor: pointer;
}

.osu-button:hover {
  background-color: #ff4596;
}

.osu-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  table-layout: fixed; /* important for stable column widths */
}

.osu-table th,
.osu-table td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
  word-wrap: break-word; /* or use overflow-wrap */
}

.osu-table th {
  background: #ff66aa;
  color: white;
  text-align: left;
}

/* Optional: control each column’s width if you want more uniform spacing */
/* .osu-table thead tr th:nth-child(1) {
  width: 5%;
}
.osu-table thead tr th:nth-child(2) {
  width: 25%;
}
... etc ...
*/

.progress-container {
  width: 100%;
  background: #ddd;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 1rem;
  height: 25px;
}

.progress-bar {
  height: 25px;
  background-color: #ff66aa;
  color: #fff;
  line-height: 25px;
  text-align: center;
  transition: width 0.3s ease;
}

#searchBox {
  margin-bottom: 1rem;
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
}

.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 99;
  padding: 10px 15px;
  background-color: #ff66aa;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: opacity 0.3s;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.scroll-top-btn:hover {
  background-color: #ff4499;
}

/* Modal styles */
.modal {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
}

.modal-content {
    background-color: #2a2a2a;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #ff66aa;
    width: 80%;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 5px;
}

.close {
    color: #ff66aa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #ff4499;
}

/* Make the table more compact for the admin view */
.osu-table .small-btn {
    padding: 5px 10px;
    font-size: 0.9em;
}
