body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: linear-gradient(0deg, #2a2a2a, #111);
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.top-bar {
  height: 60px;
  background: #2a2a2a;
  display: flex;
  align-items: center;
  padding: 0 15px;
}

.top-bar-icon {
  width: 40px;
  height: 40px;
  margin-right: 12px;
  border-radius: 6px;
}

.menu-button {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  margin-right: 10px;
}

.menuIcon {
  width: 28px;
  height: 28px;
}

.clickable-icon {
  cursor: pointer;
  transition: transform 0.2s;
}

.clickable-icon.animate {
  animation: pop 0.25s ease;
}

@keyframes pop {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.2);
  }

  100% {
    transform: scale(1);
  }
}


.site-title {
  font-size: 22px;
  font-weight: bold;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.site-title:hover {
  text-decoration: underline;
}

.link {
  color: #0ba4eb
}

.content-frame {
  flex: 1;
  background: transparent;
  margin: 10px;
  padding: 15px;
  border-radius: 8px;
  overflow-y: auto;
}

/* the button thingys */
.list-button {
  display: flex;
  align-items: center;
  background: #444;
  color: white;
  text-decoration: none;
  padding: 16px 28px;
  border-radius: 9999px;
  margin: 20px auto;
  width: fit-content;
  transition: background 0.2s;
}

.list-button:hover {
  background: #666;
}

.list-icon {
  width: 28px;
  height: 28px;
  margin-right: 12px;
}

.list-text {
  font-size: 24px;
  font-weight: bold;
}

.page-title {
  text-align: left;
  font-size: 28px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.page-title.left {
  text-align: left;
  margin-left: 30px;
}

.page-title.center {
  text-align: center;
}

.page-text {
  text-align: left;
  font-size: 24px;
  margin-top: 2px;
  margin-bottom: 8px;
}

.page-text.left {
  text-align: left;
  margin-left: 30px;
}

.page-text.center {
  text-align: center;
}

.button {
  padding: 12px 24px;
  background-color: #d3d3d3;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  padding-left: 16px;
}

/* mostly just for the maps page */
.box-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  justify-items: center;
  padding-left: 20px;
}

.box {
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 2px solid #888;
  border-radius: 12px;
  padding: 4px;
  text-decoration: none;
  color: white;
  max-width: 500px;
  transition: background 0.2s, transform 0.2s;
}


.box:hover {
  background: #444;
  transform: scale(1.05);
}

.box img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

.box-title {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
}

/* For the files page */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-items: center;
  margin: 20px 0;
}

.download-card {
  background: #222;
  border: 2px solid #555;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s, background 0.2s;
  max-width: 400px;
}

.download-card:hover {
  transform: scale(1.03);
  background: #333;
}

.card-image {
  width: 80%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 8px;
  color: white;
}

.card-description {
  font-size: 16px;
  margin-bottom: 12px;
  color: #ccc;
}

.card-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.card-button {
  padding: 8px 16px;
  background: #444;
  color: white;
  border-radius: 9999px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}

.card-button:hover {
  background: #666;
  transform: scale(1.05);
}

/* silly little login page */
.login-form {
  display: flex;
  flex-direction: column;
  max-width: 300px;
  margin: 2rem auto;
  gap: 1rem;
}

.login-form input {
  padding: 0.7rem;
  border: 1px solid #444;
  border-radius: 6px;
  font-size: 1rem;
  background: #222;
  color: #eee;
}

.login-form button {
  padding: 0.7rem;
  background: #4cafef;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: bold;
  color: #111;
  cursor: pointer;
  transition: background 0.3s;
}

.login-form button:hover {
  background: #37a2d9;
}

.login-message {
  text-align: center;
  margin-top: 1rem;
  font-weight: bold;
}

/* for dashboard */
#reactionRoleList ul {
  list-style: none;
  padding-left: 0;
}

#reactionRoleList {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0 auto 20px auto;
}

#reactionRoleList button {
  background: #444;
  color: white;
  border-radius: 9999px;
  border: none;
  padding: 4px 8px;
  cursor: pointer;
  align-items: center;
  transition: background 0.2s;
}

#existingReactionRoles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#reactionRoleList button:hover {
  background: #666;
}

/* Center wrapper for inputs and lists */
.centered-input {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  max-width: 400px;
  margin: 0 auto 20px auto;
}

.centered-input input {
  width: 100%;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #222;
  color: white;
  font-size: 16px;
}

.centered-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.reaction-role-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 8px 12px;
  background: #333;
  border-radius: 8px;
  width: fit-content;
  min-width: 250px;
}

.reaction-role-item button {
  background: #444;
  border: none;
  border-radius: 6px;
  padding: 4px 10px;
  cursor: pointer;
  color: white;
  transition: background 0.2s;
}

.reaction-role-item button:hover {
  background: #666;
}

.reaction-role-wrapper {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.reaction-role-wrapper input {
  padding: 8px 12px;
  border-radius: 9999px; /* matches the pill-shaped inputs */
  border: 1px solid #555;
  background: #222;
  color: white;
  font-size: 16px;
}

.reaction-role-wrapper button {
  padding: 8px 16px;
  border-radius: 9999px;
  border: none;
  background: #4cafef;
  color: #111;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.2s;
}

.reaction-role-wrapper button:hover {
  background: #37a2d9;
}
