/* =============================================
   Cookie Consent — cookie-consent.css
   Drop this link tag on every page:
   <link rel="stylesheet" href="cookie-consent.css">
   ============================================= */

#cc-tab {
  position: fixed;
  bottom: 28px;
  right: 24px;
  left: auto;
  transform: none;
  background: #1a2744;
  border-radius: 24px;
  padding: 9px 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  border: none;
  outline: none;
  z-index: 9998;
  white-space: nowrap;
  transition: padding 0.25s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.18);
}

#cc-tab .cc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #4fa3e0;
  flex-shrink: 0;
  transition: background 0.2s;
}

#cc-tab .cc-label {
  font-size: 13px;
  font-weight: 500;
  color: #ffffff;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-width 0.25s ease, opacity 0.2s ease;
  font-family: inherit;
}

#cc-tab:hover .cc-label {
  max-width: 160px;
  opacity: 1;
}

#cc-tab:hover .cc-dot {
  background: #e94e8c;
}

/* Popup */
#cc-popup {
  position: fixed;
  bottom: 78px;
  right: 24px;
  left: auto;
  transform: scale(0.95);
  transform-origin: bottom right;
  background: #1a2744;
  border-radius: 16px;
  width: 340px;
  max-width: calc(100vw - 32px);
  padding: 24px 24px 18px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 9999;
  color: #ffffff;
  box-shadow: 0 8px 40px rgba(0,0,0,0.28);
  font-family: inherit;
}

#cc-popup.cc-open {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

#cc-popup .cc-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

#cc-popup .cc-title {
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

#cc-popup .cc-body {
  font-size: 12.5px;
  color: rgba(255,255,255,0.68);
  line-height: 1.65;
  margin-bottom: 14px;
}

#cc-popup .cc-status {
  font-size: 12px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

#cc-popup .cc-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

#cc-popup .cc-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

#cc-popup .cc-btn-accept {
  background: #e94e8c;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  flex: 1;
  transition: opacity 0.15s;
  font-family: inherit;
}

#cc-popup .cc-btn-accept:hover { opacity: 0.88; }

#cc-popup .cc-btn-decline {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 8px;
  padding: 9px 0;
  font-size: 13px;
  cursor: pointer;
  flex: 1;
  transition: border-color 0.15s;
  font-family: inherit;
}

#cc-popup .cc-btn-decline:hover { border-color: rgba(255,255,255,0.6); }

#cc-popup .cc-links {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

#cc-popup .cc-links a {
  font-size: 11.5px;
  color: #e94e8c;
  text-decoration: none;
  cursor: pointer;
}

#cc-popup .cc-links a:hover { text-decoration: underline; }
