.new-expense-container {
  color: #333;
}

.form-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-id {
  font-weight: bold;
  font-size: 18px;
}

.back-button {
  background-color: #6c757d;
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #5a6268;
}

.back-button:active {
  background-color: #545b62;
}

.form-grid {
  display: grid;
  /* grid-template-columns: repeat(3, 1fr); */
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.form-grid label {
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 5px;
  display: block;
  color: #333;
}

.form-grid input,
.form-grid select {
  width: 100%;
  padding: 6px 4px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  background-color: #f9f9f9;
}

.save-button-wrapper {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.save-button {
  background-color: #ffcb05;
  color: #fff;
  padding: 10px 30px;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.save-button:hover {
  background-color: #f4b400;
}

.product-table-section {
  margin-top: 25px;
}


/*Actualización de New Expense con tabla*/

/* src/pages/Expenses/NewExpense.css */

.new-expense-container {
  padding: 20px;
}

.form-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.form-id {
  font-weight: bold;
  margin-bottom: 10px;
}

/* .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
} */

.save-button-wrapper {
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

.save-button {
  background-color: #ffc107; /* amarillo/dorado */
  color: #000; /* ajustar según contraste */
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
}

.product-table-section {
  margin-top: 20px;
  overflow-x: auto;
}

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

.product-table th, .product-table td {
  border: 1px solid #d4af37; /* dorado */
  padding: 8px;
  text-align: center;
}

.product-table th {
  background-color: #800020; /* bordo/morado oscuro, según tus imágenes */
  color: white;
  font-weight: bold;
}

.add-product-row {
  cursor: pointer;
  color: #d4af37; /* dorado */
  text-align: center;
  padding: 10px;
  font-style: italic;
}

.tax-pill {
  background-color: white;
  border: 1px solid #d4af37;
  border-radius: 12px;
  padding: 2px 6px;
  color: #800020;
}

.product-table tfoot td {
  border-top: 2px solid #d4af37;
  padding: 8px;
}
