/* === FORM INPUT FIELDS === */
.dash-mantine-TextInput input,
.dash-mantine-NumberInput input,
.dash-mantine-Select input {
  width: 100% !important;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1; /* subtle gray border */
  background-color: #ffffff;
  color: #0f172a; /* rich slate */
}

/* === PAPER BACKGROUND === */
.dash-mantine-Paper-root {
  background-color: #f8fafc !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* === FORM LABELS === */
.dash-mantine-GridCol label {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
  color: #334155;
}

/* === SECTION TITLES === */
.dash-mantine-Title-root {
  color: #002050;
  font-weight: 600;
}

/* === ACCORDION PANEL BG === */
.dash-mantine-AccordionPanel-root {
  background-color: #f1f5f9;
  border-radius: 8px;
  padding: 10px;
}

/* === GRID ROW SPACING === */
.input-grid-row {
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
  padding: 10px;
  border-radius: 8px;
  background-color: #f8fafc;
}

/* === DYNAMIC REMOVE BUTTON === */
.dynamic-remove-btn {
  width: 100% !important;
  padding: 6px;
  font-size: 13px;
  font-weight: 500;
  background-color: #e11d48 !important;
  color: white !important;
  border-radius: 5px;
  cursor: pointer;
  border: none;
}

/* === FORM BUTTONS === */
button,
.mantine-Button-root {
  border-radius: 6px !important;
  font-weight: 600;
  font-size: 14px;
}

button.mantine-Button-root[data-color="blue"] {
  background-color: #0099FF;
}

button.mantine-Button-root[data-color="green"] {
  background-color: #1BD75F;
}

button.mantine-Button-root[data-color="orange"] {
  background-color: #FF6600;
}

/* === CODE SNIPPET SECTION === */
.code-block {
  background-color: #0f172a;
  color: #e2e8f0;
  padding: 12px;
  font-size: 13px;
  font-family: 'Fira Code', monospace;
  border-radius: 8px;
  border: 1px solid #1e293b;
  overflow-x: auto;
  line-height: 1.6;
  min-height: 300px;
}

/* === CODE TABS TOGGLE === */
.tab-buttons {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.tab-buttons button {
  padding: 6px 14px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  background-color: #e2e8f0;
  color: #002050;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.tab-buttons button:hover {
  background-color: #FF6600;
  color: white;
}

.tab-buttons button.active {
  background-color: #0099FF;
  color: white;
}

/* === COPY FEEDBACK === */
#copy-feedback {
  color: #64748b;
}

/* === SUBMIT BUTTON CONTAINER === */
.sticky-submit {
  position: sticky;
  bottom: 0;
  right: 0;
  padding: 12px;
  text-align: right;
  background: linear-gradient(to top, #ffffffcc, transparent);
  border-top: 1px solid #e2e8f0;
  z-index: 10;
}
