/* Base Layout */
.fake-name-generator-page {
  margin: auto;
  color: #e0e0e0;
  font-family: 'Segoe UI', sans-serif;
}

.fake-name-generator-page h1,
.fake-name-generator-page h2 {
  text-align: center;
  color: #ffffff;
  font-weight: 600;
}

/* Control Panel */
.controls {
  background-color: #1c1c1c;
  padding: 1.25rem;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
  border: 1px solid #2a2a2a;
}

.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Inputs & Selects */
.control-group {
  flex: 1 1 180px;
  display: flex;
  flex-direction: column;
}

.control-group label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #ccc;
}

.control-group input,
.control-group select {
  background-color: #2a2a2a;
  color: #f0f0f0;
  border: 1px solid #444;
  padding: 0.5rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.control-group input:focus,
.control-group select:focus {
  outline: none;
  border-color: #666;
  background-color: #2f2f2f;
}

.control-group small {
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.3rem;
}

/* Checkbox Group */
.checkbox-group {
  flex-direction: column-reverse;
  align-items: center;
  gap: 0.4rem;
}

/* Action Buttons */
.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.buttons button {
  background-color: #2d2d2d;
  color: #fff;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.buttons button:hover {
  background-color: #3a3a3a;
  transform: scale(1.02);
}

/* Profile Output Section */
.output-section {
  background-color: #1a1a1a;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid #2b2b2b;
}

.profile-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

/* Profile Card */
.profile-card {
  background-color: #242424;
  padding: 1rem;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  gap: 1rem;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}

.profile-card:hover {
  transform: translateY(-2px);
}

.profile-card img {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #333;
  flex-shrink: 0;
}

.profile-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  font-size: 0.92rem;
}

.profile-details p {
  margin: 0.25rem 0;
  line-height: 1.4;
  color: #e0e0e0;
}

.profile-details p strong {
  color: #ccc;
  font-weight: 500;
}

/* Compact Mode */
.profile-list.compact .profile-card {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-list.compact .profile-details {
  align-items: center;
}

/* Search Input full width */
#searchInput {
  width: 100%;
  box-sizing: border-box;
}

/* How to Use Section */
.tool-section.how-to-use {
  background-color: #1e1e1e;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  margin-top: 2rem;
}

.tool-section.how-to-use ul {
  padding-left: 1.4rem;
  margin: 0;
}

.tool-section.how-to-use li {
  margin-bottom: 0.6rem;
  line-height: 1.6;
  color: #ccc;
}

.tool-section.how-to-use strong {
  color: #fff;
}

/* Responsive Improvements */
@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
    align-items: stretch;
  }
}


.region-select {
  max-height: 120px;
  overflow-y: auto;
}

.tool-section.how-to-use {
  background-color: #1e1e1e;
  padding: 1.25rem;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  margin-top: 2rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.tool-section.how-to-use h2 {
  margin-bottom: 0.75rem;
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 600;
}

.tool-section.how-to-use ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  margin: 0;
}

.tool-section.how-to-use li {
  margin-bottom: 0.6rem;
  color: #ccc;
}

.tool-section.how-to-use strong {
  color: #fff;
  font-weight: 500;
}
