/* =====================================================
   LAYOUT FORMULARZA KONTAKT - TECHNOLOG
   ===================================================== */

/* Opis wstępny nad formularzem */
.kontakt-technolog-wrapper .js-form-type-processed-text {
  margin-bottom: 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0e0e0;
}

.kontakt-technolog-wrapper .js-form-type-processed-text h2 {
  margin-top: 0;
}

/* Kontener formularza - szerokość i wyśrodkowanie */
.kontakt-form-inner {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

/* =====================================================
   SEKCJA UPLOAD PLIKU
   ===================================================== */

.js-form-item-zalaczniki {
  margin-top: 20px;
  margin-bottom: 20px;
}

.js-form-item-zalaczniki > label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 12px;
}

.js-form-item-zalaczniki .description {
  margin-top: 10px;
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.js-form-item-zalaczniki .description > div:not(:first-child) {
  display: none;
}

/* Strefa drag & drop */
.js-form-item-zalaczniki .js-form-managed-file {
  position: relative;
  display: block;
  border: 2px dashed #00aeef;
  border-radius: 8px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  background: #f8fbff;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.js-form-item-zalaczniki .js-form-managed-file:hover {
  background: #edf6ff;
  border-color: #0090cc;
}

/* Input file - przezroczysty ale pokrywa całą strefę i jest klikalny */
.js-form-item-zalaczniki input[type="file"] {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  opacity: 0 !important;
  z-index: 2 !important;
  cursor: pointer !important;
  overflow: hidden;
}

/* Ikona spinacza */
.js-form-item-zalaczniki .js-form-managed-file::before {
  content: "📎";
  display: block;
  font-size: 32px;
  margin-bottom: 10px;
  pointer-events: none;
}

/* Tekst zachęty */
.js-form-item-zalaczniki .js-form-managed-file::after {
  content: "Kliknij lub przeciągnij pliki tutaj";
  display: block;
  font-size: 15px;
  color: #00aeef;
  font-weight: 500;
  pointer-events: none;
}