/*MODAL SHEET */

.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); 
  z-index: 1000; 
}

.modal {
  display: none;
  padding: 24px;
  position: fixed;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  z-index: 1001;
  background-color: whitesmoke;
  border-radius: 4px;
}

.modal-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 24px;
  margin-bottom: 24px;
}

.modal-inputs_input {
  padding: 8px;
}

.close-modal_flex {
  display: flex;
  justify-content: end;
  align-items: center;
}

.close-modal {
  background: none;
  border: none;
  margin-bottom: 24px;
  text-align: end;
}

.close-modal_img {
  height: 16px;
}

.modal-title {
  margin-bottom: 24px;
}

.modal-machine-name {
  margin-bottom: 24px;
  font-size: 20px;
}

.modal button {
  width: 100%;
}

@media only screen and (max-width: 1100px) {
  .modal-inputs {
    display: grid;
    grid-template-columns: 1fr;
    column-gap: var(--grid-gap);
    row-gap: var(--grid-gap);
    margin-bottom: 24px;
  }

  .modal {
    display: none;
    padding: 20px;
    position: fixed;
    top: 5%;
    left: 5%;
    right: 5%;
    bottom: 5%;
    z-index: 1001;
  }
  
}