$ws-modal-container-z-index: 5000 !default;

.ws-modal-container {
  background-color: rgba(249, 248, 247, 0.85);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: $ws-modal-container-z-index;
  transition: 0.3s ease-out opacity;

  &.ng-enter {
    opacity: 0;

    &.ng-enter-active {
      opacity: 1;
    }
  }
}

.ws-modal {
  background-color: white;
  padding: 40px 40px 23px 40px;
  position: fixed;
  top: 50%;
  left: 50%;
  width: 50%;
  max-width: 370px;
  min-width: 370px;
  height: auto;
  z-index: $ws-modal-container-z-index + 1;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  box-shadow: 1px 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;

  .ws-modal-body-container {
    font-size: 17px;
    line-height: 1.5;
  }

  .ws-modal-checkbox-container {
    font-size: 14px;
    display: flex;
    align-items: center;

    .checkbox-fancy {
      margin-right: 15px;
    }

    .checkbox-label {
      flex: 1;
    }
  }

  .ws-modal-action-container {
    text-align: center;
    margin-top: 16px;
    margin-bottom: 16px;

    .button {
      width: 100%;
    }
  }

  .ws-modal-dismiss-container {
    text-align: center;

    a {
      cursor: pointer;
      font-size: 12px;
      text-decoration: none;
      color: #aaa;
    }
  }
}
