:root {
  --cookieColor1: #6aad1b;
  --cookieColor2: #4e8212;
  --cookieColor3: #1a2e04;
  --cookieColor4: #ffffff;
}

.cookies-AP-St49 {
  z-index: 3000;
  width: 600px;
  height: auto;
  background-color: #fff;
  position: fixed;
  bottom: -600px;
  left: calc(50% - 300px);
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 8px 32px rgba(0,0,0,.18);
  transition: bottom .5s ease, opacity .5s ease;
  box-sizing: border-box;
  padding: 25px;
  font-size: 1rem;
  font-weight: 300;
  font-family: 'Inter', sans-serif;
}

.cookies-AP-St49 h2 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cookieColor3);
}

.cookies-AP-St50 {
  color: var(--cookieColor1);
  font-weight: 600;
}
.cookies-AP-St50:hover { color: var(--cookieColor2); }

.cookies-AP-St49_1 {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 8px;
  margin-top: 14px;
}

.cookies-AP-St49_2 {
  overflow: hidden;
  padding: 0;
  height: 0;
  transition: height .5s ease;
}

.cookies-AP-St49_3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0 0 20px;
  min-height: 56px;
}

.cookies-AP-St49_3 > div:first-child {
  flex: 1;
}

.cookies-AP-St49_3 strong {
  display: block;
  font-size: .93rem;
  margin-bottom: 3px;
  color: var(--cookieColor3);
}

.cookies-AP-St49_3 p {
  font-size: .83rem;
  color: #666;
  margin: 0;
}

.cookies-AP-St51 {
  flex: 1;
  padding: 13px 12px;
  color: #fff;
  text-decoration: none;
  font-size: .85rem;
  text-align: center;
  font-weight: 600;
  background-color: var(--cookieColor1);
  cursor: pointer;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 2px solid var(--cookieColor1);
  transition: background .25s ease, border-color .25s ease;
  line-height: 1.3;
}
.cookies-AP-St51:hover {
  background-color: var(--cookieColor2);
  border-color: var(--cookieColor2);
}

.cookies-AP-St51_1 {
  flex: 1;
  padding: 13px 12px;
  color: var(--cookieColor3);
  text-decoration: none;
  font-size: .85rem;
  text-align: center;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
  border: 2px solid var(--cookieColor1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .25s ease, color .25s ease;
  line-height: 1.3;
  background: #fff;
}
.cookies-AP-St51_1:hover {
  border-color: var(--cookieColor2);
  color: var(--cookieColor2);
}

.cookies-AP-toggle-button-cover {
  flex-shrink: 0;
  width: 80px;
  height: 36px;
  position: relative;
}

.cookies-AP-button-cover {
  position: absolute;
  inset: 0;
  background-color: #fff;
}

.cookies-AP-button {
  position: absolute;
  inset: 0;
  width: 74px;
  height: 36px;
  margin: auto;
  overflow: hidden;
}

.cookies-AP-button.r,
.cookies-AP-button.r .cookies-AP-layer {
  border-radius: 100px;
}

.cookies-AP-button-cover,
.cookies-AP-knobs,
.cookies-AP-layer {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
}

.cookies-AP-checkbox {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  opacity: 0;
  z-index: 3;
  cursor: pointer;
}

.cookies-AP-knobs { z-index: 2; }

.cookies-AP-layer {
  width: 100%;
  background-color: #d6f0b3;
  transition: .3s ease all;
  z-index: 1;
  border-radius: 100px;
}

#cookies-AP-button-1 .cookies-AP-knobs::before {
  content: "TAK";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  background-color: var(--cookieColor1);
  border-radius: 50%;
  transition: .3s cubic-bezier(.18,.89,.35,1.15) all;
}

#cookies-AP-button-1 .cookies-AP-checkbox:checked + .cookies-AP-knobs::before {
  content: "NIE";
  left: 42px;
  background-color: #f44336;
}

#cookies-AP-button-1 .cookies-AP-checkbox:checked ~ .cookies-AP-layer {
  background-color: #fcebeb;
}

#cookies-AP-button-1 .cookies-AP-knobs,
#cookies-AP-button-1 .cookies-AP-knobs::before,
#cookies-AP-button-1 .cookies-AP-layer {
  transition: .3s ease all;
}

.cookies-AP-St49_3:first-child .cookies-AP-layer {
  background-color: #e0e0e0;
}

.cookies-AP-St49_3:first-child .cookies-AP-knobs::before {
  content: "TAK";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 28px;
  height: 28px;
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  line-height: 28px;
  background-color: #999;
  border-radius: 50%;
  transition: none;
}

.cookies-AP-St49_3:first-child .cookies-AP-checkbox {
  cursor: not-allowed;
}

@media only screen and (max-width: 1032px) {
  .cookies-AP-St49 {
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    left: 0;
    border-radius: 10px 10px 0 0;
    padding: 20px 16px;
  }

  .cookies-AP-St49_1 {
    flex-wrap: wrap;
    gap: 6px;
    align-items: stretch;
  }

  .cookies-AP-St51,
  .cookies-AP-St51_1 {
    flex: 1 1 100%;
    min-width: 0;
    padding: 14px 12px;
    margin: 0;
  }

  .cookies-AP-St51[style*="width: 0"],
  .cookies-AP-St51_1[style*="width: 0"] {
    display: none !important;
  }

  .cookies-AP-St49_3 {
    gap: .75rem;
    min-height: 48px;
  }
}
