/* Bottom cookie consent modal (green theme) */
.cc-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.25); /* lighter overlay */
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);

  /* ✅ Push modal to bottom */
  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 16px;
  z-index: 9999;
}

.cc-modal {
  width: min(760px, 100%);
  background: #ffffff;
  border: 1px solid rgba(34, 197, 94, 0.25); /* green border */
  border-radius: 16px;
  box-shadow: 0 18px 60px rgba(2, 6, 23, 0.25);
  padding: 16px 16px 14px;
  margin-bottom: 10px; /* little gap from bottom */
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Optional: make it feel like a bottom "sheet" on mobile */
@media (max-width: 480px) {
  .cc-backdrop {
    padding: 0;
  }

  .cc-modal {
    border-radius: 16px 16px 0 0;
    margin-bottom: 0;
    width: 100%;
  }
}

.cc-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.cc-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;

  /* ✅ green tint */
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.22);
  font-size: 20px;
  line-height: 1;
  flex: 0 0 auto;
}

.cc-title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #052e16; /* deep green-ish */
  font-weight: 800;
}

.cc-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #334155;
}

.cc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(34, 197, 94, 0.18);
}

.cc-link {
  font-size: 13px;
  color: #16a34a; /* green link */
  text-decoration: none;
}
.cc-link:hover {
  text-decoration: underline;
}

.cc-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

/* Make Bootstrap primary button green (only inside the cookie modal) */
.cc-modal .btn-primary {
  background-color: #16a34a;
  border-color: #16a34a;
}
.cc-modal .btn-primary:hover {
  background-color: #15803d;
  border-color: #15803d;
}

/* Optional: match outline button to green tone */
.cc-modal .btn-outline-secondary {
  border-color: rgba(22, 163, 74, 0.35);
  color: #14532d;
}
.cc-modal .btn-outline-secondary:hover {
  background: rgba(22, 163, 74, 0.10);
  border-color: rgba(22, 163, 74, 0.45);
}