/* EDIT MODAL */
.backdrop {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);  
  overflow-y: scroll;
}

.open {
  display: flex !important;
}

.modal-animation {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.modal-add {
  opacity: 0;
  transform: translateY(-5rem);
  transition: opacity 400ms ease-out, transform 400ms ease-out; 
  z-index: 200;
  width: 560px;
  background-color: #fff;
  box-shadow: 0 1px 7px 0 rgba(52, 52, 52, 0.54);
}

.modal-add__container {
  margin: 20px;
}

.modal-add__header {
  display: flex;
  margin-bottom: 40px;
}

.modal-add__header-edit-icon {
  width: 40px;
  height: 40px;
}

.modal-add-header-close-icon {
  margin-top: 6px;
  width: 14px;
  height: 14px;
  margin-left: 161px;
  cursor: pointer;
}

.modal-add__header-title {
  width: 280px;
  font-size: 14px;
  font-weight: bold;
  margin-left: 20px;
  align-self: center;
}

.modal-add__form-title {
  margin: 0 0 6px 20px;
}

.modal-add__form-input--name {
  margin-bottom: 20px;
}

.modal-add__form-input--identifier {
  margin-bottom: 12px;
}

.modal-add__form-input {
  width: 518px;
  height: 48px;
  border: 1.7px solid #4f4f4f;
  padding: 14px 0 12px 20px;
}

.modal-add__form-input-sm {
  width: 249px;
  height: 48px;
}

.modal-add__error-msg {
  color: #ff0000;
  padding-left: 20px;
  margin-bottom: 6px;
}

.modal-add__btn-container {
  text-align: right;
}

.modal-add__btn {
  width: 172px;
  height: 48px;
  background-color: #E17800;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.modal-add__btn:hover,
.modal-add__btn:active {
  background-color: #464d5f;
}

.modal-add__form-dates {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

/* DELETE MODAL */

.backdrop-for-delete {
  position: fixed;
  display: none;
  justify-content: center;
  align-items: center;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
}

.modal-delete {
  position: fixed;
  opacity: 0;
  transform: translateY(-5rem);
  transition: opacity 400ms ease-out, transform 400ms ease-out; 
  z-index: 200;
  top: 32.5%;
  width: 560px;
  background-color: #fff;
  box-shadow: 0 1px 7px 0 rgba(52, 52, 52, 0.54);
}

.modal-delete__header {
  display: flex;
  margin-bottom: 20px;
}

.modal-delete__title {
  font-size: 14px;
  margin-bottom: 80px;
}

.modal-delete__form {
  text-align: right;
}

.modal-delete__form-reject {
  margin-right: 17px;
  width: 172px;
  height: 48px;
  border: 1.7px solid #E17800;
  background-color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
}

.modal-delete__form-reject:hover,
.modal-delete__form-reject:active {
  background-color: #E17800;
  color: #fff;
}

.modal-delete__form-accept {
  width: 172px;
  height: 48px;
  font-size: 14px;
  font-weight: bold;
  background-color: #ff2424;
  border: none;
  color: #fff;
  cursor: pointer;
}

.modal-delete__form-accept:hover,
.modal-delete__form-accept:hover {
  background-color: #b20101;
}

