/* === MAGSY PDF Form – styl podle designu === */
.magsy-pdf-form{
  background:#EFEDF3;
  border-radius:18px;
  padding: 18px 31px 0;
  width:100%;
  box-sizing:border-box;
}

.magsy-pdf-form__inner {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.magsy-pdf-form__image{
  flex:0 0 auto;
}
.magsy-pdf-form__image img{
  display:block;
  max-height:170px;
  width:auto;
  height:auto;
}

.magsy-pdf-form__title{
  flex:0 1 auto;
  font-size:24px;
  font-weight:700;
  line-height:1.3;
  color:#1c1c2b;
  max-width:280px;
}

.magsy-pdf-form__action{
  flex:1 1 420px;
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:300px;
}

.magsy-pdf-form__fields{
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  background:#fff;
  border-radius:9999px;
  padding:6px;
  box-shadow:0 1px 2px rgba(0,0,0,0.04);
  width:100%;
  gap:0;
}

.magsy-pdf-form__input{
  flex:1 1 0;
  width:auto;
  min-width:0;
  border:0;
  outline:0;
  background:transparent;
  padding:0 22px;
  height:54px;
  font-size:17px;
  color:#1c1c2b;
  border-radius:9999px 0 0 9999px;
  box-shadow:none;
}
.magsy-pdf-form__input::placeholder{
  color:#8a8a99;
  opacity:1;
}

.magsy-pdf-form__button{
  flex:0 0 auto;
  border:0;
  cursor:pointer;
  background:#22c55e;
  color:#fff;
  font-weight:700;
  font-size:18px;
  height:54px;
  padding:0 36px;
  border-radius:9999px;
  white-space:nowrap;
  transition:background .15s ease, transform .05s ease;
}
.magsy-pdf-form__button:hover{ background:#16a34a; }
.magsy-pdf-form__button:active{ transform:translateY(1px); }

.magsy-pdf-form__consent{
  margin:0;
  font-size:14px;
  color:#5a5a6b;
  text-align:right;
  line-height:1.4;
}
.magsy-pdf-form__consent a{
  color:#5a5a6b;
  text-decoration:underline;
}

/* Skryjeme checkbox – souhlas je vyjádřen textem (jako na designu) */
.magsy-pdf-form__consent-input{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  opacity:0 !important;
  pointer-events:none;
}

.magsy-pdf-form__message{ font-size:14px; }
.magsy-pdf-form__honeypot{ display:none !important; }

/* === Responzivita === */
@media (max-width: 900px){
  .magsy-pdf-form{ gap:20px; padding:20px; }
  .magsy-pdf-form__title{ max-width:100%; font-size:20px; }
  .magsy-pdf-form__action{ flex:1 1 100%; }
  .magsy-pdf-form__consent{ text-align:left; }
}

@media (max-width: 600px){
  .magsy-pdf-form__fields{
    flex-direction:column;
    border-radius:18px;
    padding:8px;
    gap:8px;
  }
  .magsy-pdf-form__input{ width:100%; border-radius:12px; height:50px; }
  .magsy-pdf-form__button{ width:100%; height:50px; }
}

/* === Sidebar varianta (např. do produktové stránky) === */
.magsy-pdf-form--sidebar{
  padding:20px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__inner{
  max-width:100%;
  flex-direction:column;
  align-items:stretch;
  gap:14px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__image{
  align-self:center;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__image img{
  max-width:120px;
  max-height:none;
  width:100%;
  height:auto;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__title{
  max-width:100%;
  font-size:18px;
  text-align:center;
  line-height:1.3;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__action{
  flex:1 1 100%;
  min-width:0;
  width:100%;
  gap:8px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__fields{
  flex-direction:column;
  border-radius:14px;
  padding:8px;
  gap:8px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__input{
  width:100%;
  height:48px;
  border-radius:9999px;
  font-size:15px;
  padding:0 18px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__button{
  width:100%;
  height:48px;
  font-size:16px;
  padding:0 22px;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__consent{
  text-align:center;
  font-size:12px;
  line-height:1.4;
}
.magsy-pdf-form--sidebar .magsy-pdf-form__message{
  text-align:center;
}
