/* ---------------------------------------------
   DiPStrategy -- Cookie Consent Banner
   style/cookie.css
   --------------------------------------------- */

.cookie-banner {
  position: fixed;
  bottom: 32px;
  left: 32px;
  width: 25%;
  min-width: 280px;
  z-index: 9999;
  background: rgba(4, 23, 46, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-inner {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-text {
  font-family: 'Barlow', sans-serif;
  font-weight: 300;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
  flex: 1;
}

.cookie-text strong {
  font-weight: 500;
  color: #fff;
}

.cookie-link {
  color: #DEFF2D;
  text-decoration: none;
}

.cookie-link:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: 999px;
  padding: 10px 24px;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  white-space: nowrap;
}

.cookie-btn--accept {
  background: #DEFF2D;
  color: #04172e;
}

.cookie-btn--accept:hover {
  background: #f0ff50;
  transform: translateY(-1px);
}

.cookie-btn--decline {
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.6);
}

.cookie-btn--decline:hover {
  background: rgba(255,255,255,0.14);
  color: #fff;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    min-width: 0;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
    text-align: center;
  }
}
