.hidden {
  display: none;
}

.show {
  display: block;
}

.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Colores oficiales de We Leasing */
:root {
  --we-teal: #4ECDC4;
  --we-navy: #1E3A8A;
  --we-orange: #FF6B35;
  --we-green: #10B981;
  --we-purple: #8B5CF6;
  --we-gradient: linear-gradient(135deg, #4ECDC4 0%, #1E3A8A 100%);
}

.we-gradient {
  background: var(--we-gradient);
}

.we-teal {
  background-color: var(--we-teal);
}

.we-navy {
  background-color: var(--we-navy);
}

.we-orange {
  background-color: var(--we-orange);
}

.we-green {
  background-color: var(--we-green);
}

.we-purple {
  background-color: var(--we-purple);
}

.text-we-teal {
  color: var(--we-teal);
}

.text-we-navy {
  color: var(--we-navy);
}

.text-we-orange {
  color: var(--we-orange);
}

.text-we-purple {
  color: var(--we-purple);
}

.bg-we-teal {
  background-color: var(--we-teal);
}

.hover\:bg-we-teal:hover {
  background-color: var(--we-teal);
}

/* Estilos del cotizador */
.cotizador-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
}

.cotizador-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.form-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.results-section {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 1.25rem;
  font-weight: bold;
  color: var(--we-navy);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  width: 4px;
  height: 24px;
  background: var(--we-teal);
  margin-right: 0.75rem;
  border-radius: 2px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--we-teal);
}

.dual-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  align-items: end;
}

.toggle-btn {
  padding: 0.5rem 1rem;
  background: #f3f4f6;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.toggle-btn.active {
  background: var(--we-teal);
  color: white;
  border-color: var(--we-teal);
}

.asset-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.asset-button {
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
  background: white;
}

.asset-button.active {
  border-color: var(--we-teal);
  background: var(--we-teal);
  color: white;
}

.monthly-payment-highlight {
  background: linear-gradient(135deg, var(--we-orange) 0%, #e55a2b 100%);
  color: white;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 2rem;
}

.monthly-payment-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.monthly-payment-amount {
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.monthly-payment-subtitle {
  font-size: 0.875rem;
  opacity: 0.8;
}

.detail-grid {
  display: grid;
  gap: 1rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid var(--we-teal);
}

.detail-label {
  font-weight: 500;
  color: #374151;
}

.detail-value {
  font-weight: bold;
  color: var(--we-navy);
}

.commission-highlight {
  background: linear-gradient(135deg, var(--we-green) 0%, #059669 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.commission-amount {
  font-size: 2rem;
  font-weight: bold;
}

.insurance-highlight {
  background: linear-gradient(135deg, var(--we-purple) 0%, #7c3aed 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  margin-bottom: 1.5rem;
}

.insurance-section {
  background: #faf5ff;
  border: 2px solid var(--we-purple);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.insurance-toggle {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider-switch {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: .4s;
  border-radius: 34px;
}

.slider-switch:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: .4s;
  border-radius: 50%;
}

input:checked+.slider-switch {
  background-color: var(--we-purple);
}

input:checked+.slider-switch:before {
  transform: translateX(26px);
}

.btn-primary {
  background: var(--we-gradient);
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.3s;
  width: 100%;
  margin-bottom: 1rem;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-secondary {
  background: #6b7280;
  color: white;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
  width: 100%;
  margin-bottom: 0.5rem;
}

.btn-secondary:hover {
  background: #4b5563;
}

.client-data-section {
  background: #f8fafc;
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.client-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.plazo-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.plazo-btn {
  padding: 0.75rem;
  border: 2px solid #e5e7eb;
  border-radius: 6px;
  background: white;
  cursor: pointer;
  text-align: center;
  font-size: 0.875rem;
  transition: all 0.3s;
}

.plazo-btn.active {
  border-color: var(--we-teal);
  background: var(--we-teal);
  color: white;
}

.info-tabs {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-top: 2rem;
}

.tab-buttons {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e5e7eb;
}

.tab-button {
  padding: 1rem 2rem;
  border: none;
  background: none;
  cursor: pointer;
  font-weight: 500;
  color: #6b7280;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

.tab-button.active {
  color: var(--we-teal);
  border-bottom-color: var(--we-teal);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.benefit-item {
  display: flex;
  align-items: start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid var(--we-green);
}

.benefit-icon {
  font-size: 2rem;
  margin-right: 1rem;
  flex-shrink: 0;
}

.document-section {
  margin-bottom: 2rem;
}

.document-type-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--we-navy);
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--we-teal);
  color: white;
  border-radius: 6px;
}

.document-list {
  list-style: none;
  padding: 0;
}

.document-list li {
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  background: #f8fafc;
  border-radius: 6px;
  border-left: 4px solid var(--we-teal);
  display: flex;
  align-items: center;
}

.document-list li:before {
  content: "📄";
  margin-right: 0.75rem;
  font-size: 1.2rem;
}

.commission-slider {
  width: 100%;
  margin: 1rem 0;
}

.slider-container {
  position: relative;
  margin: 1rem 0;
}

.slider {
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: #e5e7eb;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--we-teal);
  cursor: pointer;
}

.slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--we-teal);
  cursor: pointer;
  border: none;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}