.close {
  position: absolute;
  top: 10px;
  right: 15px;
  color: #888;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.45);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  text-align: center;
  background-color: #fff;
  margin: auto;
  border-radius: 8px;
  padding: 20px 25px;
  width: 400px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 0.25s ease;
}

.close:hover {
  color: #000;
}

/*/////////////////////////////////////*/
.modal-accept-btn,
.modal-cancel-btn {
  padding: 8px 14px;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.15s ease;
  color: white;
}

.modal-accept-btn {
  background-color: #1976d2;
}

.modal-accept-btn:hover:not(:disabled) {
  background-color: #1565c0;
}

.modal-accept-btn:disabled {
  background-color: #b0bec5;
  cursor: not-allowed;
}

.modal-cancel-btn {
  background-color: #e57373;
}

.modal-cancel-btn:hover {
  background-color: #c62828;
}
/*/////////////////////////////////*/



.modal-content.wide {
  width: 500px;
}

.modal-title {
  margin-bottom: 15px;
}

.modal-title .main-title {
  text-align: center;
  color: #1565c0;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 6px;
}

.modal-title .sub-title {
  text-align: left;
  color: #000;
  font-size: 14px;
  line-height: 1.4;
}
