/* IL Cookie Notice Popup Styles */
.il-cookie-root {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 99990;
  width: min(460px, calc(100vw - 28px));
  font-family: 'Heebo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  direction: rtl;
  animation: ilCookieSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes ilCookieSlideIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.il-cookie-card {
  background: #ffffff;
  color: #0f172a;
  border-radius: 20px;
  border: 1px solid #cbd5e1;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2), 0 4px 12px rgba(15, 23, 42, 0.08);
  padding: 22px;
}

.il-cookie-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.il-cookie-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #edf3fe;
  color: #1558d6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.il-cookie-title {
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.il-cookie-desc {
  margin: 0 0 16px;
  font-size: 0.89rem;
  line-height: 1.62;
  color: #334155;
}

.il-cookie-prefs {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.il-cookie-prefs[hidden] {
  display: none !important;
}

.il-cookie-pref-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}

.il-cookie-pref-row strong {
  display: block;
  font-size: 0.84rem;
  color: #0f172a;
}

.il-cookie-pref-row small {
  display: block;
  font-size: 0.76rem;
  color: #64748b;
}

.il-cookie-pref-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #1558d6;
  flex-shrink: 0;
}

.il-cookie-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.il-cookie-btn {
  border-radius: 999px;
  padding: 9px 18px;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.il-cookie-btn-primary {
  background: #1558d6;
  border: 1px solid #1558d6;
  color: #ffffff;
  flex: 1 1 auto;
}

.il-cookie-btn-primary:hover {
  background: #0b46b5;
  border-color: #0b46b5;
}

.il-cookie-btn-secondary {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #1e293b;
}

.il-cookie-btn-secondary:hover {
  background: #e2e8f0;
}

.il-cookie-btn-ghost {
  background: transparent;
  border: 1px solid transparent;
  color: #475569;
  padding-inline: 12px;
}

.il-cookie-btn-ghost:hover {
  color: #1558d6;
  background: #edf3fe;
}

@media (max-width: 600px) {
  .il-cookie-root {
    right: 14px;
    left: 14px;
    bottom: 14px;
    width: auto;
  }
}
