.pool-form-wrapper {
    width: 100%; 
    max-width: 1400px;  
    margin: auto;
    //padding: 40px 20px;
font-family: 'Source Sans 3', sans-serif;
    box-sizing: border-box;
}

/* =========================
   GRID LAYOUT – DVĚ KOLONY
========================= */
.pool-grid {

    align-items: start;
}

/* =========================
   BOXY
========================= */
.pool-left,
.pool-right {
    background: #fff;
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* =========================
   HEADINGS
========================= */
.pool-left h2,
.pool-right h2 {
      margin-bottom: 25px;
    font-size: 26px;
    font-weight: 600;
    background-color: #0858b8;
    padding: 15px 20px;
    border-radius: 12px;
    display: inline-block;
    WIDTH: 100%;
    color: white;
}

.pool-right h3 {
    margin-top: 30px;
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 600;
}

/* =========================
   FORM FIELDS
========================= */
.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    font-size: 17px;
    font-weight: 500;
}

input[type=text],
input[type=email],
select {
    width: 100%;
    padding: 0px 14px;
    border-radius: 8px;
    border: 1px solid #dcdcdc;
    font-size: 17px;
    transition: .2s;
    background: #fff;
}

input:focus,
select:focus {
    outline: none;
    border-color: #1e73be;
    box-shadow: 0 0 0 2px rgba(30, 115, 190, 0.15);
}

/* =========================
   POOL CARDS
========================= */
.card-grid {
 flex-wrap: nowrap;
display:grid;
grid-template-columns:repeat(4,1fr);
gap:18px;
margin-top:20px;
margin-bottom:25px;
}

.card-option {
  display: block;
  border: 2px solid #eee;
  border-radius: 12px;
  padding: 17px;
  text-align: center;
  cursor: pointer;
  transition: .25s;
  font-size: 17px;
  font-weight: 500;
  background: #fff;
}

.card-option img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: .25s;
}

.card-option:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}

.card-option input:checked + img,
.card-option input:checked + img + * {
  border-color: #1e73be;
  box-shadow: 0 8px 22px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}
/* =========================
   SELECT PREVIEW
========================= */
.preview img {
    display: none;
    margin-top: 10px;
    max-width: 100%;
    border-radius: 10px;
}

.preview img.active {
    display: block;
    animation: fadeIn .3s ease;
    max-width: 400px;
}

/* =========================
   CHECKBOX GRID
========================= */
.check-grid {
    display: flex;
    gap: 25px;
    margin-top: 10px;
    margin-bottom: 20px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    line-height: 0.5;
    cursor: pointer;
}

.checkbox input[type="checkbox"] {
    margin: 0;
    padding: 0;
    vertical-align: middle;
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}
/* =========================
   GDPR
========================= */
.gdpr {
    font-size: 15px;
    margin: 20px 0;
    line-height: 1.4;
}

.gdpr a {
    color: #1e73be;
    text-decoration: underline;  
}

.gdpr label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.gdpr input[type="checkbox"] {   
    padding: 0;
    vertical-align: middle;
    width: 18px;    
    height: 18px;
    flex-shrink: 0;

}
/* =========================
   BUTTON
========================= */
.submit-btn {
      background: #fff;
    color: #111;
    border: none;
    padding: 20px 28px;
    border-radius: 12px;
    border: 1px solid;
    border-color: #111;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: .25s;
    width: 20%;
}

.submit-btn:hover {
    background: #155a96;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
color: #fff;
}

/* =========================
   ATYPICAL FIELD
========================= */
#jinyRozmer {
    margin-top: 10px;
    display: none;
}

/* =========================
   ANIMATION
========================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

/* =========================
   MOBIL – kompletní optimalizace
========================= */
@media(max-width: 700px) {
    /* Kontejner a grid formuláře */
    .pool-form-wrapper {
        padding: 0 0;
    }

    .pool-grid {
        grid-template-columns: 1fr; /* jeden sloupec */
        gap: 25px;
    }

    /* Boxy formuláře */
    .pool-left,
    .pool-right {
        padding: 25px;
    }

    /* Hlavičky formuláře */
    .pool-left h2,
    .pool-right h2 {
        font-size: 22px;
        padding: 12px 16px;
        display: block;
        width: 100%;
        box-sizing: border-box;
			text-align:center;
    }

    /* =========================
       Karty – pod sebou, žádný scroll
    ========================= */
    .card-grid {
        display: grid;              
        grid-template-columns: 1fr;  
        gap: 0px;                  /* menší mezera mezi kartami */
        overflow-x: visible;        
        padding-bottom: 0;
    }

    .card-option {
        width: 100%;                
    }

    .card-option img {
        height: 120px;              
        object-fit: contain;
    }

    /* Checkboxy pod sebou */
    .check-grid {
        flex-direction: column;
        gap: 0px;
    }
	.gdpr label {
display: block;
    align-items: flex-start;
    cursor: pointer;
}

    /* Submit tlačítko full-width */
    .submit-btn {
        width: 100%;
        font-size: 15px;
        padding: 14px;
    }
}

/* -- POPUP MOBILNI VERZE --*/

.kreidl-popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.55);
display:none;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
}

.kreidl-popup-box{
background:#fff;
padding:40px;
border-radius:12px;
max-width:420px;
width:100%;
text-align:center;
box-shadow:0 20px 60px rgba(0,0,0,0.25);
animation:popupFade .35s ease;
}

.kreidl-popup-icon{
font-size:48px;
color:#2ecc71;
margin-bottom:20px;
}

.kreidl-popup h2{
margin-bottom:10px;
font-size:26px;
}

.kreidl-popup p{
font-size:16px;
line-height:1.6;
color:#555;
}

.kreidl-popup button{
margin-top:25px;
padding:14px 24px;
background:#1e73be;
border:none;
color:#fff;
border-radius:6px;
cursor:pointer;
font-size:16px;
font-weight:600;
width:100%;
max-width:220px;
}

.kreidl-popup button:hover{
background:#155a96;
}

@keyframes popupFade{
from{
opacity:0;
transform:translateY(20px);
}
to{
opacity:1;
transform:translateY(0);
}
}
@media (max-width:480px){

.kreidl-popup-box{
padding:30px 20px;
}

.kreidl-popup-icon{
font-size:42px;
}

.kreidl-popup h2{
font-size:22px;
}

.kreidl-popup p{
font-size:15px;
}

}

/*-- ikony pod nadpisem --*/
.kreidl-icons-row{
display:flex;
align-items:center;
gap:40px;
justify-content:center;
}

.kreidl-icon-box{
display:flex;
align-items:center;
gap:12px;
font-size:17px;
font-weight:600;
}

.kreidl-icon-box img{
width:100px;
height:100px;
object-fit:contain;
}

/* mobil skryt */
@media (max-width:768px){
.kreidl-icons-row{
display:none;
}
}