body {
  font-family: Courier;
  text-align: center;
  background: #1C1C2B;
  color: white;
}

h1 {
  margin-top: 40px;
  font-size: 2.5rem;
  color: white;
}

.container {
  display: flex;
  justify-content: center;
  gap: 50px;
  margin-top: 40px;
}

.login-box, .signup-box {
  background: #4E546B;
  padding: 20px;
  border-radius: 10px;
  width: 300px;
}

input {
  width: 80%;
  margin: 10px 0;
  padding: 8px;
  border: none;
  border-radius: 5px;
}

button {
  background: #0078ff;
  color: white;
  padding: 10px 15px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background: #005fd1;
}

h2 {
  margin-top: 30px;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  background: #1C1C2B;
  margin: 8px auto;
  padding: 10px;
  width: 250px;
  border-radius: 6px;
}

#logout {
  background: #613535;
  margin-top: 20px;
}

#logout:hover {
  background: #B36D6D;
}

.card-item {
  background: #5C5C5C;
  border-radius: 2px;
  padding: 15px;
  width: 250px;
  margin: 15px auto;
  color: white;
}

.card-item h3 {
  margin: 5px 0;
}

.card-item button {
  margin: 5px;
}

#card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

#countdown {
  font-weight: bold;
}

#force-update {
  background: #fff;
  margin-top: 20px;
}

#force-update:hover {
  background: #fff;
}

.card-item {
  background: #5C5C5C;
  color: white;
  padding: 15px;
  border-radius: 0px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  width: 200px;
  text-align: center;
}

.card-item .up {
  color: #00b894;
}

.card-item .down {
  color: #d63031;
}

button {
  margin: 5px;
  padding: 6px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: #0984e3;
  color: white;
  font-weight: bold;
}

button:hover {
  background: #74b9ff;
}

.card-image {
  width: 150px;  /* or whatever fits your layout */
  height: 200px;
  display: block;
  margin: 0 auto 10px auto;
  border-radius: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

#card-container {
  display: flex;          /* align items horizontally */
  flex-wrap: wrap;        /* move to next line when row is full */
  justify-content: center; /* center the row */
  gap: 20px;              /* space between cards */
  margin-top: 30px;
}

.card-item {
  background: #5C5C5C;
  color: white;
  padding: 15px;
  border-radius: 1px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  width: 200px;
  text-align: center;
  /* remove margin: auto */
  margin: 0; 
}

#profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.profile-card {
  background: #5E5E5E;
  color: #fff;
  padding: 15px;
  border-radius: 12px;
  width: 200px;
  text-align: center;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.profile-card a {
  display: inline-block;
  margin-top: 10px;
  color: #fff;
  text-decoration: none;
}

.card-item {
  background: #333;
  padding: 10px;
  margin: 10px;
  border-radius: 10px;
}

#card-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.card-item {
  background: #5C5C5C;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  width: 150px;
  transition: transform 0.2s ease;
}

.card-item:hover {
  transform: scale(1.01);
}

.card-item img {
  display: block;
  margin: 0 auto 8px;
}

.profile-pic {
  width: 125px;
  height: 125px;
  object-fit: cover;   /* ensures it fills the box without distortion */
  border-radius: 50%;  /* makes it circular */
  border: 2px solid #ccc;
  margin-bottom: 10px;
}
