/* =========================
   STRUCTURĂ GENERALĂ
========================= */

.cctv-calculator {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}

.calculator-wrapper {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* =========================
   FORM ELEMENTE
========================= */

label {
  font-weight: 600;
  color: #111827;
}

select,
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  margin-top: 6px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 15px;
}

select:focus,
input:focus {
  outline: none;
  border-color: #2563eb;
}

/* =========================
   CÂMPURI INLINE
========================= */

.inline-field {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

/* =========================
   CONTROL NUMĂR CAMERE (− 2 +)
========================= */

.qty-control {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qty-control input[type="number"] {
  width: 46px;
  height: 36px;
  text-align: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  padding: 0;
  background: #ffffff;
}

/* eliminăm spinerele */
.qty-control input::-webkit-outer-spin-button,
.qty-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-control input {
  appearance: textfield;
}

/* butoane + / − */
.qty-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: #eef2f7;
}

.qty-btn.plus {
  color: #2563eb;
}

/* =========================
   CHECKBOX-URI
========================= */

.kit-checkbox {
  margin: 20px 0;
}

.kit-checkbox label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* descrieri opțiuni */
.option-desc {
  font-size: 13px;
  color: #6b7280;
  margin-left: 26px;
  margin-bottom: 10px;
}

/* =========================
   CABLU
========================= */

.cable-row {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 10px;
  margin-bottom: 8px;
}

#cableTotalBox {
  display: grid;
  grid-template-columns: 1fr 100px;
  margin-top: 6px;
  font-weight: 600;
}

#cableTotalBox span {
  text-align: right;
}

/* =========================
   COMPONENTĂ SISTEM
========================= */

#totalBox {
  margin-top: 30px;
}

#totalBox ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#totalBox li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 15px;
}

.price-col {
  font-weight: 600;
}

/* =========================
   TOTAL
========================= */

.total {
  text-align: center;
  margin: 24px 0;
  font-size: 18px;
}

/* =========================
   BUTOANE
========================= */

.btn-primary {
  width: 100%;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #2563eb, #1e40af);
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.95;
}

/* =========================
   UTILITARE
========================= */

.hidden {
  display: none;
}
/* CENTRARE TEXT ÎN TOATE BUTOANELE */
.btn-primary,
.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
