.gmc-popup-open {
  overflow: hidden;
}

.gmc-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(16, 24, 32, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: gmc-popup-fade 0.18s ease;
}

.gmc-popup-backdrop[hidden] {
  display: none !important;
}

.gmc-popup {
  width: min(440px, 100%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 20px 42px rgba(16, 24, 32, 0.24);
  padding: 22px 18px 16px;
  position: relative;
  animation: gmc-popup-rise 0.2s ease;
}

.gmc-popup-backdrop.is-success .gmc-popup {
  border-color: rgba(30, 126, 70, 0.35);
}

.gmc-popup-backdrop.is-error .gmc-popup {
  border-color: rgba(180, 35, 24, 0.35);
}

.gmc-popup-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 28px;
  height: 28px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #101820;
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
}

.gmc-popup-title {
  margin: 0 28px 10px 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #101820;
}

.gmc-popup-backdrop.is-success .gmc-popup-title {
  color: #1e7e46;
}

.gmc-popup-backdrop.is-error .gmc-popup-title {
  color: #b42318;
}

.gmc-popup-text {
  margin: 0;
  color: #585858;
  line-height: 1.6;
  font-size: 15px;
}

.gmc-popup-actions {
  margin-top: 18px;
  display: flex;
  justify-content: flex-end;
}

.gmc-popup-btn {
  min-width: 104px;
  min-height: 42px;
  border: 0;
  border-radius: 9px;
  background: #101820;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gmc-popup-btn:hover {
  background: #c89038;
  color: #101820;
}

@keyframes gmc-popup-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes gmc-popup-rise {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
