.cookie-banner-overlay {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 420px;
  z-index: 9999;
  pointer-events: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cookie-banner-box {
  pointer-events: auto;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  color: #1a1a2e;
}

.cookie-banner-content h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f2b1f;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.cookie-banner-content p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #4a5568;
  margin-bottom: 1rem;
  margin-top: 0;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cookie-btn {
  font-size: 0.85rem;
  padding: 0.6rem 1.25rem;
  border-radius: 99px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
  font-family: inherit;
}

.cookie-btn.btn-primary {
  background: #1a5c3a;
  color: #ffffff;
  border: 1px solid #1a5c3a;
}

.cookie-btn.btn-primary:hover {
  background: #153d2b;
  border-color: #153d2b;
}

.cookie-btn.btn-outline {
  background: transparent;
  color: #4a5568;
  border: 1px solid #e2e8f0;
}

.cookie-btn.btn-outline:hover {
  background: #fafbf9;
  border-color: #718096;
  color: #1a1a2e;
}

.cookie-settings-link {
  font-size: 0.85rem;
  background: none;
  border: none;
  color: #1a5c3a;
  text-decoration: underline;
  cursor: pointer;
  padding: 0.5rem 0.25rem;
  font-weight: 600;
  font-family: inherit;
}

.cookie-settings-link:hover {
  color: #153d2b;
}

/* Settings List styling */
.cookie-banner-settings-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1rem;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 1rem 0;
}

.cookie-setting-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cookie-setting-item .setting-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a2e;
}

.cookie-setting-item .setting-desc {
  font-size: 0.75rem;
  color: #718096;
  margin-left: 1.75rem;
  line-height: 1.4;
  margin-top: 0;
  margin-bottom: 0;
}

/* Custom Checkbox */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 1.75rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 18px;
  width: 18px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: #2d8a5e;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #1a5c3a;
  border-color: #1a5c3a;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 5px;
  top: 2px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Disabled/Necessary Styling */
.checkmark.disabled {
  background-color: #f3f5f1;
  border-color: #e2e8f0;
}

.checkmark.disabled:after {
  border-color: #718096;
}

.checkbox-container input:disabled ~ .checkmark {
  cursor: not-allowed;
}

/* Cookie Banner Footer links */
.cookie-banner-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: #718096;
  border-top: 1px solid #e2e8f0;
  padding-top: 0.75rem;
  margin-top: 0.25rem;
}

.cookie-banner-footer a {
  color: #718096;
  text-decoration: none;
}

.cookie-banner-footer a:hover {
  color: #1a5c3a;
  text-decoration: underline;
}

.cookie-banner-footer .divider {
  color: #e2e8f0;
}

/* Animation */
@keyframes slideUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.animate-slide-up {
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Responsive adjustments */
@media (max-width: 480px) {
  .cookie-banner-overlay {
    bottom: 0;
    right: 0;
    left: 0;
    width: 100%;
    padding: 0;
  }

  .cookie-banner-box {
    border-radius: 16px 16px 0 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    padding: 1.25rem;
  }
  
  .cookie-banner-actions {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-settings-link {
    text-align: center;
    margin-top: 0.25rem;
  }
}
