/* AEM Labs Limited - CSS Module: Cookie Prompt */
/* ============================================ */

.cookie-prompt-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-prompt-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cookie-prompt-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 420px;
  max-width: calc(100vw - 60px);
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}

.cookie-prompt-container.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cookie-prompt-content {
  padding: 24px;
}

.cookie-prompt-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
  line-height: 1.3;
  margin-bottom: 12px;
}

.cookie-prompt-body {
  margin-top: 8px;
}

.cookie-prompt-description {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.6;
  color: #555;
  margin: 0 0 20px 0;
}

.cookie-prompt-description a {
    font-weight: 600;
}

.cookie-prompt-description a:hover {
    text-decoration: underline;
}

.cookie-prompt-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-btn {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

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

.cookie-btn-accept:hover {
  background: #333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cookie-btn-essential {
  background: #f5f5f5;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
}

.cookie-btn-essential:hover {
  background: #e8e8e8;
  border-color: #d0d0d0;
}

@media (max-width: 480px) {
  .cookie-prompt-container {
    left: 50%;
    right: auto;
    transform: translate(-50%, 20px);
    width: 95%;
    max-width: 95%;
    bottom: 20px;
  }

  .cookie-prompt-container.active {
    transform: translate(-50%, 0);
  }

  .cookie-prompt-title {
    font-size: 20px;
  }

  .cookie-prompt-description {
    font-size: 14px;
  }

  .cookie-btn {
    font-size: 13px;
  }
}