/* ── Bar Grating Calculator Styles ── */
.bgc-wrap {
}

.bgc-wrap h2 {
  font-size: 20px;
  margin-bottom: 10px;
}

.bgc-wrap h3 {
  font-size: 16px;
  margin: 16px 0 8px;
}

.bgc-wrap p {
  line-height: 1.6;
  margin-bottom: 10px;
}

/* Step boxes */
.bgc-step {
  margin: 18px 0 10px;
}

.bgc-step-label {
  font-size: 15px;
  font-weight: 700;
  color: #003399;
  margin-bottom: 6px;
}

/* Selects & inputs */
.bgc-wrap select {
  border: 1px solid #b9bdc1;
  font-size: 13px;
  font-family: inherit;
  color: #000;
  padding: 5px 8px;
  margin-right: 6px;
}

.bgc-wrap select:focus {
  border-color: #003399;
  outline: none;
}

.bgc-wrap select:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Load row */
.bgc-load-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}

.bgc-load-box {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bgc-load-box label {
  font-weight: 600;
  font-size: 13px;
}

/* Reset button */
.bgc-reset-btn {
  display: inline-block;
  background: #003399;
  color: #fff;
  border: none;
  padding: 7px 16px;
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 10px;
}
.bgc-reset-btn:hover {
  background: #002277;
}

/* Results table */
.bgc-results-table {
  border-collapse: collapse;
  width: 100%;
  max-width: 700px;
  margin-top: 16px;
  font-size: 13px;
}

.bgc-results-table th {
  background: #bfbfbf;
  border: 1px solid #999;
  padding: 7px 10px;
  text-align: center;
  font-weight: 700;
}

.bgc-results-table td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  text-align: center;
}

.bgc-results-table td.bgc-symbol {
  font-weight: 700;
  text-align: left;
  padding-left: 14px;
}

.bgc-results-table input[type="text"] {
  width: 100%;
  min-width: 80px;
  border: 1px solid #b9bdc1;
  padding: 5px 6px;
  font-size: 13px;
  font-family: inherit;
  text-align: center;
  background: #f7f7f7;
  box-sizing: border-box;
}

/* Notes section */
.bgc-notes {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}

.bgc-notes p {
  margin: 4px 0;
}

.bgc-section-title {
  font-weight: 700;

  margin-top: 14px;
  display: block;
}
