/* ===== Cookie Consent Banner - DSGVO/GDPR ===== */

/* Overlay */
.cc-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.cc-overlay.cc-visible {
  opacity: 1;
  pointer-events: auto;
}

/* Banner */
.cc-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cc-banner.cc-visible {
  transform: translateY(0);
}

/* Inner container */
.cc-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 32px 28px;
  display: flex;
  gap: 32px;
  align-items: center;
}

/* Content */
.cc-content {
  flex: 1;
}
.cc-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f1b3d;
  margin-bottom: 8px;
  line-height: 1.3;
}
.cc-text {
  font-size: 0.9rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 8px;
}
.cc-learn-more {
  font-size: 0.85rem;
  color: #3DB4E8;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}
.cc-learn-more:hover {
  color: #2a9fd4;
}

/* Buttons */
.cc-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  min-width: 200px;
}
.cc-btn {
  display: block;
  width: 100%;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  text-align: center;
  font-family: inherit;
  line-height: 1.4;
}

/* Accept All — primary accent */
.cc-btn-accept {
  background: linear-gradient(135deg, #3DB4E8, #2a9fd4);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(61, 180, 232, 0.3);
}
.cc-btn-accept:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(61, 180, 232, 0.4);
}

/* Necessary Only — outline */
.cc-btn-necessary {
  background: transparent;
  color: #3DB4E8;
  border-color: #3DB4E8;
}
.cc-btn-necessary:hover {
  background: rgba(61, 180, 232, 0.08);
}

/* Reject All — subtle */
.cc-btn-reject {
  background: transparent;
  color: #718096;
  border-color: #e2e8f0;
}
.cc-btn-reject:hover {
  background: #f7fafc;
  border-color: #cbd5e0;
  color: #4a5568;
}

/* --- Responsive --- */
/* Floating fingerprint button */
.cc-reopen {
  position: fixed;
  bottom: 16px;
  left: 16px;
  z-index: 9990;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(15, 27, 61, 0.75);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  padding: 0;
  line-height: 1;
}
.cc-reopen:hover {
  background: rgba(15, 27, 61, 0.92);
  color: #3DB4E8;
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}
.cc-reopen.cc-hidden {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.8);
}

/* Footer link */
.cc-footer-link {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s ease;
}
.cc-footer-link:hover {
  color: #3DB4E8;
}

/* --- Responsive --- */
@media (max-width: 700px) {
  .cc-inner {
    flex-direction: column;
    padding: 24px 20px;
    gap: 20px;
  }
  .cc-actions {
    width: 100%;
    min-width: auto;
    flex-direction: column;
  }
  .cc-title {
    font-size: 1.05rem;
  }
  .cc-text {
    font-size: 0.85rem;
  }
}
