/* Confirm Box */

#customConfirmOverlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(223, 238, 252, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customConfirmBox {
  background: white;
  padding: 20px;
  border-radius: 10px;
  width: 400px;
  min-height: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.customConfirmButtons {
  margin-top: 20px;
  text-align: right;
  user-select: none;
}

.customConfirmButtons button {
  margin-left: 10px;
  padding: 6px 12px;
  min-width: 80px;
  border: 1px solid #bfb9b9;
  border-radius: 6px;
  font-size: 1em;
  user-select: none;
}

.customConfirmButtons button:hover {
  cursor:pointer;
  background: #0e8af0;
  color: #fff;
}

#customConfirmMessage{
    padding: 15px;
    font-size: 1em;
    text-align: center;
    min-height: 80px;
}

/* ****************************************************************** */

/* Dialog Box */

#customDialogOverlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(223, 238, 252, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

#customDialogBox {
  background: white;
  border-radius: 10px;
  width: 400px;
  min-height: 250px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.customDialogButtons {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  padding: 15px;
  user-select: none;
}

.customDialogButtons button {
  margin: 15px 0;
  padding: 6px 12px;
  min-width: 80px;
  border: 1px solid #bfb9b9;
  border-radius: 6px;
  font-size: 1em;
  user-select: none;
}

.customDialogButtons button:hover {
  cursor:pointer;
  background: #0e8af0;
  color: #fff;
}

#customDialogMessage{
    padding: 15px;
    font-size: 1em;
    text-align: center;
    min-height: 80px;
}

#customDialogTitle{
    width: 100%;
    padding: 10px;
    text-align: center;
    font-size: 1.1em;
}

#customDialogTitle.info {
  background: #fff;
  color: #129ee4;
  border-bottom: 1px solid #129ee4;
}

#customDialogTitle.success {
  background: #fff;
  color: #1d7d5b;
  border-bottom: 1px solid #1d7d5b;
}

#customDialogTitle.failure {
  background: #fff;
  color: #C00000;
  border-bottom: 1px solid #C00000;
}

#customDialogTitle.wait {
  background: #fff;
  color: #0047AB;
  border-bottom: 1px solid #0047AB;
}

#customDialogTitle.warning {
  background: #fff;
  color: #ff4eb5;
  border-bottom: 1px solid #ff4eb5;
}

#customDialogTitle.reminder {
  background: #fff;
  color: #5b0743;
  border-bottom: 1px solid #5b0743;
}

#customDialogTitle i{
  font-size: 1.2em;
  margin-right: 10px;
}