html,
body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: #1A1A1B;
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 25px 40px;
  text-align: left;
  z-index: 9999;
  display: none;
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.5);
  border-top: 1px solid #333;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  margin: 0;
}

#cookie-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #FD7A02, transparent);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  min-width: 300px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

.cookie-text strong {
  color: #FD7A02;
}

.cookie-text a {
  color: #FD7A02 !important;
  text-decoration: underline;
  font-weight: 600;
}

.cookie-text a:hover {
  color: #e66a00 !important;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.btn-magenta {
  background: linear-gradient(135deg, #C71585, #DB7093);
  color: white;
  box-shadow: 0 4px 15px rgba(199, 21, 133, 0.4);
}

.btn-magenta:hover {
  background: linear-gradient(135deg, #B222A0, #C71585);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 21, 133, 0.5);
}

.btn-laranja {
  background: #FD7A02;
  color: white;
  box-shadow: 0 4px 15px rgba(253, 122, 2, 0.4);
}

.btn-laranja:hover {
  background: #e66a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 122, 2, 0.5);
}

@media (max-width: 768px) {

  #cookie-banner {
    padding: 20px 20px;
    text-align: center;
  }

  .cookie-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .cookie-text {
    min-width: auto;
    max-width: 100%;
  }

  .cookie-buttons {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    min-width: 120px;
  }
}

#cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
}

#cookie-modal {
  background: #fff;
  width: 100%;
  max-width: 820px;
  border-radius: 10px;
  padding: 28px;
  position: relative;
  font-family: Arial, sans-serif;
}

#cookie-modal h2 {
  margin: 0 0 8px 0;
}

#cookie-modal p {
  margin: 0 0 14px 0;
  line-height: 1.45;
  color: #333;
}

.cookie-meta {
  background: #f7f7f7;
  border: 1px solid #eee;
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  color: #444;
  margin-bottom: 16px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
  gap: 16px;
}

.cookie-option small {
  color: #555;
  display: block;
  margin-top: 4px;
  line-height: 1.35;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

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

.slider {
  position: absolute;
  inset: 0;
  background: #ccc;
  border-radius: 24px;
  transition: .3s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: white;
  border-radius: 50%;
  transition: .3s;
}

input:checked+.slider {
  background: #FD7A02;
}

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

.modal-footer {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn-save {
  background: #FD7A02;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.btn-policy {
  background: #C71585;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.btn-ghost {
  background: #444;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 700;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  font-size: 18px;
  color: #444;
}

