.card {
  border: none;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.card-header {
  font-weight: 600;
  background-color: var(--header-bg) !important;
  color: var(--text-dark);
  padding: 0.75rem 1rem;
}
.card-body {
  padding: 1rem;
}
.btn-primary {
  background-color: var(--primary-color);
  border: none;
  padding: 0.5rem 1rem;
}
.btn-calculate {
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
.alert-note {
  background-color: var(--highlight-yellow);
  border-left: 4px solid #ffc107;
  padding: 0.75rem;
}
.calculation-detail {
  border-bottom: 1px solid #eee;
  padding: 0.5rem 0;
}
.calculation-detail:last-child {
  border-bottom: none;
}
.calculation-label {
  font-weight: 500;
}
.calculation-value {
  font-weight: 600;
  text-align: right;
}
.ordinary-result {
  background-color: var(--highlight-yellow);
  padding: 0.5rem;
  border-radius: 4px;
}
.total-result {
  background-color: var(--highlight-green);
  padding: 0.5rem;
  border-radius: 4px;
}
.discount-value {
  background-color: var(--highlight-red);
  padding: 0.5rem;
  border-radius: 4px;
  color: #dc3545;
}
.form-control {
  font-size: 0.9rem;
  padding: 0.375rem 0.75rem;
}
.form-label {
  margin-bottom: 0.25rem;
  font-weight: 500;
}
.info-card {
  font-size: 0.85rem;
}
.info-icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}
.variable-input-group {
  margin-bottom: 0.5rem;
}
.ds-none {
  display: none !important;
}
.ds-flex {
  display: flex !important;
}
.variables-alert {
  background-color: var(--highlight-yellow);
  padding: 0.5rem;
  border-radius: 4px;
  margin-bottom: 1rem;
  font-size: 0.8rem;
}
.row-gap {
  gap: 1rem;
}
.variables-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.variable-col {
  flex: 1;
  min-width: calc(33.333% - 1rem);
}
.projection-line {
  position: absolute;
  height: 100%;
  width: 1px;
  background-color: rgba(0,0,0,0.1);
  left: 50%;
  top: 0;
}
.projection-label {
  position: absolute;
  font-size: 0.7rem;
  white-space: nowrap;
}
.single-line-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 1rem;
}
.single-line-row .col-md-6 {
  flex: 1;
}
.detail-item {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
}
.detail-value {
  font-weight: 600;
}
.detail-section {
  margin-top: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px dashed #ddd;
}
/* Estilos para alertas personalizadas */
.custom-alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  min-width: 300px;
  max-width: 400px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  display: none;
}
.custom-alert.show {
  display: block;
  animation: fadeIn 0.3s, fadeOut 0.3s 2.7s;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeOut {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}
/* Estilos para los botones de descarga */
.download-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.btn-download {
  border-radius: 20px;
  padding: 0.25rem 0.75rem;
  font-size: 0.8rem;
  transition: all 0.2s;
  display: inline-block;
  
}
.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}