/* Cookie Consent - Super Sales dark theme */

#ss-cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #0f1530;
  border-top: 1px solid rgba(103, 89, 255, .4);
  padding: 16px 24px;
  box-shadow: 0 -8px 32px rgba(0,0,0,.4);
}

.ss-banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.ss-banner-text {
  color: #a9b0c6;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.ss-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.ss-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}

.ss-btn-primary {
  background: linear-gradient(135deg, #6759ff, #8a7bff);
  color: white;
  box-shadow: 0 6px 20px rgba(103, 89, 255, .45);
}
.ss-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 28px rgba(103, 89, 255, .5); }

.ss-btn-ghost {
  background: transparent;
  color: #f3f6ff;
  border-color: rgba(255, 255, 255, .18);
}
.ss-btn-ghost:hover { background: rgba(255, 255, 255, .06); }

.ss-link {
  color: #20e7d6;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.ss-link:hover { opacity: .8; }

#ss-cookie-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.ss-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .65);
  backdrop-filter: blur(4px);
}

.ss-modal-box {
  position: relative;
  z-index: 1;
  background: #0f1530;
  border: 1px solid rgba(103, 89, 255, .35);
  border-radius: 18px;
  padding: 32px;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .6);
}

.ss-modal-title {
  color: #f3f6ff;
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 8px;
}

.ss-modal-desc {
  color: #a9b0c6;
  font-size: 14px;
  margin: 0 0 24px;
}

.ss-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, .06);
}

.ss-toggle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.ss-toggle-label {
  color: #f3f6ff;
  font-size: 14px;
  font-weight: 600;
}

.ss-toggle-desc {
  color: #a9b0c6;
  font-size: 12px;
  line-height: 1.4;
}

.ss-toggle {
  position: relative;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .12);
  cursor: pointer;
  flex-shrink: 0;
  transition: background .2s ease;
  padding: 0;
}

.ss-toggle--on { background: linear-gradient(135deg, #6759ff, #8a7bff); }
.ss-toggle--disabled { opacity: .45; cursor: not-allowed; }

.ss-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: white;
  transition: transform .2s ease;
  display: block;
}

.ss-toggle--on .ss-toggle-thumb { transform: translateX(20px); }

.ss-btn-save {
  display: block;
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #6759ff, #8a7bff);
  color: white;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(103, 89, 255, .45);
  transition: transform .12s ease, box-shadow .2s ease;
}
.ss-btn-save:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(103, 89, 255, .5); }

#ss-cookie-btn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 9998;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(103, 89, 255, .35);
  background: #0f1530;
  color: #a9b0c6;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, .3);
  transition: color .15s ease, border-color .15s ease;
}
#ss-cookie-btn:hover { color: #f3f6ff; border-color: rgba(103, 89, 255, .6); }
.ss-cookie-icon { font-size: 14px; }

@media (max-width: 640px) {
  .ss-banner-inner { flex-direction: column; align-items: stretch; }
  .ss-banner-actions { flex-direction: column; }
  .ss-btn { width: 100%; }
  .ss-modal-box { padding: 24px 20px; }
}
