/* LatePoint Car Pricing - Frontend Styles */

.lpcp-car-type-step {
  padding: 10px 0;
}

.lpcp-car-types-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lpcp-car-type-item {
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  background: #fff;
}

.lpcp-car-type-item:hover {
  border-color: var(--latepoint-primary-color, #4a90d9);
  background: #f8fafc;
}

.lpcp-car-type-item.selected {
  border-color: var(--latepoint-primary-color, #4a90d9);
  background: linear-gradient(
    135deg,
    rgba(74, 144, 217, 0.05) 0%,
    rgba(74, 144, 217, 0.1) 100%
  );
}

.lpcp-car-type-item .os-item-i {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  gap: 15px;
}

.lpcp-car-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #f0f4f8;
  border-radius: 10px;
  flex-shrink: 0;
}

.lpcp-car-type-item.selected .lpcp-car-type-icon {
  background: var(--latepoint-primary-color, #4a90d9);
  color: #fff;
}

.lpcp-car-type-icon .lpcp-icon {
  width: 28px;
  height: 28px;
}

.lpcp-car-type-item .os-item-name-w {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lpcp-car-type-item .os-item-name {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.lpcp-car-type-item .os-item-price-w {
  text-align: right;
}

.lpcp-car-type-item .os-item-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--latepoint-primary-color, #4a90d9);
}

/* Summary panel car type display */
.latepoint-summary-car-type {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
}

.latepoint-summary-car-type-label {
  font-weight: 500;
  color: #666;
}

.latepoint-summary-car-type-value {
  font-weight: 600;
  color: #333;
}

/* Price update animation */
.lpcp-price-updating {
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.lpcp-price-updated {
  animation: lpcp-pulse 0.3s ease;
}

@keyframes lpcp-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .lpcp-car-type-item .os-item-i {
    padding: 12px 15px;
    gap: 12px;
  }

  .lpcp-car-type-icon {
    width: 40px;
    height: 40px;
  }

  .lpcp-car-type-icon .lpcp-icon {
    width: 22px;
    height: 22px;
  }

  .lpcp-car-type-item .os-item-name {
    font-size: 14px;
  }

  .lpcp-car-type-item .os-item-price {
    font-size: 16px;
  }
}
