/* ============================================
   COOKIE CONSENT MODAL
   ============================================ */

#cookie-banner {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#cookie-banner.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  box-shadow:
    0 32px 80px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(15, 23, 42, 0.04);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}

#cookie-banner.is-visible .cookie-modal {
  transform: translateY(0) scale(1);
}

.cookie-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.25rem;
}

.cookie-modal-badge::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #3b82f6;
  flex-shrink: 0;
}

.cookie-modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.cookie-modal-text {
  font-size: 0.9rem;
  color: #64748b;
  line-height: 1.72;
  margin-bottom: 2rem;
}

.cookie-modal-text a {
  color: #3b82f6;
  text-decoration: underline;
}

.cookie-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.btn-cookie-accept {
  width: 100%;
  padding: 14px 24px;
  background: #3b82f6;
  color: white;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
  transition: background 0.15s, box-shadow 0.15s;
}

.btn-cookie-accept:hover {
  background: #2563eb;
  box-shadow: 0 10px 28px rgba(59, 130, 246, 0.4);
}

.btn-cookie-decline {
  width: 100%;
  padding: 13px 24px;
  background: transparent;
  color: #64748b;
  border: 1.5px solid #e2e8f0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-cookie-decline:hover {
  background: #f8fafc;
  color: #0f172a;
  border-color: #cbd5e1;
}

.cookie-modal-more {
  margin-top: 1.1rem;
  text-align: center;
}

.cookie-modal-more a {
  font-size: 0.8rem;
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s;
}

.cookie-modal-more a:hover {
  color: #3b82f6;
}

@media (max-width: 480px) {
  .cookie-modal {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .cookie-modal-title {
    font-size: 1.25rem;
  }
}
