/* Global Styles */
body {
  background-color: #2e2e2e;
  color: #ffffff;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
}

/* Header Section */
.header {
  background-color: #121212;
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #444;
}

.header h1 {
  margin: 0;
  font-size: 2em;
}

/* Main Container */
.container {
  max-width: 800px;
  margin: 20px auto;
  background-color: #1e1e1e;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

/* Instructions Block */
.instructions {
  background-color: #2e2e2e;
  border: 1px solid #444;
  border-radius: 5px;
  padding: 15px;
  margin-bottom: 20px;
}

.instructions h2 {
  margin-top: 0;
  font-size: 1.4em;
}

.instructions ol {
  margin: 0 0 10px 20px;
}

.instructions p {
  margin: 0;
}

/* Form Styles */
.input-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

label {
  margin-bottom: 5px;
  font-size: 1rem;
}

input[type="text"],
select {
  padding: 10px;
  border: 1px solid #555;
  border-radius: 4px;
  background-color: #2e2e2e;
  color: #ffffff;
  font-size: 1rem;
}

/* Identify Button */
.btn-identify {
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  background-color: #3e3e3e;
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  align-self: flex-start;
}

.btn-identify:hover {
  background-color: #555;
}

/* Results Section */
.results {
  margin-top: 20px;
  background-color: #2e2e2e;
  border: 2px solid #666;  /* Increased border thickness for better contrast */
  border-radius: 5px;
  padding: 15px;
}

.results h2 {
  margin-top: 0;
  font-size: 1.3em;
}

.results ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.results li {
  margin-bottom: 15px;
}

pre {
  white-space: pre-wrap;
  word-wrap: break-word;
}

/* Error Box */
.error-box {
  border: 1px solid #cc0000;
  background-color: #3e1e1e;
  margin-top: 20px;
  padding: 10px;
  border-radius: 5px;
}

/* Resource Color Classes */
.quantanium {
  color: red;
  font-weight: bold;
}

.taranite {
  color: lightblue;
  font-weight: bold;
}

.bexalite {
  color: #ff00ff;
  font-weight: bold;
}

.gold {
  color: gold;
  font-weight: bold;
}

.hadanite {
  color: rgb(255, 196, 0);
  font-weight: bold;
}

/* Collapsible Section */
.collapsible-section {
  background-color: #2e2e2e;
  border: 1px solid #444;
  border-radius: 5px;
  margin-top: 20px;
  padding: 10px;
}

.collapsible-section summary {
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  outline: none; /* Remove focus outline on click */
  margin-bottom: 10px;
}

/* Optional: Hide the default disclosure triangle */
/*
.collapsible-section summary::-webkit-details-marker {
  display: none;
}
*/

/* Collapsible Content */
.collapsible-content {
  margin-top: 10px;
}

/* Table Styling */
.mining-locations-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  background-color: #1e1e1e;
}

.mining-locations-table th,
.mining-locations-table td {
  border: 1px solid #555;
  padding: 8px 12px;
  text-align: left;
}

.mining-locations-table th {
  background-color: #2e2e2e;
}
