/* =========================
   COOKIES (vzhled jako web)
   ========================= */

.cookies-wrapper{
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1200px;
  width: 100%;
  max-width: 880px;

  /* tmavĂˇ karta */
  background: linear-gradient(180deg, rgba(22,44,75,.98) 0%, rgba(3,21,49,.98) 100%);
  border: 1px solid rgba(255,255,255,.10);
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;

  padding: 18px 22px 18px;
  transition: bottom .5s ease;

  /* mĂ­sto ĹˇedĂ©ho/ bĂ­lĂ©ho stĂ­nu */
  box-shadow: 0 20px 70px rgba(0,0,0,.65);
  z-index: 10000;
}

.cookies-wrapper.show{ bottom: 0; }

/* Header */
.cookies-wrapper header{
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.cookies-wrapper header h3{
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.5px;
  font-size: 1.5rem; /* jako na screenu */
  line-height: 1.1;
}

.cookies-icon{
  width: 42px;
  height: 42px;
  color: #4da3ff;
  stroke: currentColor;
}

/* text */
.cookies-wrapper .data{ margin-top: 12px; }

.cookies-wrapper .data p{
  margin: 8px 0 0;
  color: rgba(255,255,255,.78);
  font-size: 13px;
  line-height: 1.55;
  text-align: left;   /* justify vypadĂˇ na tmavĂ©m hĹŻĹ™ */
}

.cookies-wrapper .data p a{
  color: #4da3ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookies-wrapper .data p a:hover{
  color: #ffffff;
}

/* Sekce nastavenĂ­ (karty) */
#cookies-settings{
  margin-top: 14px;
}

.cookie-option{
  background: rgba(3, 21, 49, .55);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 2px;
  padding: 14px 14px;
  margin-top: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.cookie-option-name{
  color: rgba(255,255,255,.88);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.cookie-option-description{
  color: rgba(255,255,255,.72);
  font-size: 13px;
  line-height: 1.45;
  text-align: left;
  padding-top: 2px;
}

/* Checkbox â€“ ÄŤistĂ˝ modernĂ­ vzhled (bez âś•, bez bĂ­lĂ©ho inset stĂ­nu) */
.cookie-option-description input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  display: inline-block;
  vertical-align: middle;
  position: relative;
  margin: 0 10px 0 0;
  cursor: pointer;
  transition: all .15s ease;
}

.cookie-option-description input[type="checkbox"]:hover{
  border-color: rgba(77,163,255,.55);
}

.cookie-option-description input[type="checkbox"]:checked{
  background: rgba(30,90,168,.95);
  border-color: rgba(77,163,255,.65);
}

.cookie-option-description input[type="checkbox"]:checked::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
}

.cookie-option-description input[type="checkbox"]:disabled{
  opacity: .55;
  cursor: not-allowed;
}

.cookie-option-description label{
  display: inline;
  cursor: pointer;
}

/* U tebe je u 1. checkboxu label for="necessarily-cookie" (bez s)
   input mĂˇ id="necessarily-cookies". To je bug v HTML â€“ viz nĂ­Ĺľe. */


/* TlaÄŤĂ­tka â€“ bez glow, web styl */
.cookies-wrapper .buttons{
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.cookies-wrapper .buttons .nonselect-button,
.cookies-wrapper .buttons .select-button{
  flex: 1 1 0;
}

.cookies-wrapper .buttons .button,
.cookies-wrapper .buttons .cookies-settings-button{
  width: 100%;
  border-radius: 3px;
  padding: 12px 12px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.2px;
  border: 1px solid rgba(255,255,255,.14);
  cursor: pointer;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* Sekce "UloĹľit zmÄ›ny" v nastavenĂ­ â€“ zarovnĂˇnĂ­ */
.cookies-setting-button-section{
  float: none;
  padding: 0;
  margin-top: 12px;
}

/* oddÄ›lovaÄŤ mĂ­sto <hr style="border: 1px solid;"> */
#cookies-settings hr{
  border: none;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 14px 0 0;
}

/* responsive */
@media (max-width: 800px){
  .cookies-wrapper{
    max-width: calc(100% - 18px);
    bottom: -1400px;
    padding: 14px 14px 14px;
  }

  .cookies-wrapper header h3{
    font-size: 1.6rem;
  }

  .cookies-wrapper .buttons{
    flex-direction: column;
  }
}
