/* ===========================
   DEEPFORCE CALCULATOR THEME
   =========================== */

.deepforce-calculator {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #e8f0ff;
}

/* ---------- CARD ---------- */

.df-card {
  background:
    radial-gradient(1200px 400px at 10% -20%, rgba(0, 200, 255, 0.12), transparent 40%),
    linear-gradient(135deg, #060c18, #02060f);
  border-radius: 18px;
  border: 1px solid rgba(120, 180, 255, 0.15);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.8),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  padding: 28px;
}

/* ---------- HEADER ---------- */

.df-card-header {
  margin-bottom: 24px;
}

.df-title {
  font-size: 28px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #eaf4ff;
}

/* ---------- GRID ---------- */

.df-grid {
  display: grid;
  gap: 20px;
}

.df-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.df-field--full {
  grid-column: 1 / -1;
}

@media (max-width: 768px) {
  .df-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ---------- FIELD ---------- */

.df-field-label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(198, 216, 255, 0.7);
  margin-bottom: 6px;
}

.df-field-control {
  position: relative;
}

.df-field-control--stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ---------- INPUTS ---------- */

.df-input,
.df-select {
    width: 100%;
    box-sizing: border-box;
    color: rgb(245, 251, 255);
    font-size: 14px;
    border-radius: 12px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(113, 162, 255, 0.45);
    border-image: initial;
    background: radial-gradient(circle at left top, rgba(13, 71, 161, 0.25), transparent 55%), rgba(5, 11, 24, 0.96);
    padding: 12px 14px;
    outline: none;
    transition: border-color 0.16s, box-shadow 0.16s, background-color 0.16s;
}

.df-input:focus,
.df-select:focus {
  border-color: rgba(113, 162, 255, 0.45);
  box-shadow: 0 0 0 1px rgba(63, 233, 255, 0.6);
}

.df-select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8feaff 50%),
    linear-gradient(135deg, #8feaff 50%, transparent 50%);
  background-position:
    calc(100% - 20px) 18px,
    calc(100% - 14px) 18px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}


select.df-input {
    background-color: rgb(2, 8, 18) !important;
    color: rgb(245, 248, 255) !important;
}

/* ---------- STATIC VALUE ---------- */

.df-static-value {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(10, 20, 40, 0.55);
  border: 1px dashed rgba(120, 180, 255, 0.25);
  color: #cfeaff;
  font-size: 14px;
}

/* ---------- SWITCH ---------- */

.df-switch {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    gap: 16px;
    padding: 10px 12px;
    border-radius: 999px;
    background: radial-gradient(circle at left center, rgba(46, 209, 255, 0.25), transparent 60%), rgba(4, 12, 26, 0.95);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(105, 178, 255, 0.5);
    border-image: initial;
}

.df-switch:hover {
  border-color: rgba(120, 220, 255, 0.45);
}

.df-switch-text {
  font-size: 14px;
  color: #e8f0ff;
}

/* hide checkbox */
.df-switch input {
  display: none;
}

/* slider */
.df-switch-slider {
    width: 44px;
    height: 24px;
    position: relative;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 0px 8px inset;
    border-radius: 999px;
    background: rgba(7, 21, 40, 0.9);
    border-width: 1px;
    border-style: solid;
    border-color: rgba(120, 180, 255, 0.8);
    border-image: initial;
    transition: background 0.16s, border-color 0.16s, box-shadow 0.16s;
}

.df-switch-slider::after {
  content: "";
  width: 18px;
  height: 18px;
  background: #eaf4ff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s ease, background 0.2s ease;
}

.df-switch input:checked + .df-switch-slider {
    box-shadow: rgba(61, 240, 255, 0.7) 0px 0px 18px;
    background: linear-gradient(135deg, rgb(32, 227, 255), rgb(60, 255, 175));
    border-color: rgba(61, 240, 255, 0.9);
}

.df-switch input:checked + .df-switch-slider::after {
  transform: translateX(20px);
  background: #fff;
}

/* ---------- ACTIONS ---------- */

