/* SDK Modals & Notices (Premium Deactivation Feedback) */
.KCI-feedback-wrapper {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(8, 10, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px;
}

.KCI-feedback-card {
  width: 100%;
  max-width: 460px;
  background: #13141a;
  border-radius: 18px;
  padding: 28px 30px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.07),
    0 24px 48px -12px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
  animation: KCI-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform, opacity;
}

.KCI-feedback-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(251, 146, 60, 0.07) 0%, transparent 65%);
  pointer-events: none;
}

@keyframes KCI-slide-up {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Eyebrow label */
.KCI-feedback-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #fb923c;
  margin-bottom: 10px;
}

.KCI-feedback-eyebrow::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fb923c;
}

/* Heading */
.KCI-feedback-card h2 {
  margin: 0 0 6px !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  color: #f1ece3 !important;
  letter-spacing: -0.025em !important;
  line-height: 1.2 !important;
}

/* Subtext */
.KCI-feedback-card p {
  margin: 0 0 18px !important;
  font-size: 13px !important;
  line-height: 1.55 !important;
  color: rgba(241, 236, 227, 0.4) !important;
}

/* Divider */
.KCI-feedback-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin-bottom: 16px;
}

/* Option grid */
.KCI-checkbox-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.KCI-checkbox-wrapper {
  position: relative;
}

/* Hide native checkbox */
.KCI-checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Option tile */
.KCI-checkbox-tile {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  user-select: none;
  min-height: auto;
  text-align: left;
}

.KCI-checkbox-wrapper:hover .KCI-checkbox-tile {
  background: rgba(251, 146, 60, 0.06);
  border-color: rgba(251, 146, 60, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile {
  background: rgba(251, 146, 60, 0.11);
  border-color: rgba(251, 146, 60, 0.55);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.09);
}

/* Icon container */
.KCI-checkbox-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.25s ease;
}

.KCI-checkbox-wrapper:hover .KCI-checkbox-icon {
  transform: scale(1.08);
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile .KCI-checkbox-icon {
  background: rgba(251, 146, 60, 0.18);
}

.KCI-checkbox-icon svg {
  width: 15px;
  height: 15px;
  color: rgba(241, 236, 227, 0.45);
  transition: color 0.2s ease;
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile .KCI-checkbox-icon svg {
  color: #fb923c;
}

/* Option label */
.KCI-checkbox-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(241, 236, 227, 0.55);
  line-height: 1.3;
  transition: color 0.2s ease;
  flex: 1;
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile .KCI-checkbox-label {
  color: #f1ece3;
}

/* Custom radio dot */
.KCI-checkbox-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.KCI-checkbox-dot::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile .KCI-checkbox-dot {
  background: #fb923c;
  border-color: #fb923c;
}

.KCI-checkbox-input:checked + .KCI-checkbox-tile .KCI-checkbox-dot::after {
  opacity: 1;
}

/* Textarea section */
.KCI-feedback-comments label {
  display: block;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: rgba(241, 236, 227, 0.35) !important;
  margin-bottom: 8px;
}

.KCI-feedback-comments textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
  color: rgba(241, 236, 227, 0.85);
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  min-height: 78px;
  margin-bottom: 18px;
  resize: none;
  outline: none;
  line-height: 1.55;
}

.KCI-feedback-comments textarea::placeholder {
  color: rgba(241, 236, 227, 0.2);
}

.KCI-feedback-comments textarea:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(251, 146, 60, 0.45);
  box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.08);
}

/* Actions row */
.KCI-feedback-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.KCI-feedback-actions .button {
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  transition: all 0.2s ease !important;
  border: none !important;
  cursor: pointer !important;
  letter-spacing: -0.01em !important;
}

/* Skip link */
.KCI-button-skip {
  background: transparent !important;
  color: rgba(241, 236, 227, 0.28) !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  padding: 0 !important;
  height: auto !important;
  font-size: 12px !important;
  font-weight: 400 !important;
}

.KCI-button-skip:hover {
  color: rgba(241, 236, 227, 0.55) !important;
}

/* Cancel button */
.KCI-button-cancel {
  background: rgba(255, 255, 255, 0.07) !important;
  color: rgba(241, 236, 227, 0.5) !important;
  margin-left: auto !important;
}

.KCI-button-cancel:hover {
  background: rgba(255, 255, 255, 0.11) !important;
  color: #f1ece3 !important;
}

/* Submit button */
.KCI-feedback-submit-btn {
  background: #fb923c !important;
  color: #0e0e0e !important;
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 3px 10px rgba(251, 146, 60, 0.28) !important;
}

.KCI-feedback-submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.KCI-feedback-submit-btn:hover::before {
  opacity: 1;
}

.KCI-feedback-submit-btn:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 8px 18px rgba(251, 146, 60, 0.35) !important;
}

.KCI-feedback-submit-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 6px rgba(251, 146, 60, 0.2) !important;
}