.modal {
  position: fixed;
  inset: 0;
  z-index: 999999!important;

  display: none;
  align-items: center;
  justify-content: center;

  background: rgba(0,0,0,.65);
}

.modal.is-open {
  display: flex;
}

.modal-content {
  background: #111827;
  border: 1px solid #374151;
  border-radius: 18px;

  width: 96%;
  max-width: 560px;

  padding: 0;
  box-shadow: 0 20px 45px rgba(0,0,0,.6);

  animation: modal-pop .22s ease-out;
}

@keyframes modal-pop {
  from { transform: scale(.95); opacity: .6; }
  to   { transform: scale(1); opacity: 1; }
}

.modal-header {
  padding: 14px 16px;
  border-bottom: 1px solid #1f2937;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #f9fafb;
}

.modal-close {
  cursor: pointer;
  color: #9ca3af;
  font-size: 20px;
}

.modal-close:hover {
  color: #f3f4f6;
}

.modal-body {
  padding: 16px 18px 20px;
  color: #e5e7eb;
  line-height: 1.55;
}

.modal-body ul {
  padding-left: 20px;
  margin: 10px 0 18px;
}

.modal-body li {
  margin-bottom: 6px;
}


@media (max-width: 520px) {
  .modal-content {
    width: 98%;
    border-radius: 14px;
  }
}


.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.button-row button {
  background: rgba(255,255,255,.06);
  color: #f9fafb;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;

  padding: 9px 14px;
  font-size: 14px;
  font-weight: 600;

  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}

.button-row button:hover {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.25);
}


.button-row button.first:first-child
{background: rgba(21,211,84,1);
color:black;}

.button-row button.first:first-child:hover{
  background: rgba(60,236,119,1);
  border-color: rgba(255,255,255,.25);
  scale:1.1;
}

@media (max-width: 768px) {
	.button-row button.first{
	width: 80%;
}}