.df-actions {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.df-primary-btn {
  padding: 14px 28px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #002b3d;
  background: linear-gradient(90deg, rgb(33, 230, 255), rgb(55, 247, 199));
  box-shadow: rgba(13, 218, 255, 0.5) 0px 12px 26px;
  transition: all 0.2s ease;
}

.df-primary-btn:hover {
  transform: translateY(1px);
  box-shadow:
    0 0 0 6px rgba(41, 243, 255, 0.15),
    0 18px 50px rgba(0, 180, 255, 0.7);
filter: brightness(1.02);
  color: #002b3d;
}

/* ---------- RESULT PANEL ---------- */

.df-panel {
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 18px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(118, 179, 255, 0.45);
    border-image: initial;
    background: radial-gradient(circle at right top, rgba(65, 211, 255, 0.18), transparent 60%), rgba(5, 12, 28, 0.98);
}

.df-panel-title {
  font-size: 16px;
  margin-bottom: 16px;
  color: #eaf4ff;
}

/* ---------- RESULT GRID ---------- */

.df-result-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.df-result-item--wide {
  grid-column: 1 / -1;
}

.df-result-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: rgba(188, 208, 241, 0.8);
}

.df-result-value {
    font-size: 14px;
    color: rgb(245, 251, 255);
    font-weight: 500;
    word-break: break-word;
}

.df-result-price {
  font-size: 20px;
  font-weight: 700;
  color: #29f3ff;
}



/* ===========================
   SUMMARY LOOK (jak na screenie)
   =========================== */

/* Outer "shell" z paskami + vignette */
.deepforce-calculator .df-card{
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  padding: 36px 34px;
  background: linear-gradient(180deg, #050b16, #020611);
  border: 1px solid rgba(120, 180, 255, 0.14);
  box-shadow: 0 40px 120px rgba(0,0,0,0.85);
}

/* diagonal stripes */
.deepforce-calculator .df-card::before{
  content:"";
  position:absolute;
  inset:-60px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255,255,255,0.035) 0px,
    rgba(255,255,255,0.035) 2px,
    transparent 2px,
    transparent 10px
  );
  opacity: .35;
  pointer-events:none;
}

/* vignette + delikatne glowy */
.deepforce-calculator .df-card::after{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(900px 420px at 50% 0%, rgba(41,243,255,0.10), transparent 55%),
    radial-gradient(700px 360px at 10% 20%, rgba(63,233,255,0.08), transparent 60%),
    radial-gradient(900px 480px at 90% 30%, rgba(11,180,255,0.08), transparent 60%),
    radial-gradient(1200px 700px at 50% 110%, rgba(0,0,0,0.85), rgba(0,0,0,0.35) 45%, transparent 70%);
  pointer-events:none;
}

.deepforce-calculator .df-card > *{
  position: relative;
  z-index: 1;
}

/* Buttons jak na screenie: pill + glow */
.df-primary-btn{
  min-width: 340px;
  padding: 14px 34px;
  border-radius: 999px;
background-image: linear-gradient(90deg, rgb(33, 230, 255), rgb(55, 247, 199));
    box-shadow: rgba(13, 218, 255, 0.5) 0px 12px 26px;
}
.df-primary-btn:hover{
  box-shadow: rgba(13, 218, 255, 0.65) 0px 16px 32px;
}

/* Wersja „podsumowanie” – ukryj formularz, pokaż tylko wynik + przyciski */
.deepforce-calculator.df-state-summary .df-card-header,
.deepforce-calculator.df-state-summary .df-grid{
  display:none;
}

/* Result panel jak na screenie */
.deepforce-calculator .df-panel{
    margin-top: 24px;
    padding: 16px 18px;
    border-radius: 18px;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(118, 179, 255, 0.45);
    border-image: initial;
    background: radial-gradient(circle at right top, rgba(65, 211, 255, 0.18), transparent 60%), rgba(5, 12, 28, 0.98);
}

.deepforce-calculator .df-panel-title{
  margin: 0 0 18px;
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: rgba(232,240,255,0.95);
}

/* grid bardziej „oddechowy” */
.df-result-grid{
  gap: 18px 26px;
}

