.modal {
  /* display: none; */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.modal-header {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 10px;
  font-weight: 600;
}

.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 20px;
  border-radius: 5px;
  width: 80%;
  max-width: 500px;
  position: relative;
  animation: slideIn 0.3s;
  line-height: 160%;
  font-size: larger;
}

.modal-footer {
  background-color: #fff;
  padding-top: 20px;
  align-items: center;
  display: flex;
  justify-content: space-between;
}

/* .close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  right: 15px;
  top: 10px;
}

.close:hover {
  color: #000;
} */

/* Button styles */
.modal-btn-yes {
  background-color: #45a049;
  padding: 10px 20px;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.modal-btn-no {
  padding: 10px 20px;
  background-color: #de6161;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

/* .open-modal-btn {
  padding: 10px 20px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.open-modal-btn:hover {
  background-color: #45a049;
} */

.offset-top-20 {
  margin-top: 20px;
}

.modal-agreement {
  background-color: #fff;
  margin: 82px auto 10px auto;
  padding: 20px;
  border-radius: 15px;
  width: 80%;
  max-height: 80%;
  max-width: 500px;
  position: relative;
  animation: slideIn 0.3s;
  overflow: auto;
}

.modal-agreement-header {
  font-size: 16px;
  font-weight: 700;
  line-height: 26px;
  margin-bottom: 30px;
  margin-right: 35px;
  text-align: center;
}

.modal-agreement-subheader {
  font-size: 12px;
  font-weight: 700;
  line-height: 19px;
  margin-bottom: 10px;
}

.modal-agreement-paragraph {
  font-size: 12px;
  font-weight: 400;
  line-height: 19px;
  margin-bottom: 10px;
}

.close-modal-btn-bottom {
  background-color: #c7c7c7;
  padding: 10px 20px;
  color: #000000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.close-modal-btn-top {
  position: absolute;
  right: 10px;
  top: 20px;
  height: 48px;
  width: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-agreement-footer {
  background-color: #fff;
  padding-top: 20px;
  align-items: center;
  display: flex;
  justify-content: flex-end;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}
