/* General layout */
html, body {
  margin: 0;
  padding: 0;
  font-family: "Source Code Pro", monospace;
  background: #111;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

header {
  font-size: 2.2em;
  font-weight: bold;
  margin: 30px 0 20px;
  text-align: center;
  color: hotpink;
  text-shadow: 0 0 3px hotpink;
}

/* Lookup bar */
#lookup-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

#lookup-input {
  width: 360px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid hotpink;
  background: rgba(0,0,0,0.6);
  color: #f0f0f0;
}

#lookup-button {
  margin-left: 10px;
  padding: 10px 16px;
  border-radius: 6px;
  border: 1px solid hotpink;
  background: hotpink;
  color: #111;
  font-weight: bold;
  cursor: pointer;
}

/* Results box with two columns */
#results {
  display: grid;
  grid-template-columns: 1fr 260px; /* main content + right column */
  gap: 20px;
  width: 800px;
  max-width: 95%;
  background: rgba(0,0,0,0.65);
  border: 1px solid hotpink;
  border-radius: 6px;
  box-shadow: 0 0 5px hotpink;
  padding: 30px;
  margin-bottom: 40px;
}

.main-content {
  /* left column content area */
}

.result-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.avatar {
  width: 64px;
  height: 64px;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 0 4px rgba(255, 102, 204, 0.3);
}

/* Modal for avatar */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
}
.modal.hidden { display: none; }
#modal-avatar {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 10px hotpink;
}

/* Groups */
.group-list a {
  display: block;       /* each link on its own line */
  color: #fff;          /* white text */
  text-decoration: none;
  padding: 4px 0;       /* small vertical spacing */
}

.group-list a:hover {
  color: hotpink;
  text-decoration: underline;
}

.group-list.hidden {
  display: none;
}

.toggle-groups-btn {
  margin-left: 10px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid hotpink;
  background: hotpink;
  color: #111;
  font-weight: bold;
  cursor: pointer;
}

/* Right column stack */
.right-column {
  display: flex;
  flex-direction: column;
  gap: 12px; /* consistent gap between red flags and quick links */
}

/* Red Flags */
.red-flags {
  padding: 12px;
  border: 1px solid red;
  border-radius: 6px;
  background: rgba(255, 0, 0, 0.08);
  color: #ff4444;
  box-shadow: 0 0 3px rgba(255,0,0,0.3);
}

.red-flags h3 {
  margin-top: 0;
  font-size: 1em;
  color: #ff2222;
  text-shadow: 0 0 2px #ff6666;
}

.red-flags ul {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
  font-size: 0.9em;
}

.red-flags li::before {
  content: "⚠ ";
  color: red;
  font-weight: bold;
}

/* Quick Links box */
.quick-links-box {
  padding: 12px;
  border: 1px solid hotpink;
  border-radius: 6px;
  background: rgba(255, 105, 180, 0.08);
  color: #fff;
}

.ql-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.quick-links-box h3 {
  margin: 0;
  font-size: 1em;
  color: #fff;
  text-shadow: 0 0 2px hotpink;
}

.open-all-btn {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid hotpink;
  background: hotpink;
  color: #111;
  font-weight: bold;
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted #fff;
  font-size: 0.9em;
}

.view-profile-link {
  color: hotpink;
  font-weight: bold;
  text-decoration: none;
  border-bottom: 1px dotted hotpink; /* optional underline style */
}

.view-profile-link:hover {
  color: #fff;              /* white on hover */
  text-shadow: 0 0 3px hotpink;
  text-decoration: underline;
}


/* Modal overlay */
.modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 200;
}
.modal.hidden { display: none; }

/* Modal content box */
.modal-content {
  background: #222;
  border: 1px solid hotpink;
  border-radius: 8px;
  padding: 20px;
  max-width: 600px;
  max-height: 80%;
  overflow-y: auto;
  color: #fff;
  box-shadow: 0 0 10px hotpink;
}

.modal-content h3 {
  margin-top: 0;
  color: hotpink;
  text-shadow: 0 0 3px hotpink;
}

.modal-content ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.modal-content li {
  margin-bottom: 8px;
}

.modal-content a {
  color: #fff;
  text-decoration: none;
}
.modal-content a:hover {
  color: hotpink;
  text-decoration: underline;
}

.close-btn {
  margin-top: 15px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid hotpink;
  background: hotpink;
  color: #111;
  font-weight: bold;
  cursor: pointer;
}

.offensive-group {
  color: #ff4d4d; /* red text for the whole list item */
  font-weight: bold;
}

.offensive-group a {
  color: #ff4d4d; /* red links */
  text-decoration: none;
}

.offensive-group a:hover {
  color: #ff8080; /* lighter red on hover */
  text-decoration: underline;
}

.ban-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9em;
}
.ban-info strong {
  color: #ff4d4d;
}

#site-footer {
  margin-top: 40px;
  padding: 15px;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

#site-footer a {
  color: hotpink;
  text-decoration: none;
  font-weight: bold;
}

#site-footer a:hover {
  text-decoration: underline;
}
