*, *::before, *::after {
  box-sizing: border-box;
}

body {
  padding: 0;
  margin: 0;
}


/** alert styles */
#alert_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 101;
}

#alert_box {
  display: none;
  position: fixed;
  right: 0;
  left: 0;
  width: 60%;
  margin: 0 auto;
  padding: .4rem;
  background-color: rgba(255, 255, 255, 0.85);
  color: black;
  border: 2px solid #065143;
  border-radius: 20px;
  z-index: 102;
}

#alert_title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

#alert_box button {
  width: 20%;
  margin: 15px;
  padding: 15px 10px;
  background-color: #fcad00;
  color: white;
  font-size: 20px;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
}

#alert_box button:hover {
  background-color: rgb(255, 145, 0);
}

#alert_body > ul {
  width: 60%;
  min-width: fit-content;
  margin: 0 auto 0 auto;
}

.label {
  font-size: 1em !important;
  font-weight: 700 !important;
}


/** progres bar styles*/
#progress-bar {
  position: relative;
  width: 80%;
  height: 2em;
  margin: 0 auto 40px auto !important;
  background-color: #065143;
  border-radius: 9999px;
}

#progress-bar::before {
  content: attr(data-label);
  display: flex;
  position: absolute;
  left: -10px;
  top: 0;
  min-width: fit-content;
  width: var(--width);
  max-width: 100%;
  height: 100%;
  padding: 0 .7em;
  align-items: center;
  background-color: #fcad00;
  color: #fff;
  border-radius: 9999px;
  z-index: 3;
}

#progress-bar-back {
  display: none;
}

/** New alerts */
.alert {
  min-width: fit-content;
  min-width: 290px;
  width: 20%;
  max-width: 400px;
  height: fit-content;
  background-color: #32AD51;
  box-sizing: border-box;
  margin: 0 auto;
  margin-top: 15px;
  border: 3px solid #065143;
  border-radius: 10px;
  padding: 10px 35px 10px 15px;
  position: relative;
  z-index: 200;
}

.alert_error {
  background-color: #BA0000;
  border: 3px solid white;
  color: white;
}

.alert_warning {
  background-color: #FCAD00;
  border: 3px solid #FF9100;
  color: white;
}

.alert_info {
  background-color: #5797DB;
  border: 3px solid #2D7DD2;
  color: white;
}

.alert_header {
  font-size: 22px;
  font-weight: 500;
  margin: 5px;
}

.alert_body {
  margin: 5px;
  font-size: 15px;
  font-weight: 300;
}

.cancel_alert {
  position: absolute;
  right: 5px;
  top: 5px;
}

.cancel_alert:hover {
  cursor: pointer;
}

.alert_img {
  font-size: 40px;
}