.site-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 99999;
}

.site-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.site-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}

.site-modal-card {
  position: relative;
  width: min(100%, 420px);
  padding: 32px 28px 24px;
  border-radius: 16px;
  background: #161b22;
  border: 1px solid #30363d;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  text-align: center;
  z-index: 1;
}

.site-modal-status {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.site-modal-status.success {
  background: rgba(63, 185, 80, 0.15);
  color: #3fb950;
}

.site-modal-status.error {
  background: rgba(230, 57, 70, 0.15);
  color: #e63946;
}

.site-modal-title {
  margin: 0 0 10px;
  color: #e6edf3;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-modal-text {
  margin: 0;
  color: #8b949e;
  font-size: 0.95rem;
  line-height: 1.6;
}

.site-modal-actions {
  margin-top: 22px;
}

.site-modal-button {
  min-width: 160px;
  border: 0;
  border-radius: 6px;
  padding: 12px 24px;
  background: #e63946;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.site-modal-button:hover,
.site-modal-button:focus {
  background: #ff4d5a;
}
