.budget-table {
    margin-top: 1.5rem;
}

.table-title {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 1.125rem;
    font-weight: 500;
}

.formula-header {
  display: flex;
  align-items: center;
  background: var(--color-primary);
  padding: 0.75rem 1rem;
  border-radius: 6px 6px 0 0;
}

.formula-header .minus-button {
  margin-right: 12px;
}

.formula-title-input {
  flex: 1;
  font-size: 1.125rem;
  font-weight: 600;
  border: 2px solid #000;
  color: var(--color-white);
  background: transparent;
  outline: none;
}

thead tr th {
    background-color: #BBA263;
    color: var(--color-white);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    font-weight: 500;
}

tbody tr td.line1 {
    background-color: #F3F0EA;
    color: var(--color-black);
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

tbody tr td.line2 {
    background-color: #F3F0EA66;
    color: var(--color-black);
    padding: 0.5rem 1rem;
    font-size: 1rem;
}

.line3 {
    background-color: #f1e4ca;
    color: var(--color-black);
    font-size: 1rem;
}

.price-table-title {
    text-align: right;
}

.price-table-value {
    text-align: right;
    font-weight: 600;
}

.text {
    color: #847F7A;
}

.number {
    font-weight: 600;
    width: 100px;
}

.no-required-number {
    font-weight: 600;
    width: 100px;
}

.right-line {
    border-right: 1px solid white;
}

.top-line {
    border-top: 1px solid white;
}

.table-container {
    overflow-x: auto;
    margin-top: 1.5rem;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    background-color: var(--color-gray-50);
    padding: 0.75rem 1.5rem;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    color: var(--color-gray-700);
}

tr:last-child td {
    border-bottom: none;
}

/* Hide spinners in WebKit browsers (Chrome, Safari, Edge) */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Hide spinners in Firefox */
input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}