/* label/value jak na screenie */
.df-result-label{
  display:block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(198, 216, 255, 0.65);
  margin-bottom: 6px;
}
.df-result-value{
  display:block;
  font-size: 14px;
  font-weight: 600;
  color: rgba(232,240,255,0.95);
}

/* cena większa */
.df-result-price{
  display:block;
  margin-top: 2px;
  font-size: 20px;
  font-weight: 800;
  color: #29f3ff;
}

/* przycisk zamówienia pod spodem, wyśrodkowany */
#df-order-actions{
  margin-top: 22px !important;
}

.df-addons-more{
  margin-top: 10px;
  font-size: 14px;
  color: rgba(198, 216, 255, 0.76);
}

.df-addons-more-link{
  color: #29f3ff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(41, 243, 255, 0.45);
}

.df-addons-more-link:hover{
  text-decoration: underline;
}

.df-addons-note{
  margin-top: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(198, 216, 255, 0.76);
}

.df-addons-note-accent{
  color: rgba(198, 216, 255, 0.76);
  font-weight: 700;
  text-shadow: 0 0 14px rgba(41, 243, 255, 0.18);
}


/* --- Addons: grupy + wyszukiwarka + wybrane --- */
.df-addons-details summary{
  cursor:pointer;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(198, 216, 255, 0.7);
  margin-bottom: 10px;
}

.df-addons-group{
  margin-top: 12px;
}

.df-addons-group-title{
  margin: 6px 0 10px;
  font-size: 12px;
  color: rgba(198,216,255,0.76);
}

.df-addons-group-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.df-addons-selected{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 8px 0 14px;
}

.df-addon-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(41,243,255,0.10);
  border: 1px solid rgba(41,243,255,0.25);
  font-size: 13px;
}

.df-addon-chip-remove{
  appearance:none;
  border:none;
  background:transparent;
  color:#29f3ff;
  font-size:16px;
  cursor:pointer;
  line-height:1;
  padding:0 2px;
}

/* ===========================
   ADDONS – ODSTĘPY
   =========================== */

/* --- Addons picker layout --- */
.df-addons-picker{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: start;
  margin-top: 6px;
  margin-bottom: 14px;
}

.df-addons-picker-field{
  position: relative;
}

.df-addons-addbtn{
  min-width: 140px;
  padding: 12px 18px;
}

/* mobile: przycisk pod inputem */
@media (max-width: 768px){
  .df-addons-picker{
    grid-template-columns: 1fr;
  }
  .df-addons-addbtn{
    width: 100%;
    min-width: 0;
  }
}

/* --- Suggest dropdown (stylowany) --- */
.df-addon-suggest{
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 9999;
  max-height: 320px;
  overflow: auto;

  background: rgba(5, 12, 28, 0.98);
  border: 1px solid rgba(118, 179, 255, 0.45);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.75);
  padding: 8px;
}

.df-addon-suggest-item{
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  user-select: none;
}

.df-addon-suggest-item:hover{
  background: rgba(41,243,255,0.10);
  border: 1px solid rgba(41,243,255,0.20);
}

.df-addon-suggest-main{
  color: rgba(232,240,255,0.95);
  font-weight: 600;
  font-size: 13px;
}

.df-addon-suggest-meta{
  color: rgba(198, 216, 255, 0.70);
  font-size: 12px;
  white-space: nowrap;
}

/* --- Selected chips --- */
.df-addons-selected{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin: 10px 0 18px;
}

.df-addon-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(41,243,255,0.10);
  border: 1px solid rgba(41,243,255,0.25);
  font-size: 13px;
}

.df-addon-chip-meta{
  color: rgba(198, 216, 255, 0.70);
  font-size: 12px;
}

.df-addon-chip-remove{
  appearance:none;
  border:none;
  background:transparent;
  color:#29f3ff;
  font-size:16px;
  cursor:pointer;
  line-height:1;
  padding:0 2px;
}


/* ===========================
   USŁUGI DODATKOWE – LAYOUT + STYL INPUTA
   =========================== */

/* układ: input + button w rzędzie, reszta pod spodem */
.deepforce-calculator .df-addons-picker{
  display: flex;
  flex-wrap: wrap;              /* klucz: pozwala zrzucać kolejne elementy niżej */
  gap: 12px;
  align-items: center;
  margin-top: 6px;
  margin-bottom: 12px;
}

