/* chiefcharms.css */



main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
}


h1, h2 {
  color: #38bdf8;
  text-align: center;
  margin-bottom: 1rem;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.category-block {
  background-color: #1e293b;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #334155;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.bulk-set {
  background-color: #334155;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: space-between;
  flex-wrap: wrap;
}

.bulk-set select,
.charm-slot select {
  background-color: #0f172a;
  color: #f1f5f9;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  padding: 0.4rem;
  font-size: 1rem;
}

.bulk-set button {
  background-color: #38bdf8;
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  padding: 0.4rem 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s;
}

.bulk-set button:hover {
  background-color: #0ea5e9;
}

.charm-slot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #0f172a;
  padding: 0.5rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  gap: 0.5rem;
}

.charm-slot span {
  font-size: 0.95rem;
  min-width: 100px;
  text-align: right;
}

.summary-box {
  margin-top: 2rem;
  background-color: #1e293b;
  border-radius: 1rem;
  padding: 1rem;
  border: 1px solid #334155;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
  text-align: center;
}

#summary {
  font-size: 1.1rem;
  margin: 1rem 0;
}

button#resetAll {
  background-color: #ef4444;
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

button#resetAll:hover {
  background-color: #dc2626;
}

.resources-box {
  margin-top: 2rem;
  background: rgba(15, 23, 42, 0.96);
  border-radius: 1rem;
  padding: 1.25rem;
  border: 1px solid rgba(148, 163, 184, 0.7);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
}


.resources-box label {
  display: block;
  margin: 0.5rem 0;
  color: #f1f5f9;
  font-weight: 500;
}

.resources-box input {
  background-color: #0f172a;
  color: #f1f5f9;
  border: 1px solid #475569;
  border-radius: 0.5rem;
  padding: 0.4rem;
  font-size: 1rem;
  margin-left: 0.5rem;
  width: 120px;
  text-align: center;
}

#compareResources {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  color: #0f172a;
  border: none;
  border-radius: 0.5rem;
  padding: 0.6rem 1.4rem;
  font-weight: bold;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}

#compareResources:hover {
  background: linear-gradient(135deg, #36d98a 0%, #30d0c7 100%);
}

#resource-result p {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 1rem;
}
