.cookie-banner.show-cookie {
  display: block;
}
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 25px;
  z-index: 99999;
  width: 100%;
  display: none;
  height: fit-content;
}
.cookie-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: 1400px;
  margin: auto;
}

.cookie-text {
  padding-right: 70px;
  position: relative;
}

.cookie-text::before {
  content: "";
  position: absolute;
  height: 87%;
  width: 1px;
  background: #cccccc;
  top: 0;
  bottom: 0;
  margin: auto;
  right: 0px;
}

.cookie-left {
  display: flex;
  gap: 20px;
  flex: 1;
}

.cookie-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #111827;
  font-weight: 700;
}
.cookie-text p {
  color: #4b5563;
  line-height: 1.4;
  margin-bottom: 15px;
}

.cookie-text a {
  color: #0d47a1;
  text-decoration: none;
  font-weight: 600;
}

.cookie-right {
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accept-btn {
  background: #003b8e;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.accept-btn:hover {
  opacity: 0.9;
}

.reject-btn {
  background: #fff;
  color: #003b8e;
  border: 1px solid #003b8e;
  padding: 16px;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
}

.cookie-right a {
  text-align: center;
  color: #003b8e;
  text-decoration: none;
  font-weight: 600;
}

.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 26px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch .slider {
  position: absolute;
  inset: 0;
  cursor: pointer;
  background: #e5e7eb;
  transition: 0.3s;
  border-radius: 30px;
}

.switch .slider:before {
  position: absolute;
  content: "";
  width: 22px;
  height: 22px;
  left: 2px;
  top: 2px;
  background: #fff;
  border-radius: 50%;
  transition: 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.switch input:checked + .slider {
  background: #1d4ed8; /* Blue when ON */
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.switch input:focus + .slider {
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.15);
}

@media (max-width: 768px) {
  .cookie-wrapper {
    flex-direction: column;
  }

  .cookie-right {
    width: 100%;
    min-width: 100%;
  }

  .cookie-text h2 {
    font-size: 24px;
  }
}

/* initcookie css */

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999999;
}

.cookie-modal.show {
  display: flex;
}

.cookie-modal-content {
  background: #fff;
  width: 800px;
  max-width: 95%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 12px;
  padding: 30px;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 30px;
  cursor: pointer;
}

.cookie-category {
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  margin-top: 20px;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cookie-modal-footer {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}
