/* path: assets/css/cookie-consent.css */

#cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#cookie-consent .cc-card {
  max-width: 860px;
  margin: 0 auto;
  background: rgba(15, 23, 42, 0.92);         /* slate-900 */
  color: rgba(248, 250, 252, 0.95);           /* slate-50 */
  border: 1px solid rgba(148, 163, 184, 0.22);/* slate-400 */
  border-radius: 18px;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 14px;
}

#cookie-consent .cc-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}

#cookie-consent .cc-text {
  min-width: 240px;
  flex: 1 1 520px;
}

#cookie-consent .cc-title {
  font-weight: 700;
  font-size: 13px;
  margin: 0 0 6px 0;
  color: rgba(255, 255, 255, 0.98);
}

#cookie-consent .cc-desc {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(226, 232, 240, 0.9); /* slate-200 */
}

#cookie-consent .cc-desc a {
  color: rgba(253, 186, 116, 0.95); /* orange-200 */
  text-decoration: none;
  border-bottom: 1px solid rgba(253, 186, 116, 0.35);
}
#cookie-consent .cc-desc a:hover {
  color: rgba(255, 237, 213, 0.98);
  border-bottom-color: rgba(255, 237, 213, 0.6);
}

#cookie-consent .cc-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex: 0 0 auto;
}

#cookie-consent .cc-btn {
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(2, 6, 23, 0.25);
  color: rgba(248, 250, 252, 0.95);
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

#cookie-consent .cc-btn:hover {
  transform: translateY(-1px);
  background: rgba(2, 6, 23, 0.35);
  border-color: rgba(148, 163, 184, 0.5);
}

#cookie-consent .cc-btn.cc-accept {
  border: none;
  background: #f97316; /* orange-500 */
  color: #0b1220;
}
#cookie-consent .cc-btn.cc-accept:hover {
  background: #ea580c; /* orange-600 */
}

#cookie-consent .cc-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  background: rgba(2, 6, 23, 0.25);
  color: rgba(248, 250, 252, 0.9);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}
#cookie-consent .cc-close:hover {
  background: rgba(2, 6, 23, 0.35);
  border-color: rgba(148, 163, 184, 0.45);
}

/* мобилка: кнопки на всю ширину */
@media (max-width: 520px) {
  #cookie-consent .cc-actions {
    width: 100%;
    justify-content: flex-end;
  }
  #cookie-consent .cc-btn {
    flex: 1 1 auto;
  }
}
