.apl4-feedback-popup {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: transparent;
}

.apl4-feedback-popup[hidden] {
  display: none !important;
}

.apl4-feedback-popup::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

.apl4-feedback-popup.apl4-feedback-popup--stacked::before {
  background: rgba(0, 0, 0, 0.58);
}

.apl4-feedback-popup__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 520px);
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  isolation: isolate;
}

.apl4-feedback-popup__header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 20px;
  border-bottom: 1px solid #eef1f4;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.apl4-feedback-popup__title {
  flex: 1;
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #253046;
  line-height: 1.35;
}

.apl4-feedback-popup__info {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #cfe9d5;
  background: #e9f7ee;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
  line-height: 1;
}

.apl4-feedback-popup__info:hover {
  background: #dff3e6;
}

.apl4-feedback-popup__body {
  padding: 20px 22px 8px;
  background: #ffffff;
}

.apl4-feedback-popup__message {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
}

.apl4-feedback-popup__details {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #f6faf7;
  border: 1px solid #e2efe5;
  color: #36524a;
  font-size: 14px;
  line-height: 1.55;
}

.apl4-feedback-popup__details[hidden] {
  display: none !important;
}

.apl4-feedback-popup__footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f3f5;
  background: #fcfcfd;
}

.apl4-feedback-popup__footer[hidden] {
  display: none !important;
}

.apl4-feedback-popup__panel--success .apl4-feedback-popup__title {
  color: #1b5e20;
}
