/* =============================================================
   Cookie Consent Banner — AI Media Wave
   Compliant with GDPR, India DPDP Act 2023
   ============================================================= */

#aimw-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #0d0d14;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  box-shadow: 0 -8px 40px rgba(0,0,0,0.45);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
  font-family: 'Roboto', sans-serif;
}

#aimw-cookie-banner.aimw-cookie-hidden {
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
}

.aimw-cookie-text {
  flex: 1;
  min-width: 220px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
}

.aimw-cookie-text strong {
  color: #fff;
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
}

.aimw-cookie-text a {
  color: #7b9cff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.aimw-cookie-text a:hover {
  color: #a8c0ff;
}

.aimw-cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

#aimw-cookie-accept {
  background: linear-gradient(135deg, #4f8cff 0%, #7b4fff 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

#aimw-cookie-accept:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

#aimw-cookie-decline {
  background: transparent;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, transform 0.15s;
  white-space: nowrap;
}

#aimw-cookie-decline:hover {
  color: rgba(255,255,255,0.85);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  #aimw-cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px 18px;
  }
  .aimw-cookie-actions {
    width: 100%;
  }
  #aimw-cookie-accept,
  #aimw-cookie-decline {
    flex: 1;
    text-align: center;
  }
}
