:root {
  --color-primary: #1c6d1c;
  --color-secondary: #1e3b4d;
  --color-accent: #1c6d1c;

  --color-primary-gradient: linear-gradient(135deg, #1c6d1c 0%, #1c6047 100%);
}

.credit-card {
  max-width: 500px;
  margin: 2rem auto;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #e9ecef;
}

.amount-display {
  font-size: 2rem;
  font-weight: bold;
  color: var(--color-primary);
  margin: 1rem 0;
}

.range-slider {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: linear-gradient(
    to right,
    var(--color-primary) 0%,
    var(--color-accent) 100%
  );
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--color-primary);
  transition: all 0.3s ease;
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.range-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  border: 3px solid var(--color-primary);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #6c757d;
  margin-top: 0.5rem;
}

.term-select {
  border-radius: 8px;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
}

.cost-breakdown .list-group-item {
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}

.cost-breakdown .list-group-item i {
  font-size: 1rem;
}

.btn-apply {
  background-color: var(--color-accent);
  color: var(--contrast-color);
  width: 100%;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-apply:hover {
  background-color: color-mix(in srgb, var(--color-accent), transparent 20%);
  transform: translateY(-3px);
}

.btn-apply:active,
.btn-apply:focus-visible {
  background-color: color-mix(
    in srgb,
    var(--color-accent),
    transparent 20%
  ) !important;
  transform: translateY(-3px) !important;
}

.btn-apply:focus,
.btn-apply:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}

.bg-primary-avanzar {
  background-color: var(--color-primary) !important;
}