﻿:root {
  --primary: #15803d;
  --primary-dark: #166534;
  --primary-light: #dcfce7;
  --accent: #ca8a04;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  min-height: 100vh;
  padding: 2.5rem 1rem;
  line-height: 1.5;
}

.container {
  max-width: 1020px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

h2 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.price-hint {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.input-stepper {
  display: flex;
  align-items: center;
  max-width: 180px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}

.input-stepper.mini {
  max-width: 130px;
}

.input-stepper button {
  width: 40px;
  height: 38px;
  border: none;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  transition: background 0.15s;
}

.input-stepper button:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.input-stepper input {
  flex: 1;
  text-align: center;
  border: none;
  background: transparent;
  font-weight: 700;
  font-size: 1rem;
  width: 100%;
}

.input-stepper input:focus {
  outline: none;
}

.radio-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.radio-card {
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.radio-card input {
  accent-color: var(--primary);
}

.radio-card .card-content {
  display: flex;
  flex-direction: column;
}

.radio-card .title {
  font-weight: 700;
  font-size: 0.9rem;
}

.radio-card .desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.radio-card:has(input:checked) {
  border-color: var(--primary);
  background-color: var(--primary-light);
}

.vehicle-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.vehicle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.equipment-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.equipment-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s;
}

.equipment-item:hover {
  background: #f8fafc;
}

.equipment-item input {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--primary);
}

.equipment-item .item-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

.item-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.item-price {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
}

/* Summary Card */
.summary-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.breakdown-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.breakdown-list li {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breakdown-list li span:last-child {
  font-weight: 600;
  color: var(--text-main);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}

.total-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-container span:first-child {
  font-weight: 700;
  font-size: 1rem;
}

.total-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.info-alert {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  color: #92400e;
  padding: 0.75rem;
  border-radius: 10px;
  font-size: 0.82rem;
  margin-bottom: 1.25rem;
  line-height: 1.4;
}

.btn {
  display: block;
  width: 100%;
  padding: 0.85rem;
  border-radius: 10px;
  border: none;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-align: center;
  transition: background 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}
