@import "./Variables.scss";

.modal-overlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 200000;
  background-color: $modal_overlay_bg;
}

.file-popup {
  position: absolute;
  outline: none;
  padding: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 14px;
  width: 240px;
  line-height: 14px !important;
  -webkit-box-shadow: $pickfile_shadow;
  -moz-box-shadow: $pickfile_shadow;
  box-shadow: $pickfile_shadow;
  border: $pickfile_border;
  background-color: $pickfile_bg;

  .file-popup-label {
    outline: 0;
    border: 1px solid $pickfile_label_bg;
    color: $pickfile_label_fg;
    line-height: 18px;
    margin-bottom: 5px;
    margin-top: 4px;
    padding: 5px 0;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: $pickfile_label_bg;
  }

  .file-popup-btn {
    position: relative;
    width: 220px;
    border: $pickfile_btn_border;
    padding: 25px 40px;
    margin-top: 10px;
    text-align: center;
    overflow: hidden;
    color: $pickfile_fg;
    font-weight: 600;
    cursor: pointer;

    &:hover {
      background-color: $pickfile_btn_hover_bg;
      color: $pickfile_btn_hover_fg;
    }
  }
}
