/* Auto Financing Widget Styles */

.auto-financing-widget {
  --primary-color: #1e3a8a;
  --bg-color: #ffffff;
  --border-color: #e5e7eb;
  --text-color: #1e1e1e;
  --dark-blue: #1e3a8a;
  --light-blue: #3b82f6;
  --white: #ffffff;
}

.auto-financing-container {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: stretch;
}

.auto-financing-block {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: background-color 0.3s, border-color 0.3s;
}

.auto-financing-block label {
  color: var(--white);
  font-family: Geomanist;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 120%;
  margin-bottom: 8px;
  width: 100%;
  text-align: left;
}

.auto-financing-months {
  width: 100%;
  padding: 10px;
  border: 2px solid var(--white);
  background: var(--dark-blue);
  color: var(--white);
  font-family: Geomanist;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s;
  appearance: none;
}

.auto-financing-select-wrapper {
  position: relative;
  width: 100%;
}

.auto-financing-select-wrapper svg {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--white);
}

.auto-financing-monthly-payment,
.auto-financing-initial-payment,
.auto-financing-final-payment {
  width: 100%;
  color: var(--white);
  font-family: Geomanist;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  border: 2px solid var(--white);
  padding: 10px;
  background: var(--dark-blue);
  transition: background-color 0.3s, border-color 0.3s;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.auto-financing-monthly-payment .payment-number,
.auto-financing-initial-payment .payment-number,
.auto-financing-final-payment .payment-number {
  flex: 1;
  text-align: left;
}

.auto-financing-monthly-payment .payment-symbol,
.auto-financing-initial-payment .payment-symbol,
.auto-financing-final-payment .payment-symbol {
  margin-left: 8px;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .auto-financing-container {
    flex-direction: column;
  }

  .auto-financing-block {
    min-width: auto;
    width: 100%;
  }
}
