.myDialog-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: myDialog-fade-in 0.2s ease;
}

.myDialog-container {
  background-color: #fff;
  min-width: 260px;
  max-width: 90vw;
  padding: 20px 24px;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(15, 15, 15, 0.18);
  position: relative;
  font-family: inherit;
  color: #1a1a1a;
  animation: myDialog-pop-in 0.25s ease;
}

.myDialog-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 24px;
  line-height: 1;
}

.myDialog-icon--success {
  color: #2e7d32;
}

.myDialog-icon--error {
  color: #c62828;
}

.myDialog-icon--info {
  color: #1565c0;
}

.myDialog-title {
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 12px;
}

.myDialog-message {
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 20px;
  word-break: break-word;
}

.myDialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.myDialog-btn {
  min-width: 96px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid transparent;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.myDialog-btn--primary {
  background-color: #1976d2;
  color: #fff;
  border-color: #1976d2;
}

.myDialog-btn--primary:hover,
.myDialog-btn--primary:focus {
  background-color: #145a9c;
  border-color: #145a9c;
}

.myDialog-btn--secondary {
  background-color: #f5f5f5;
  color: #424242;
  border-color: #d9d9d9;
}

.myDialog-btn--secondary:hover,
.myDialog-btn--secondary:focus {
  background-color: #ebebeb;
  border-color: #cccccc;
}

.myDialog-close {
  position: absolute;
  right: 12px;
  top: 10px;
  background: none;
  border: none;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: #9e9e9e;
  transition: color 0.2s ease;
}

.myDialog-close:hover,
.myDialog-close:focus {
  color: #616161;
}

@keyframes myDialog-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes myDialog-pop-in {
  from {
    transform: scale(0.96);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
