/* news/components/CookieConsent.vue */

/* ============================================
   OVERLAY
   ============================================ */
.cookie-overlay[data-v-06ae50b1] {
  position: fixed;
  z-index: 99999;
  bottom: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 32px;
  pointer-events: auto;
}
.cookie-card[data-v-06ae50b1] {
  pointer-events: auto;
  position: relative;
  width: 280px;
  background: #FFFFFF;
  border: 1px solid #EDE8E0;
  border-radius: 16px;
  padding: 28px 24px 22px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.06),
    0 12px 48px rgba(0, 0, 0, 0.08),
    0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  overflow: hidden;
}
.cookie-card[data-v-06ae50b1]::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(234, 133, 32, 0.03) 0%,
    transparent 50%,
    rgba(234, 133, 32, 0.02) 100%
  );
  pointer-events: none;
}
.cookie-card[data-v-06ae50b1]:hover {
  box-shadow:
    0 8px 28px rgba(0, 0, 0, 0.08),
    0 20px 60px rgba(0, 0, 0, 0.10),
    0 2px 6px rgba(0, 0, 0, 0.05);
}

/* ============================================
   ACCENT BAR
   ============================================ */
.cookie-accent[data-v-06ae50b1] {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: linear-gradient(90deg, #EA8520, #F59E0B, #EA8520);
  border-radius: 0 0 2px 2px;
  opacity: 0.7;
}
.cookie-card:hover .cookie-accent[data-v-06ae50b1] {
  opacity: 1;
}

/* ============================================
   ICON
   ============================================ */
.cookie-icon-section[data-v-06ae50b1] {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}
.cookie-icon-ring[data-v-06ae50b1] {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #FFF7ED, #FFEDD5);
  border-radius: 50%;
  border: 1px solid rgba(234, 133, 32, 0.15);
  position: relative;
}
.cookie-icon-ring[data-v-06ae50b1]::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(234, 133, 32, 0.08) 120deg, transparent 240deg);
  pointer-events: none;
}
.cookie-svg[data-v-06ae50b1] {
  position: relative;
  z-index: 1;
}

/* Chip pulse animations — ограниченное число итераций (было infinite).
   После появления баннера анимация какое-то время играет и останавливается
   в состоянии покоя (opacity:1/scale:1), переставая гонять основной поток
   и композитор постоянно, пока баннер виден. Визуально вход не меняется. */
.chip[data-v-06ae50b1] {
  animation: chipPulse-06ae50b1 2s ease-in-out 3 both;
  transform-origin: center;
}
.chip-1[data-v-06ae50b1] { animation-delay: 0s;
}
.chip-2[data-v-06ae50b1] { animation-delay: 0.3s;
}
.chip-3[data-v-06ae50b1] { animation-delay: 0.6s;
}
.chip-4[data-v-06ae50b1] { animation-delay: 0.9s;
}
.chip-5[data-v-06ae50b1] { animation-delay: 1.2s;
}
@keyframes chipPulse-06ae50b1 {
0%, 100% { opacity: 1; transform: scale(1);
}
50% { opacity: 0.7; transform: scale(0.85);
}
}

/* Floating crumbs — тоже конечное число итераций, чтобы после входа
   баннера декорация останавливалась и не нагружала основной поток. */
.crumb[data-v-06ae50b1] {
  animation: crumbFloat-06ae50b1 3s ease-in-out 2 both;
}
.crumb-1[data-v-06ae50b1] { animation-delay: 0.2s;
}
.crumb-2[data-v-06ae50b1] { animation-delay: 0.8s;
}
.crumb-3[data-v-06ae50b1] { animation-delay: 1.4s;
}
@keyframes crumbFloat-06ae50b1 {
0%, 100% { opacity: 0.4; transform: translateY(0);
}
50% { opacity: 0.7; transform: translateY(-2px);
}
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.cookie-heading[data-v-06ae50b1] {
  margin: 0 0 6px;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-size: 16px;
  font-weight: 700;
  color: #1A1A1A;
  text-align: center;
  letter-spacing: 0.01em;
}
.cookie-text[data-v-06ae50b1] {
  margin: 0 0 18px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6B7280;
  text-align: center;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* ============================================
   BUTTONS
   ============================================ */
.cookie-actions[data-v-06ae50b1] {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cookie-btn[data-v-06ae50b1] {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  font-size: 12.5px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  outline: none;
}

/* Primary */
.cookie-btn-primary[data-v-06ae50b1] {
  background: #EA8520;
  color: #FFFFFF;
  box-shadow: 0 2px 8px rgba(234, 133, 32, 0.2);
}
.cookie-btn-primary[data-v-06ae50b1]:hover {
  background: #D47614;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(234, 133, 32, 0.3);
}
.cookie-btn-primary[data-v-06ae50b1]:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(234, 133, 32, 0.2);
}
.btn-chevron[data-v-06ae50b1] {
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-btn-primary:hover .btn-chevron[data-v-06ae50b1] {
  transform: translateX(2px);
}

/* Ghost / reject */
.cookie-btn-ghost[data-v-06ae50b1] {
  background: transparent;
  color: #9CA3AF;
  padding: 8px 16px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: 8px;
}
.cookie-btn-ghost[data-v-06ae50b1]::after {
  content: '';
  position: absolute;
  bottom: 5px;
  left: 50%;
  width: 0;
  height: 1px;
  background: #D1D5DB;
  transition: all 0.3s cubic-bezier(0.22, 0.61, 0.36, 1);
  transform: translateX(-50%);
}
.cookie-btn-ghost[data-v-06ae50b1]:hover {
  color: #6B7280;
}
.cookie-btn-ghost[data-v-06ae50b1]:hover::after {
  width: 60%;
}

/* ============================================
   TRANSITIONS
   ============================================ */
.cookie-premium-enter-active[data-v-06ae50b1] {
  transition: all 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.cookie-premium-leave-active[data-v-06ae50b1] {
  transition: all 0.3s ease;
}
.cookie-premium-enter-from[data-v-06ae50b1] {
  opacity: 0;
  transform: translateY(20px) scale(0.94);
}
.cookie-premium-leave-to[data-v-06ae50b1] {
  opacity: 0;
  transform: translateY(12px) scale(0.97);
}

/* ============================================
   MOBILE (≤ 640px)
   ============================================ */
@media (max-width: 640px) {
.cookie-overlay[data-v-06ae50b1] {
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.cookie-card[data-v-06ae50b1] {
    width: 100%;
    max-width: 340px;
    padding: 24px 20px 18px;
    border-radius: 14px;
}
.cookie-icon-ring[data-v-06ae50b1] {
    width: 46px;
    height: 46px;
}
.cookie-svg[data-v-06ae50b1] {
    width: 22px;
    height: 22px;
}
.cookie-heading[data-v-06ae50b1] {
    font-size: 15px;
}
.cookie-text[data-v-06ae50b1] {
    font-size: 12px;
}
.cookie-accent[data-v-06ae50b1] {
    left: 20px;
    right: 20px;
}
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
.chip[data-v-06ae50b1],
  .crumb[data-v-06ae50b1] {
    animation: none;
}
.cookie-premium-enter-active[data-v-06ae50b1],
  .cookie-premium-leave-active[data-v-06ae50b1] {
    transition: opacity 0.2s ease;
}
.cookie-premium-enter-from[data-v-06ae50b1] {
    opacity: 0;
    transform: none;
    filter: none;
}
.cookie-premium-leave-to[data-v-06ae50b1] {
    opacity: 0;
    transform: none;
    filter: none;
}
}

