/*
 * Styling for the enhanced BME selector dropdown and modal. These classes are
 * scoped to avoid conflicting with existing theme styles. The modal adopts a
 * dark backdrop with neon cyan accents to fit the Fungal Frontiers aesthetic.
 */

/* Dropdown option container */
.ff-bme-option {
  padding: 6px 8px;
  line-height: 1.3;
  color: #eaf9ff;
  background-color: #0e1630;
}
.ff-bme-option .ff-bme-group {
  font-size: 0.8em;
  font-weight: 700;
  color: #49ed49;
  margin-bottom: 2px;
  opacity: 0.75;
}
.ff-bme-option .ff-bme-name {
  font-weight: 800;
  color: #00ffff;
  margin-bottom: 2px;
}
.ff-bme-option .ff-bme-desc {
  font-size: 0.85em;
  color: #b0d8e0;
  opacity: 0.85;
}

/* Ensure selected text inherits the neon colour when appropriate */
.ff-bme-selection {
  color: #00ffff;
  cursor: pointer;
}

/* Modal wrapper fills the entire viewport */
.ff-bme-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* Modal content box */
.ff-bme-modal-content {
  background-color: #0b1220;
  border: 1px solid #00ffff;
  border-radius: 10px;
  padding: 24px 32px;
  max-width: 600px;
  width: 100%;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
  color: #eaf9ff;
  position: relative;
}

/* Modal close button */
.ff-bme-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  color: #00ffff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

/* Modal title */
.ff-bme-modal-title {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  color: #00ffff;
}

/* Modal description */
.ff-bme-modal-desc {
  font-size: 1rem;
  line-height: 1.4;
  color: #eaf9ff;
}