.modal-overlay {
  position: fixed;
  animation: fadeIn 0.3s ease-out;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-window {
  display: flex;
  flex-direction: column;
  gap: 30px;
  justify-content: center;
  background-color: white;
  animation: scaleIn 0.3s ease-out;
  padding: 30px 60px;
  border-radius: 4px;
  max-width: 920px;
  width: 90%;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  position: relative;
}

.modal-window.pd60 {
  padding: 60px;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background-color: transparent;
  color: #000;
  border: 0;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.modal-close:hover {
  background-color: rgba(20, 130, 250, 0.15);
}

.modal-window-icon {
  display: flex;
  justify-content: center;
  position: relative;
}

.modal-window h2 {
  color: var(--text-color);
  font-size: 48px;
  line-height: 1;
  font-weight: 600;
  margin: 0;
}

.modal-window-row {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 10px;
}

.modal-window-row span {
  font-size: 20px;
  line-height: 1;
  color: rgba(0, 10, 23, 0.5);
}

.modal-window-row span:nth-child(2) {
  color: var(--text-color);
  font-weight: 600;
}

.modal-window .modal-actions .button {
  width: 100%;
}

.modal-window p {
  color: var(--text-color);
  font-size: 20px;
  font-weight: 600;
}

