.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  background: #ffffff;
  border: 1px solid #e6e6e6;
  box-shadow: 0 18px 45px rgba(0,0,0,0.18);
  border-radius: 22px;
  padding: 24px;
  max-width: 760px;
  margin: 0 auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #555555;
}

.cookie-banner h3 {
  margin: 0 0 10px;
  color: #333333;
  font-size: 22px;
}

.cookie-banner p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.5;
}

.cookie-links {
  margin-bottom: 18px;
  font-size: 14px;
}

.cookie-links a {
  color: #ff5f61;
  font-weight: 700;
  text-decoration: none;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 800;
  cursor: pointer;
  font-size: 14px;
}

.cookie-accept {
  background: #ff5f61;
  color: white;
}

.cookie-reject {
  background: #333333;
  color: white;
}

.cookie-customize {
  background: #f2f2f2;
  color: #333333;
}

.cookie-panel {
  display: none;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #e6e6e6;
}

.cookie-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
}

.cookie-option input {
  margin-top: 3px;
}

.cookie-small {
  font-size: 13px;
  color: #777777;
}

.cookie-manage {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 99998;
  background: #333333;
  color: #ffffff;
  border: 0;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  display: none;
}

@media (max-width: 600px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    padding: 18px;
    border-radius: 18px;
  }

  .cookie-banner h3 {
    font-size: 20px;
  }

  .cookie-banner p {
    font-size: 14px;
  }

  .cookie-actions {
    flex-direction: column;
    gap: 8px;
  }

  .cookie-btn {
    width: 100%;
    min-height: 44px;
    padding: 13px 16px;
  }

  .cookie-panel {
    max-height: 45vh;
    overflow-y: auto;
  }

  .cookie-manage {
    left: 10px;
    bottom: max(10px, env(safe-area-inset-bottom));
  }
}

@supports (-webkit-touch-callout: none) {
  .cookie-banner {
    bottom: max(12px, env(safe-area-inset-bottom));
  }
}
.cookie-banner input[type="checkbox"] {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  padding: 0 !important;
  margin: 3px 0 0 0 !important;
  border-radius: 6px !important;
  appearance: auto !important;
  -webkit-appearance: checkbox !important;
  box-shadow: none !important;
}

.cookie-option {
  display: grid !important;
  grid-template-columns: 26px 1fr !important;
  align-items: start !important;
  gap: 12px !important;
}

.cookie-option span {
  display: block;
}

.cookie-panel {
  display: none;
  max-height: 38vh;
  overflow-y: auto;
}

@media (max-width: 600px) {
  .cookie-banner {
    top: auto;
    left: 12px;
    right: 12px;
    bottom: max(12px, env(safe-area-inset-bottom));
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    padding: 18px;
  }

  .cookie-banner h3 {
    font-size: 20px;
    line-height: 1.2;
  }

  .cookie-banner p {
    font-size: 14px;
    line-height: 1.45;
  }

  .cookie-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .cookie-btn {
    width: 100%;
    min-height: 48px;
  }

  .cookie-panel {
    max-height: 42vh;
    overflow-y: auto;
  }
}