.deepforce-calculator .df-addons-picker-field{
  flex: 1 1 520px;              /* input szeroki */
  min-width: 260px;
  position: relative;
}

.deepforce-calculator .df-addons-addbtn{
  flex: 0 0 auto;
  min-width: 140px;
  padding: 12px 18px;
}

.deepforce-calculator .df-addons-more{
  margin-top: 10px;
}

/* mobile: przycisk pod inputem */
@media (max-width: 768px){
  .deepforce-calculator .df-addons-addbtn{
    width: 100%;
    min-width: 0;
  }
}

/* naprawa białego inputa (nadpisania z motywu) */
.deepforce-calculator #df-addon-picker.df-input{
  background: radial-gradient(circle at left top, rgba(13, 71, 161, 0.25), transparent 55%),
              rgba(5, 11, 24, 0.96) !important;
  color: rgb(245, 251, 255) !important;
  border: 1px solid rgba(113, 162, 255, 0.45) !important;
  border-radius: 12px;
}

.deepforce-calculator #df-addon-picker.df-input::placeholder{
  color: rgba(198, 216, 255, 0.60) !important;
}

/* ===========================
   ADDONS – szeroki input + wybrane pod spodem
   =========================== */

.deepforce-calculator .df-addons-picker{
  display: grid;
  grid-template-columns: 1fr 160px; /* input + przycisk */
  gap: 12px;
  align-items: start;
  margin-top: 6px;
  margin-bottom: 12px;
}

.deepforce-calculator .df-addons-picker-field{
  width: 100%;
  min-width: 0;
  position: relative;
}

/* input naprawdę na 100% */
.deepforce-calculator #df-addon-picker{
  width: 100% !important;
}

/* przycisk “Dodaj” */
.deepforce-calculator .df-addons-addbtn{
  min-width: 160px;
  padding: 12px 18px;
}

/* WYBRANE – zawsze nowy wiersz (nawet gdyby były w środku pickera) */
.deepforce-calculator #df-addons-selected,
.deepforce-calculator .df-addons-picker #df-addons-selected{
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 12px;
}

/* mobile: przycisk pod inputem */
@media (max-width: 768px){
  .deepforce-calculator .df-addons-picker{
    grid-template-columns: 1fr;
  }
  .deepforce-calculator .df-addons-addbtn{
    width: 100%;
    min-width: 0;
  }
}

/* dropdown z podpowiedziami też szeroki */
.deepforce-calculator .df-addon-suggest{
  left: 0;
  right: 0;
  width: 100%;
}

.deepforce-calculator .df-addon-suggest-item.is-selected{
  opacity: 0.55;
  cursor: default;
}

/* "Zapoznaj się..." jako osobna linia */
.deepforce-calculator .df-addons-note-accent{
  display: block;
  margin-bottom: 6px;
}


/* Cały field "Usługi dodatkowe" na pełną szerokość */
.deepforce-calculator .df-field--addons{
  grid-column: 1 / -1;
}

/* Notka zawsze pod spodem i na 100% */
.deepforce-calculator .df-field--addons .df-addons-note{
  width: 100%;
  margin-top: 10px;
}


/* USŁUGI DODATKOWE: wszystko w 1 kolumnie (pełna szerokość) */
.deepforce-calculator .df-addons-picker{
  display: grid !important;
  grid-template-columns: 1fr !important; /* zamiast 1fr 160px */
  gap: 12px !important;
  align-items: start;
}

/* Każdy element w pickerze ma zajmować całą szerokość */
.deepforce-calculator .df-addons-picker > *{
  grid-column: 1 / -1 !important;
  width: 100%;
}

/* "Zapoznaj się..." w osobnej linijce */
.deepforce-calculator .df-addons-note-accent{
  display: block;
  margin-bottom: 6px;
}

/* Notka i link pod spodem */
.deepforce-calculator .df-addons-note{
  margin-top: 6px;
}

.deepforce-calculator .df-addons-more{
  margin-top: 6px;
}



