:root {
  --primary-color: #075e54; /* Основной зеленый */
  --bg-card: #ffffff;
  --bg-hover: #f0fdf4;       /* Легкий зеленый оттенок при наведении */
  --bg-active: #e6f4f1;      /* Оттенок при выборе радио-баттона */
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --radius: 12px;
}

/* Карточка-контейнер */
.leasing-card {
  max-width: 440px;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.05);
  padding: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-main);
}

/* Список */
.leasing-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Элемент списка (радио-баттон) */
.leasing-item {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.leasing-item:hover {
  background-color: var(--bg-hover);
}

.leasing-item:has(input:checked) {
  background-color: var(--bg-active);
  border-color: #b2dfdb;
}

/* Скрываем стандартный радио-баттон */
.leasing-item input[type="radio"] {
  display: none;
}

/* Кастомный радио-кружок */
.custom-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #94a3b8;
  border-radius: 50%;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.leasing-item input[type="radio"]:checked + .custom-radio {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
  box-shadow: inset 0 0 0 3px #ffffff;
}

.company-logo-placeholder {
  margin-right: 8px;
  font-size: 14px;
}

.company-name {
  font-size: 14px;
  font-weight: 500;
  flex-grow: 1;
}

.price-info {
  text-align: right;
  white-space: nowrap;
}

.price {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.period {
  font-size: 12px;
  color: var(--text-muted);
}

/* Плавный блок раскрытия скрытых банков */
.more-items {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), opacity 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.more-items.open {
  max-height: 500px;
  opacity: 1;
  transition: max-height 0.4s ease-in-out, opacity 0.3s ease;
}

/* Кнопка "Ещё" */
.toggle-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 0;
  margin: 4px 0 12px 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  transition: background-color 0.2s;
}

.toggle-btn:hover {
  background-color: #e6f4f1; /* Нежный зеленый фон при наведении на кнопку */
}

.chevron-icon {
  transition: transform 0.3s ease;
}

.toggle-btn.expanded .chevron-icon {
  transform: rotate(180deg);
}

/* Нижний блок условий */
.leasing-details {
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.detail-label {
  color: var(--text-muted);
}

.detail-value {
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
}

.badge-yes {
  color: #075e54;
  background-color: #e6f4f1;
}

.badge-no {
  color: #991b1b;
  background-color: #fef2f2;
}

.detail-value {
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    transition: all 0.2s ease;
}

.badge-yes {
    color: #075e54;
    background-color: #e6f4f1;
}

.badge-no {
    color: #991b1b;
    background-color: #fef2f2;
}